Using and Writing Procedures


The IDCAMS Utility
Generation Data Sets
Mainframe

UNIX
100

What must be true about a private library specified in a JCLLIB statement for it to be successfully used in a JCL job?

The private library must be cataloged, accessible to the job, permanently resident, and have the same data set attributes as a system library.

100


What is the recommended method to find IBM manuals for IDCAMS documentation online?




 The recommended method is to Google “z/OS Internet Library,” select the desired z/OS release, and then navigate to the DFSMS Bookshelf to find the relevant manuals.

100


What is the maximum number of generations allowed in a standard GDG?



 

The maximum number of generations allowed in a standard GDG is 255.


100


Which two DD statements must point to the same library when updating it using IEBUPDTE?




The SYSUT1 and SYSUT2 DD statements must both point to the same library when updating it using IEBUPDTE.


100


What is the primary use of the BPXBATCH utility in MVS?





The BPXBATCH utility is used to run shell commands, shell scripts, and executable files in MVS batch environments.


200

What are some JCL statements that cannot be included using the INCLUDE statement?

You cannot INCLUDE JOB statements, PROC and PEND statements, JCLLIB statements, JES2 and JES3 statements and commands, and in-stream data like DD * and DD DATA statements.

200


Which IDCAMS command would you use to create an alternate index for a VSAM dataset?





The BLDINDEX command is used to create an alternate index for a VSAM dataset.


200


What must be true about all Generation Data Groups (GDGs) in JCL?






All GDGs must be cataloged.



200


What is the typical capacity of a 3490E tape?




The typical capacity of a 3490E tape is 1600 MB.


200


What is one pro of using batch jobs to access USS?





 It can be used to automate tasks.


300


What happens to the value assigned by a SET statement if it is used within an IF/THEN/ELSE/ENDIF construct in JCL?




The value assigned by a SET statement is assigned unconditionally, meaning it is assigned regardless of the logic of the IF/THEN/ELSE/ENDIF construct.

300


Which IDCAMS command would you use to copy, merge, or split catalogs, or to copy VSAM or non-VSAM datasets?





The REPRO command is used to copy, merge, or split catalogs, as well as to copy VSAM or non-VSAM datasets.


300


What is reserved for generation information in a GDG’s DSNAME?




The portion of the DSNAME exceeding 35 characters is reserved for generation information.


300


What is the purpose of the UNIT parameter in a DD statement?





The UNIT parameter is used to ask MVS to place a data set on a specific device address, device type, or device group.


300


Which FTP command is used to print the working directory on a remote system?





The pwd command is used to print the working directory on a remote system.


400


What controls the substitution of symbols in instream data in JCL, and how can optional diagnostic logging of this substitution be requested?




 The substitution of symbols in instream data is controlled by the new SYMBOLS keyword on DD data or DD * statements. Optional diagnostic logging of the substitution can be requested by setting the second value of the SYMBOLS keyword.


400


In a VSAM cluster definition, what are the possible values for the parameter that defines the type of VSAM file, and what do they represent?




The possible values for the parameter are INDEXED, NONINDEXED, and NUMBERED. They represent the following types of VSAM files:

•INDEXED (IXD) - Key Sequence Data Set (KSDS)

•NONINDEXED (NIXD) - Entry Sequenced Data Set (ESDS)

•NUMBERED (REL) - Relative Record Data Set (RRDS)

400


What happens to the DSN when using a GDG across multiple job runs?






The DSN does not change between job runs when using a GDG.



400

What is one function that a Tape Management Subsystem provides?




A Tape Management Subsystem maintains information about which scratch tape volumes are available for writing output data files.


400


Which FTP command is used to change the working directory on the local system?




 The lcd command is used to change the working directory on the local system.

500


What is the maximum number of in-stream procedures allowed in a single JCL job, and what are the required start and end statements for these procedures?



The maximum number of in-stream procedures allowed in a single JCL job is 15, and they must start with PROC and end with PEND.

500


Which IDCAMS command would you use to copy, merge, or split catalogs, or to copy VSAM or non-VSAM datasets?




The REPRO command is used to copy, merge, or split catalogs, as well as to copy VSAM or non-VSAM datasets.


500


How do you reference the previous generation of a GDG using a relative reference in JCL?




You reference the previous generation using DSN=PAYROLL.MASTER(-1).

500


What is the easiest way to submit JCL from a REXX script in a TSO/E environment?





The easiest way to submit JCL from a REXX script in a TSO/E environment is by using the TSO SUBMIT command.


500


What TSO command is used to copy data between MVS datasets and HFS files?




The OCOPY command is used to copy data between MVS datasets and HFS files.