Mainframe COBOL, JCL, and ISPF Quiz
Test your knowledge of mainframe technologies including COBOL programming, Job Control Language (JCL), ISPF editing, and TSO operations.
Questions
COMM is
- DOUBLE WORD BINARY
- FULL WORD BINARY
- FULL WORD
- HALF WORD BINARY
IS NUMERIC can be used with
- Alphanumeric items, signed numeric, packed decimal items, unsigned numeric & packed decimal items
- Signed numeric, packed decimal items, unsigned numeric & packed decimal items
- Signed numeric, packed decimal items & unsigned numeric
- Signed numeric & Packed decimal items
COND=EVEN?
- Means execute this step even if any of the previous steps, terminated abnormally.
- Means don’t execute this step if any of the previous steps, terminated abnormally.
- Means execute only even steps.
- Means dont execute only even steps.
How does sign stored in Zoned Decimal?
- Sign is stored as a hex value in the last nibble (4 bits ) of the storage.
- Sign is stored as a hex value in the first nibble (4 bits ) of the storage.
- Sign is over punched with the numeric value stored in the last byte.
- Sign is over punched with the numeric value stored in the first byte.
NEXT SENTENCE & CONTINUE
- Gives control to the verb following the next period & gives control to the next verb after the explicit scope terminator.
- Gives control to the next verb after the explicit scope terminator & gives control to the verb following the next period.
- Both are same.
- Control goes to the next paragraph & control goes to next section
Inorder to access a DS which had a DISP KEEP I should supply
- The DS name and DISP
- Volume Serial Number
- SPACE & LRECL
- LRECL
01 WS-N PIC 9(2) VALUE ZERO.A-PARA MOVE 5 TO WS-N. PERFORM B-PARA WS-N TIMES. B-PARA. MOVE 10 TP WS-N. How many times will B-PARA be executed ?
- Bad coding. The loop will not be executed.
- 5 times.
- 10 times.
- 15 times.
What has to be done to force program to execute above 16 Meg line?
- Link option is AMODE=24 and RMODE=ANY. Compile option should have SIZE(MAX).
- Link option is AMODE=31 and RMODE=31. Compile option should not have SIZE(MAX).
- Link option is AMODE=24 and RMODE=24. Compile option should not have SIZE(MAX).
- Link option is AMODE=31 and RMODE=ANY. Compile option should not have SIZE(MAX).
How do u skip the particular step in a proc/JCL?
- COND codes
- IF statement
- both
- Non of These
U can call an OS VS COBOL pgm from a VS COBOL II pgm in CICS environment.
- True
- False
how many times Para1 will execute in the below code? 01 ws-var pc 9(1) perform para1 varying ws-var from 1 by 1 until ws-var>10
- 10
- 11
- 9
- infinite Loop
Can justified be used for all the data types?
- True
- False
Minimum number of members in one directory block?
- 4
- 6
- 5
- 8
Consider that you are editing a file/program and you want to know the changes you have done since the last SAVE command. How to find that?
- Give CUT SESSION on the command line
- Give COMPARE SESSION on the command line
- Give LOOK SESSION on the command line
- Give FIND SESSION on the command line
Suppose you are in a ISPF Screen and want to know in which TSO Region( Development, Production, or other TSO regions) you are now . which command u will issue
- PRODSAR
- DEVSAR
- SAREA
- WHR
While trying to open any member in a PDS, we sometimes come across "member in use" message. In that situation, if you want to know who is using the member currently, press F1 twice.
- True
- False
I want to know what are the last 25 COMMAND LINE commands that I have issued from ISPF panel.Which command does that .?
- RETP
- REAPET
- REAP
- RET
When I issue CUT , I know that the CUT content are placed in a clipboard. And when I issue PASTE, the clipboard content are pasted. But how i can view/edit the clipboard ?
- Using CLIP DISPLAY.
- Using CLIPBOARD DISPLAY.
- Using COPY DISPLAY.
- Using CUT DISPLAY.
Is it possible to execute a program from any library using the referback?
- True
- False
How does the system differentiates between JCL comment statements (i.e., //* statements) and JES3 Statements (which also start with //* ) ?
- If the 4th column contains JES3 keyword, the line is considered to be JES3 statement, else it is
- System can't differentiates
- If the 3rd column contains JES3 keyword, the line is considered to be JES3 statement, else it is
- If the 1st column contains JES3 keyword, the line is considered to be JES3 statement, else it is