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
I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK
How can the attributes of one sms dataset be copied to another dataset?
What happens if both JOBLIB & STEPLIB is specified ?
how to do automated restart when a job abends?
When output dataset space is required, what quantity categories are used?
How does jcl act on code(if you take a cobol program)?
how to run batch program without jcl?
What is notcat 2 - gs?
Explain the function of dd name parameter with a 2 part structure; audit.report?
How do you access an uncatalogued dataset in a jcl?
How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?
List the various advantages of using jcl language?
what are the various stages of job processing?
in ways data can be passed to a COBOL program from JCL?
Is their any set of rules for dd? Explain.