When a dataset is UNCATALOGED in a JOBSTEP, how to get its
UNIT and VOL in JCL to refer in subsequent steps ?



When a dataset is UNCATALOGED in a JOBSTEP, how to get its UNIT and VOL in JCL to refer in subseque..

Answer / 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

More JCL Interview Questions

What do you feel makes a good program?

1 Answers  


What you mean by skeleton JCl?

2 Answers  


How do you handle empty files in a JCL ?

3 Answers   Wipro, Xansa,


If we want to see the eliminated duplicate record thru SORT, how its output file will be managed

6 Answers   Syntel,


What is the function of the dd dcb keyword?

0 Answers  






How to get cursor position from system in CICS environment ?

8 Answers  


Mention the types of job control statements?

0 Answers  


What statement marks the end of an in-stream or catalogued procedure?

1 Answers  


what is the use of JCL?

0 Answers  


Describe the various parameters utilized in the creation of a gdg?

0 Answers  


Explain about LMCLOSE�close a data set

1 Answers  


what is the use of IEBGENER utility?

0 Answers  


Categories