Mainframe JCL Fundamentals
Covers JCL syntax, parameters, procedures, conditional execution, and mainframe data set management
Questions
KSDS AND RRDS FILES CAN BE INPUT RANDOMLY (DIRECTLY) BY
- PUT STATEMENT
- READ STATEMENT
- POINT STATEMENT
- GET STATEMENT
GENERATING A REPORT IS SIMPLE IN EASYTRIEVE.
- True
- False
What is the keyword sub parameter that can be used in the DD operand to repeat the unit specification that is already mentioned for a dataset in any previous DD statements?
- UNIT=LIKE ddname
- UNIT=SER ddname
- UNIT=AFF=ddname
- UNIT=*.& ddname
A maximum of 255 steps can be included in a single JCL.
- True
- False
Which of the following are not allowed in procedures in jcl?
- JOBLIB
- STEPLIB
- null statement(//)
- DD
Which TIME parameter will allow the step to run for unlimited amount of CPU time?
- 1440
- MAXIMUM
- NOLIMIT
- 32767
what type of exception occurs when you try to perform arithematic operation on non numeric data?
- Operational exception
- Address exception
- Data exception
- Numeric exception
What abend is issued when the system cannot find the member in the indicated dataset in the JCL?
- SOC7
- S013-20
- S013-18
- SOC4
Which parameter holds the job from execution until it is released by the operator?
- TYPRUN=HOLD
- TYPRUN=SCAN
- TYPRUN=CHECK
- TYPRUN
Which of the following is true:
- Under no circumstances must a DD statement precede an EXEC statement.
- The OPERATION JOB can be coded in position 4.
- An OPERATION can be coded beyond position 72, as long as it starts before position 72.
- A JCL OPERATION must be followed and preceded by at least one blank.
What are the correct values for the DSN parameter of a temporary data set? (2 answers)
- &NAME&(TEMP)
- &&TEMP(NAME)
- &&NAME
- &NAME
Complete correctly: When I want a jobstep to be executed only if the previous jobstep has a return code of strictly less than 8, I should add...
- COND=(8,LE)
- COND=(8,GE)
- COND=(8,LT)
- COND=(8,GT)
What is correct?
- A REGION parameter on an EXEC statement, overrides the REGION parameter on the JOB statement.
- A REGION parameter on an EXEC statement, limits the space available for that step, but will never exceed the REGION on the JOB statement.
- A REGION parameter on an EXEC statement, is only taken into consideration if there is no REGION parameter on the JOB statement.
- The sum of all REGION parameters on EXEC statements, must be equal to the REGION parameter on the JOB statement.
When to use DISP=MOD?
- For both sequential and partitioned datasets to be extended or created.
- Only for existing datasets to be extended.
- For all secured sequential datasets to be extended.
- Only for sequential datasets to be extended or created.
Which parameter can not be used on a JOB statement:
- MSGCLASS
- COND
- MGMTCLAS
- NOTIFY
Which statements concerning the JCLLIB statement are true? (2 answers)
- There is either a JCLLIB statement for the entire JOB, or a separate one for each EXEC statement, not both.
- A JCLLIB statement can not have a statement name.
- There can only be one JCLLIB statement per JOB.
- A JCLLIB statement must be coded before the first EXEC statement.
Which of the following conditional expressions can not be used with an IF-THEN-ELSE-ENDIF construction?
- STEP.RC NE 8
- ABEND = FALSE
- STEP.CC = U4038
- STEP.RUN EQ TRUE
When calling a procedure we can change - in different ways - this procedure. Which is the most complete statement?
- We can override parameters on EXEC statements and add DD statements.
- We can override, nullify and add parameters on all statements and add DD and/or OUTPUT statements.
- We can add and override parameters to all statements, but can only nullify parameters to DD and OUTPUT statements.
- We can nullify, override and add parameters to all statements, but can only add DD statements.
Which of the following are directly controlled by JCL statements: (2 answers)
- 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 of the following equations are correct? (2 answers)
- DISP=(,PASS) is equivalent to DISP=(NEW,PASS,KEEP)
- DISP=(,,KEEP) is equivalent to DISP=(NEW,DELETE,KEEP)
- DISP=(,,CATLG) is equivalent to DISP=(OLD,CATLG,CATLG)
- DISP=(OLD,,) is equivalent to DISP=(OLD,KEEP,KEEP)