You are on page 1of 8

JCL MCQ 1. How can values be passed from the job stream to an executable program?

(A) Through the PARM keyword (B) Through the VALUE parameter (C) Through the PGM parameter (D) All of the above 2. Must tape dataset definitions include VOL=SER specifications? (A) Yes (B) No (C) Only for uncataloged datasets (D) Only for cataloged datasets 3. What is the function of //JCLLIB statement? (A) Identifies the source of the JCL commands (B) Points to the system software library (C) Marks the beginning of the in-stream JCL (D) Identifies the libraries that the system will search for include groups or procedures named in EXEC statements 4. What parameter of the job statement is used to limit the CPU time consumed by the job? (A) RUNTIME (B) TIME (C) LIMIT (4 ) EXECMAX 5. What statement marks the beginning of an in-stream or cataloged procedure in JCL and assigns default values to parameters defined in the procedure (A) STREAM (B) SET (C) PROC (D) PEND 6. How can a stopped job be started again? - JCL (A) Through the RETURN parameter (B) Through the STARTUP parameter (C) Through the RESTART parameter (D) Through the CHECKPNT keyword 7. In order to continue a job after a return code of 12 in step1, what the step2 EXEC statement include? (A) CONTINUE (B) COND = (12,NE) (C) COND = (12,GE) (D) COND = (12,EQ)

8. In SMS datasets, what is the function of the DD MGMTCLAS keyword? (A) Specify a management class for a new dataset (B) Lookup a storage profile from the class library (C) Begin a storage class definition block (D) Alters the default storage profile for the dataset 9. How can the submitting users RACF authority be overridden in a job stream? (A) Through the USER parameter (B) Through the USER and PASSWORD parameter (C) By notifying the console operation to override the authority (D) Through the RACF parameter 10. What parameters can be used to limit the number of records written to a SYSOUT dataset ? (A) LIMIT (B) OUTLIM (C) SIZE (D) MAX 11. What statement can be used to send data to another MVS JES3 node ? (A) LINK (B) CONNECT (C) XMIT (D) SEND 12. What parameter directs the output of the job log dataset ? (A) JOBLOG (B) MSGCLASS (C) MSGLEVEL (D) SYSLOG 13. How can a jobs execution priority be modified ? (A) PRIQTY parameter (B) PRTY parameter (C) JOBCLASS parameter (D) RUNTIME parameter 14. How can the attributes of one SMS dataset be copied to another dataset ? (A) Using DD like parameter (B) Using DD Copy parameter (C) Using DD Refer parameter (D) Attributes cannot be copied within SMS datasets 15. What is the function of //CNTL statement ? (A) Marks the beginning of one or more program control statements

(B) Identifies the control card library (C) Delimits the PROC control statements (D) None of the above 16. If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input? (A) As the (0) generation (B) As the (+1) generation (C) As the (-1) generation (D) Without the generation number 17. In SMS datasets, what is the function of the DD AVGREC keyword ? (A) Specifies average length of records in a file (B) Specifies the multiplier to be used for primary & secondary space allocation (C) Directs the system to allocate space based on average record length (D) Specifies word blocking factor 18. How can a JES3 operator command be entered through the jobstream? (A) Through the OPERATOR statement (B) Through the COMMAND statement (C) Through the //** statement (D) Through the console statement 19. To connect EBCDIC records to ASCII during write process, what DCB subparameter is used ? (A) EBCDIC = NONE (B) ASCII = ALL (C) TRANSLATE = ALL (D) OPTCODE = Q 20. If a generation data set is specified as input without the generation number, what will the input to the DD ? (A) the most recent generation created (B) the earliest generation created (C) a concatenation of all the cataloged generations (D). a jcl error will be returned to the job 21. How can buffers be assigned to a DCB ? (A) Through the BUFMAX subparameter (B) Through the BUFOUT subparameter (C) Through the BUF subparameter (D). Through the BUFNO subparameter 22. What is the function of the DD MODIFY parameter ? (A) overrides the LRECL of a cataloged dataset (B) specify a copy-modification module to format a printed dataset (C) overrides the blocksize of a cataloged dataset (D) add records to an existing dataset

23. What is the prefix character for symbolic parameter ? (A) % (B) & (C) @ (D) {} 24. What is the purpose of REGION key word ? (A) specifies the amount of space required by a step (B) specifies the amount of space required by a job (C) both of the above (D) none of the above 25. What is a system data set catalog ? (A) a reference to the naming standards for datasets (B) a list of MVS reference libraries (C) a list of datasets available to MVS along with the location data (D) the original installation datasets for JCL 26. If both the JOBCAT & STEPCAT statements are coded in a step, which will be executed? (A) JOBCAT (B) STEPCAT (C) the one coded first in the JCL stream (D) both the statements will be executed in sequence 27. What is the function of DD DISP parameter? (A) Tells the system what to do with the dataset following normal termination of the step (B) Describes the status of the dataset (C) Tells the system what to do with the dataset following abnormal termination of the step (D) All of the above 28. How is the record format of an output dataset specified? (A) RECORG parameter (B) STORCLAS parameter (C) RECFM parameter (D) None of the above 29. What is the purpose of DD * statement in JCL? (A) Begins an input data prompt at the system console (B) Begins an in-stream dataset (C) Marks the end of a command stream (D) Includes all datasets within a naming pattern 30. A DD statement has 2 types of parameters. Name them ? (A) Positional, Keyword (B) Keyword, Control

(C) Dynamic, Static (D) Named, Dynamic 31. What is the function of JOB statement in JCL ? (A) Marks the end of a job (B) Marks the beginning of an instream procedure (C) Marks the beginning of a job & assigns a name to the job (D) Assigns an execution priority to a job 32. How can a job send a status message to a TSO user at the completion of a job ? (A) STATUS (B) NOTIFY (C) ENDMSG (D) USER 33. What is the function of a DD statement ? (A) Identifies & describes a dataset (B) Delimits a DO loop (C) Marks the start of a declarative section (D) Delimits the start of an inline include section 34. When output dataset space is required, what quantity categories are used ? (A) Primary, Secondary, Directory (B) Address, Units, CONTIG or ALS (C) Displacement and length (D) Megabytes, Kilobytes and Bytes 35. What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step ? (A) START (B) RUN (C) EXEC (D) GO 36. How can unused space allocation be returned to the system when a dataset is closed ? (A) RETURN (B) RLSE (C) CONTIG (D) CLOSE 37. Can an individual step be restricted from using all the job's allowed CPU time ?

(A) Yes (B) No (C) Only in Catalogued Procedure (D) Through the STEPTIME parameter 38. Where can program checkpoints be stored for use in a restart ? (A) CHCKPOINT DD statement (B) SYSCHK DD statement (C) CHKOUT DD statement (D) CHECK or DD statement 39. How can the disposition of sysout datasets be set for an entire jobstream ? (A) SYSOUT parameter (B) OUTPUT parameter (C) DEFAULT parameter (D) DEST keyword 40. What statement marks the end of an in-stream or Catalogued procedure ? (A) STREAM (B) SET (C) PROC (D) PEND 41. What is the function of DD name parameter with a 2 part structure; Audit.Report ? (A) Override the Audit DD statement in the report (B) Override the Report DD statement in the Audit procedure (C) Concatenate a dataset onto a DD statement in a called module (D) Delete the Audit DD statement in the Report 42. Which DD parameters are required ? (A) All parameters & Keywords are optional (B) Dsname, SPACE, RECFM (C) Dsname, SPACE, UNIT (D) Dsname, DISP, SPACE 43. How can an in-stream dataset be terminated? (A) // (B) //* (C) /* (D) None of the above 44. What is the function of the DD DCB keyword? (A) Begins the subparameters of the DCB (B) Begins the DASD control block (C) Marks the close of the DCB

(D) Modifies the record type parameters 45. What is the maximum length of a single line of JCL ? (A) 71 bytes (B) 60 bytes (C) 55 bytes (D) 80 bytes 46. What is the purpose of DD DUMMY statement ? (A) Marks a deleted DD statement (B) Begins an interpreted command stream (C) Specifies no space allocation & no disposition processing (D) Suppress command processing 47. Many JCL statements contain specific values designed to direct & control the execution of the statement. What are these fields called ? (A) Linkage Variables (B) Parameters (C) Control Libraries (D) Includes 48. When space is allocated for an output dataset, what units can be used? (A) Disks (B) Megabytes (C) Cylinders, Tracks, Blocks (D) Bytes 49. What is the format of comment statement ? (A) // (B) //* (C) /* (D) None of the above 50. A DD statement consists of 4 fields. Name them :(A) Name, DD, Space, Device (B) Format, Name, DD, Space (C) DD, parameter, device, format (D) Name, DD, parameter, comments 51. What DD statement is used to supply the name of a dataset ? (A) Name (B) Dsname (C) Label (D) File

52. What is the purpose of the DD KEYLEN parameter? (A) Specify the length of a data set key in bytes (B) Override the key length of an SMS defined VSAM dataset (C) Override the key length specified in the dataset label (D) All of the above 53. What is the function of the STEPLIB DD statement? (A) Identify a library to be searched for programs named in the EXEC statement (B) Identify a library containing executable job steps (C) Override the system step library within a job stream (D) All of the above 54. How can return codes be tested before execution of a job step? (A) Through the RC keyword (B) Through the CODE keyword (C) Through the COND keyword (D) Through the RETURNCD keyword 55. What is concatenating? (A) Overriding or adding procedures (B) Logically connecting input datasets (C) Overriding a called PROC dsname (D) All of the above

You might also like