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
Immediate Job opening for mainframe professionals in Keane Bangalore. Please find the below details: Organization: Keane India Location: Bangalore Skill: COBOL, JCL,VSAM,DB2,CICS,IMS,REXX,CLIST Exp: 1 to 4 years only Employment Type: Permenant Employee Note: If you have attended keane interview in past 6 months please ignore this job opening. Please respond to email id keanemfjob@gmail.com OR keanemfjob@yahoo.in with your latest resume and following details, We will contact you within 24 hours: Total IT Exp: Exp in Mainframe: Current CTC: Expected CTC: Notice Period:
Can we use DISP=SHR in output file in JCL
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
what is SOC4 error?
What is the use of symbol // in jcl?
which utility is used a dummy utility?
Define concatenating?
What is Cataloged Procedures?
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
what is the difference between JES3 and JES2?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
how can you check if a file is empty using jcl?
Explain the function of //cntl statement?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
What does a disposition of (new,catlg,keep) for a dsn mean?