Mainframe Programming Quiz
Quiz covering JCL, COBOL, CICS, CA-7, DB2 SQL, and REXX mainframe technologies
Questions
What is the range of length of JOB NAME?
- 1-10
- 1-8
- 8
- 1-5
A Maximum of 256 EXEC Statements can be coded in a single job.
- True
- False
Temporary Datasets can be coded by using two ampersands followed by name.
- True
- False
VERY = VERIFY(RAMKUMAR,'JJK',M) SAY 'VERY IS : ' VERY
- 3
- 4
- 1
- 2
SAY POS('KUM',RAMAKUMAR)
- 3
- 4
- 5
- 6
SAY INSERT('RAMKUM','ORD', 10, 6)
- ORD RAMKUM
- RAMKUM ORD
- RAMORD KUM
- ORDRAM KUM
SUM = 123 D = RIGHT(LEFT(SUM,7,'0'),10,'0') SAY D
- 0000000123
- 0000123000
- 1230000000
- 0001230000
A = WORDINDEX('RAM KUMAR IS',2) B = WORDLENGTH('RAM KUMAR IS',1) SAY A || B
- 331
- 131
- 113
- 133
- //CKPTPARM DD * RMYPX555,FORCEALL=Y,CKPTABND=00002,PGMNAME=&PGM,PGMOCC=TEST The above statetment in a JCL
- takes a checkpoint after two records
- takes a check point every 2 seconds
- abends before taking the second check point
- takes a check point every 2 minutes
Load Modules of programs can be created as Sequential files
- True
- False
JCL abend code S822 pertains to
- Data Set Not found
- Space Abend
- Load module not found
- Time Out abend
SQL STATE 2000 is the same as
- SQL CODE 100
- SQL CODE -911
- SCLCODE -811
- SQLCODE -305
I can set the return code of JCL from my program
- True
- False
WS-NUM-1 PIC S9(04)MOVE -95 TO WS-NUM-1DISPLAY WS-NUM-1 What will be the display?
- 009E
- 009N
- 0095
- -0095
Data stored in TSQ can be accessed across multiple CICS regions
- True
- False
If a STOP RUN or GO BACK statement is not present in the program, the job will abend
- True
- False
What we give as system to go to CA7?
- ADTSO
- ODTSO
- ODUCC7
- ADUCC7
What is the command to display all job information for a particular job?
- LJOB,LIST=TRIG,JOB=
- LJOB,LIST=ALL ,JOB=
- LJOB,LIST=RQJOB,JOB=
- LQ,SEQ=JOB
List of all job in CA7 Queue and their status (PF Key)
- PF2
- PF4
- PF5
- PF3
What is the PF key is ued to view the schedule and calander for a job
- PF4
- PF8
- PF9
- PF10