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 do you understand by the term job time – out and how can you overcome that?
Explain the purpose of dd * statement in jcl?
Is their any set of rules for dd? Explain.
what is use of space parameter in dd statement?
how to run batch program without jcl?
write a jcl to execute a job by 7:00 am on jan 20,1986?
Explain the jcl exec statement?
Explain how can values be passed from the job stream to an executable program?
Explain the function of dd disp parameter?
Is it possible to define dd statements as you want?
What is concatenating?
what is DSN parameter and DISP parameter is used for?
Can we use DISP=SHR in output file in JCL
can any one plzzzzzz tell the jcl code for creating ps using idcams
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.