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 is the function of job statement in jcl?

1 Answers  


How many types we can give input to JCL

5 Answers   UHG,


how do u define a file in cobol and jcl ?

2 Answers   TCS,


01 GROUP-ITEM 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP MOVE ZERO TO GROUP-ITEM ADD 50 TO AMOUNT-1 what will be the content of AMOUNT-1? a.50 b.100 c.0 d.unpredictable

1 Answers  


if we give TIME=0 how many sec that job/step

13 Answers  


how to code instream data in procedure?

3 Answers  


what is the job entry system used in your project?

3 Answers  


CAN ANYONE TELL ME WHAT IS "JOB-CARD"

4 Answers   Syntel,


Is it possible to left uncode disp?

1 Answers  


The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?

1 Answers  


i have step1,step2,step3 from where can i start coding cond parameter ?

2 Answers   Verizon,


Is Default for MSGCLASS = (1,1) ?

2 Answers   IBM,


Categories