When a dataset is UNCATALOGED in a JOBSTEP, how to get its
UNIT and VOL in JCL to refer in subsequent steps ?
Answer Posted / rajesh_m13
using IEHINIIT utility we can do so..
//label dd unit=(TAPE,,DEFER),DISP=(,KEEP),LABEL=(,SL)
//SYSIN DD *
LABEL INITT SER=DEVSMS,DISP=REWIND
/*
This will intilize tape,it will write the volume serial
number to the tape
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is “Cond= even” and “Cond=only”?
Explain the function of the steplib dd statement?
List in order the hierarchical levels of jcl?
Explain how can a stopped job be started again?
What parameter of the job statement is used to limit the cpu time consumed by the job?
what is use of disp parameter in dd statement?
How is the record format of an output dataset specified?
what is DD statement is used in JCL?
What are s0c1, s0c4, s0c5, s0c7 and socb?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
what is the use of JCL?
What is notcat 2 - gs?
How to do automated restart when a job abend?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
What is jcl in mainframe, and how many types of jcl statements are there for a job?