You have a JCL job that needs to write output data to a new dataset. How would you define the DD statement to allocate this new dataset with a specific dataset name?
- //OUTPUT DD DSN=NEW.DATA.SET,DISP=(MOD,CATLG,DELETE),SPACE=(CYL,(5,5),RLSE)
- //OUTPUT DD DSN=NEW.DATA.SET,DISP=(MOD,CATLG,MOD),SPACE=(CYL,(5,5),RLSE)
- //OUTPUT DD DSN=NEW.DATA.SET,DISP=(NEW,CATLG,DELETE),SPACE=(CYL,(5,5),RLSE)
- //OUTPUT DD DSN=NEW.DATA.SET,DISP=(NEW,CATLG,MOD),SPACE=(CYL,(5,5),RLSE)
The correct DD statement allocates a new dataset named NEW.DATA.SET with DISP parameter specifying it as new, cataloged, and deleted if it already exists, with space allocation in cylinders.
Loading...
Related Quiz
- In a JOB statement, the MSGCLASS parameter specifies the _______ where job-related messages will be printed.
- What is the significance of the IEFBR14 program in JCL execution?
- You encounter a situation where the BLKSIZE of a dataset needs to be adjusted for better performance. Describe the steps you would take to determine the optimal BLKSIZE value for the dataset.
- In JCL, the DD statement is used to define and allocate _______.
- Explain the significance of DISP=NEW in a JCL DD statement, and in what scenarios would you use it?