Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

My JCL has 4 steps that execute PROC’s P1, P2, P3 and P4 as shown below //P1 EXEC PROC=P1 //P2 EXEC PROC=P2 //P3 EXEC PROC=P3 //P4 EXEC PROC=P4 There are four steps S1, S2, S3 and S4 in each PROC’s (i.e. P1, P2, P3 and P4) I want to execute only step S2 of PROC P2 and no other steps or PROC’s. How do you achieve this?

4 Answers   IMS,


in catalog procedure i have step1 dd dsn=filea dd dsn=fileb dd dsn=filec ur concatenaning all the files. but i need to override fileb with file 2 ? can anyone give the ans pls for ths

1 Answers   DELL,


I have 20 steps in a job... step01, 02....step17...step20. For some reason I want to execute step17 only if the return code for all the previous steps are less than or equal to 4. otherwise if return code for any of the previous 16 steps is greater than 4, then step17 should be bypassed. How do I do that ?? how and in which step should i formulate COND parameter

8 Answers  


can we bowse or edit the GDG dataset if it is a tape entry?

4 Answers  


Can we have a JOBSTEP without any EXEC ?

6 Answers   IBM,


What is a Dummy Utility and what it does ?

3 Answers  


if we have a job consist of two steps and each step calling a proc having 10 steps each then how many steps are counted only 2 or 22(10+10+1+1)? can we have more than 255 steps in a single job?

5 Answers   Accenture,


How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?

0 Answers  


Given a input file with duplicates how to remove the duplicate records from the file using JCL?

6 Answers   CDS, Convergys, TCS,


Can comments be specified at the very beginning of a jobcard? Will the JCL execute?

3 Answers  


what will be the error code if duplicate key of VSAM file is found?

1 Answers   HSBC, Kings,


Is it possible to code instream data in a PROC?

0 Answers  


Categories