This action might not be possible to undo. Are you sure you want to continue?
Document: E0006Test.fm 18/05/2009
ABIS Training & Consulting P.O. Box 220 B-3000 Leuven Belgium
TRAINING & CONSULTING
Some questions only have one answer. you will also find our recommendation concerning the JCL-course.INTRODUCTION TO THE SELF-TEST JCL This test will help you determine if you’ve obtained the objectives of the JCL-Course. Others have multiple answers. the number of expected answers is indicated. or if you would benefit from following the course. Write down your answer(s) and compare with the given solutions which you can find at the end. This will take you 15 to 20 minutes to complete. The test itself consists of 20 multiple-choice questions. In that case. 18/05/2009 Self-test JCL 2 . Depending upon your score.
When REGION=0 is coded. There can only be one JCLLIB statement per JOB. A JCLLIB statement can not have a statement name. not both. or a separate one for each EXEC statement. The COND parameter on JOB level will place the same condition on every EXEC statement. the job will not execute due to the fact that no working storage is provided. Which of the following are directly controlled by JCL statements: (2 answers) [_] [a] [_] [b] [_] [c] [_] [d] 2. 3. A JCLLIB statement must be coded before the first EXEC statement. Which of the following is true: O (a) O (b) O (c) O (d) Under no circumstances must a DD statement precede an EXEC statement.QUESTIONS SELF-TEST JCL 1. but no resources will be allocated. including the INCLUDEd JCLs and procedures. the entire job run time is limited to that amount of time. An OPERATION can be coded beyond position 72. Which of the following statements are true for parameters coded on the JOB statement: (2 answers) [_] [a] [_] [b] [_] [c] [_] [d] When TIME is added to a JOB statement. The OPERATION JOB can be coded in position 4. A JCL OPERATION must be followed and preceded by at least one blank. which will be checked in relation to the previous EXEC of this JOB. 18/05/2009 Self-test JCL 3 . The passing of job control information to the Job Entry Subsystem The addressing of input resources The performance of calculations The sending of an email to the person who submitted the job Which statements concerning the JCLLIB statement are true? (2 answers) [_] [a] [_] [b] [_] [c] [_] [d] There is either a JCLLIB statement for the entire JOB. 4. TYPRUN=SCAN means that the entire JCL script will be checked for syntax and value errors. as long as it starts before position 72.
but as soon as one of these conditions become true. With the COND parameter.GE) COND=(8. 18/05/2009 Self-test JCL 4 . but will never exceed the REGION on the JOB statement. Each step is limited to its specifically mentioned time.LE) COND=(8. must be equal to the REGION parameter on the JOB statement. What is correct? O (a) O (b) O (c) O (d) A REGION parameter on an EXEC statement. we can only check return codes. overrides the REGION parameter on the JOB statement. this COND parameter is added to all steps of the procedure.TU00001. is only taken into consideration if there is no REGION parameter on the JOB statement.6) EXEC PGM=PROGRAM2 EXEC PGM=PROGRAM3. COND=(8.TIME=(.15) Which of the following statements are true: (2 answers) [_] [a] [_] [b] [_] [c] [_] [d] Step 1 can use 6 seconds of CPU time. but the entire job can only use 10 seconds of CPU time. The COND parameter can check the return codes of multiple steps.10) EXEC PGM=PROGRAM1.LT) COND=(8. this step is not executed.TIME=(. Complete correctly: When I want a jobstep to be executed only if the previous jobstep has a return code of strictly less than 8.TIME=(.MSGCLASS=X. A REGION parameter on an EXEC statement.CLASS=7. Step 3 can use 15 seconds of CPU time. The sum of all REGION parameters on EXEC statements. When adding the COND parameter to an EXEC statement that calls a procedure.. A REGION parameter on an EXEC statement. Consider the following: //TU00001T //STEP1 //STEP2 //STEP3 JOB ATUT000. limits the space available for that step. 7. Which of the following concerning the COND parameter are true on EXEC statement level? (2 answers) [_] [a] [_] [b] [_] [c] [_] [d] The COND parameter always indicates that if its condition is met..GT) O (a) O (b) O (c) O (d) 6. Step 2 has no time limitations. the step is NOT executed. 8.5. I should add.
CLASS=7.KEEP) Some parameters have sub-parameters. (2 answers) Multiple OUTPUT statements can be coded for 1 single job step.. Given this information. What are the correct values for the DSN parameter of a temporary data set? (2 answers) [_] [a] [_] [b] [_] [c] [_] [d] &NAME&(TEMP) &&TEMP(NAME) &&NAME &NAME 10.KEEP) DISP=(.CLASS=7.’TU00001’. O (a) O (b) O (c) O (d) 11. These can be both positional or keyword sub-parameters. ATUT000 is the programmer's account number and it is a default value.) is equivalent to DISP=(OLD.CATLG) is equivalent to DISP=(OLD.PASS.CLASS=7.’(ATUT000)’.KEEP. When to use DISP=MOD? For both sequential and partitioned datasets to be extended or created.CLASS=7.KEEP) [_] [a] [_] [b] [_] [c] [_] [d] 12.PASS) is equivalent to DISP=(NEW.....TU00001. Indicate the correct answers about the OUTPUT statement.MSGCLASS=X [_] [a] [_] [b] [_] [c] [_] [d] 13. The OUTPUT statement at job level must be coded before the JOB statement. Suppose TU00001 is the programmer’s name.MSGCLASS=X //TU00001T JOB .DELETE.. Which of the following equations are correct? (2 answers) DISP=(. For all secured sequential datasets to be extended. The OUTPUT statement can be used to control the authorisation of the submitting user.9.CATLG. DISP=(.(ATUT000).. who wants to generate printed output. Only for existing datasets to be extended.KEEP) is equivalent to DISP=(NEW. which statements are correct: (2 answers) //TU00001T JOB (ATUT000.CATLG) DISP=(OLD.MSGCLASS=X //TU00001T JOB TU00001.. [_] [a] [_] [b] [_] [c] [_] [d] 18/05/2009 Self-test JCL 5 .MSGCLASS=X //TU00001T JOB (ATUT000)... The OUTPUT statement can not override the MSGCLASS parameter on the JOB statement.). Only for sequential datasets to be extended or created.
TU00001.KEEP).1)) //DD1 DD DSN=TBISUSR.DISP=(NEW.(3.DISP=(NEW.DATA4.GDG(8).2.DSORG=PO.TU00001.TU00001.G0006V00 TBISUSR.DSORG=PO.GDG(8).(3. // LRECL=80.2)) [_] [a] [_] [b] [_] [c] [_] [d] 15.DSORG=PS.RC NE 8 ABEND = FALSE STEP. // LRECL=80.SPACE=(TRK.DISP=(NEW.DISP=SHR Which of the following conditional expressions can not be used with an IF-THEN-ELSE-ENDIF construction? STEP.RUN EQ TRUE O (a) O (b) O (c) O (d) 18/05/2009 Self-test JCL 6 .TU00001.(3. The following GDG datasets exist: TBISUSR.RECFM=F.TU00001.G0007V00 Which statement will always create: TBISUSR.SPACE=(TRK.GDG.G0008V00 ? O (a) O (b) O (c) O (d) 17.TU00001.LRECL=80.(3.2.G0005V00 TBISUSR.TU00001. Which of the following DD statements to create a new data set is correctly written? (2 answers) //DD1 DD DSN=TBISUSR.CC = U4038 STEP.DISP=SHR //DD1 DD DSN=TBISUSR.GDG. Which parameter can not be used on a JOB statement: MSGCLASS COND MGMTCLAS NOTIFY O (a) O (b) O (c) O (d) 16.G0003V00 TBISUSR.DSORG=PS. // RECFM=FB.TU00001.TU00001. //DD1 DD DSN=TBISUSR.GDG(+1).SPACE=(TRK.RECFM=FB.KEEP).SPACE=(TRK.GDG.(1.(1.SPACE=(TRK.TU00001.GDG.DATA1.LRECL=80.TU00001.KEEP).GDG.GDG.G0004V00 TBISUSR.KEEP).DISP=(NEW.10)) //DD4 DD DSN=TBISUSR.GDG(+1).1)) //DD1 DD DSN=TBISUSR.LRECL=80.CATLG).CATLG).TU00001. // RECFM=F.DISP=(NEW.TU00001.DATA2(MBR1).DATA3(MBR2).TU00001.RECFM=FB.DSORG=PS. // LRECL=80.10)) //DD2 DD DSN=TBISUSR. // RECFM=FB.2)) //DD3 DD DSN=TBISUSR.DISP=(NEW.14.SPACE=(TRK.DSORG=PS.
.SUBJ=JCL. Which is the most complete statement? We can override parameters on EXEC statements and add DD statements..in different ways .this procedure. can not be used for input. which will indicate the end of the input..CRS.&NMBR.. .&SUBJ.TYPE=DATA... O (a) O (b) O (c) O (d) 20. Consider the following: // SET GROUP=TBIS. but can only add DD statements. . but can only nullify parameters to DD and OUTPUT statements.DIV=USR..&SUBJ.&DIV.. stored on different device types.CRS. We can nullify.18..JCLCRS. can be used for input.&TYPE...NMBR=1 Which of the following structures containing symbolic parameters will result in: TBISUSR. When calling a procedure we can change ..CRS. [_] [a] [_] [b] [_] [c] [_] [d] 19.&SUBJCRS. We can override.&SUBJ. Indicate the correct answers: A concatenation of datasets.. to use both DD entries describing sequential datasets and DD entries describing partitioned datasets in any order.DATA1? (2 answers) [_] [a] [_] [b] [_] [c] [_] [d] &GROUP&DIV. &GROUP. can contain a dummy data set in the input.&TYPE&NMBR &GROUP. (2 answers) . can be used to write multiple output datasets. 18/05/2009 Self-test JCL 7 . nullify and add parameters on all statements and add DD and/or OUTPUT statements.. We can add and override parameters to all statements.&TYPE. .&DIV.&TYPE&NMBR &GROUP&DIV.&NMBR. override and add parameters to all statements.
EVALUATION. You have now mastered the necessary knowledge to follow the “MVS and ISPF Utilities” .course When you have a score between 50% and 80%. If your score is more than 80%. you do not have to follow the course. c d 15. ab cd d ac a ad c bd bc 10. 4. b c Give 1 point per correctly answered question. a c 19. 2. Here are the correct answers to all questions: 1. 6. a 17. a b 13. 7. b 20. a d 14. c 18. c 16. 18/05/2009 Self-test JCL 8 . we strongly suggest you to follow this course. When your score is less than 50%. b d 12. d 11. 9. 3. following the course can improve your knowledge. 8. 5. A question is correctly answered if all indicated answers are given.
This action might not be possible to undo. Are you sure you want to continue?
We've moved you to where you read on your other device.
Get the full title to continue listening from where you left off, or restart the preview.