Mainframe Programming - 2 Flashcards

1
Q

is a SECTION allowed in the procedure division?

Yes
No

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What do you enter to get into TSO?

  LOG IN 
  LOGON 
  LOGOUT 
  LOG ON 
  LOGIN
A

LOGON

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the maximum number of characters for a program name?

  6 
  7 
  8 
  9 
  10
A

8

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does a compile NOT do for us?

  finds error 
  creates a load module 
  reports on syntax errors 
  reports on logic errors 
  expands the CICS EXEC statements
A

reports on logic errors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What indicator do you use if to reconnect on TSO?

  "S" 
  "R" 
  "P" 
  "N" 
  "X"
A

ā€œSā€

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Is the IDENTIFICATION DIVISION optional in a COBOL program?

Yes
No

A

No

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What statement is used in a COBOL program to output a text or variable?

  display 
  compute 
  add 
  perform 
  output
A

display

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Where is all the logic placed in the program?

  Identification Division 
  Environment Division 
  Working-Storage 
  Data Division 
  Procedure Division
A

Procedure Division

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the purpose of the Linkage Section?

To define the variables in the program
to allow for a calling program to pass information
to aid in the monitoring process of the logic
just there to look pretty
to monitor the processing of the program

A

to allow for a calling program to pass information

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What picture do you use for a counter?

X
A
9

A

9

How well did you know this?
1
Not at all
2
3
4
5
Perfectly