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...


If i have defined an temperory dataset in step2, how can i
call back or use the same dataset in step5 of the same job

Answers were Sorted based on User's Feedback



If i have defined an temperory dataset in step2, how can i call back or use the same dataset in st..

Answer / ashwani

With the help of referback we can do so , the syntax is
//ddname dd dsn=*.stepname.ddname

Is This Answer Correct ?    14 Yes 2 No

If i have defined an temperory dataset in step2, how can i call back or use the same dataset in st..

Answer / santy

You can do this with help of referback prodcedurewe, the
syntax is
//STEP05 dd dsn=*.STEP02.DDNAME

Is This Answer Correct ?    11 Yes 1 No

If i have defined an temperory dataset in step2, how can i call back or use the same dataset in st..

Answer / swapnilkumar

Temporary data set can be accessed as mentioned below.

//STEP02 EXEC PGM=PGM1
//SYSOUT DD
SYSOUT=*
//SYSUDUMP DD
SYSOUT=*
//INPCTL DD DSN=SYS1.PROD.CTLLIB(P89CTL),DISP=SHR
//DATEFILE DD DSN=P1.DATEFILE,DISP=SHR
//OUTCTL DD DSN=&&TMP01,DISP=
(NEW,PASS,DELETE),
// UNIT=PROD,SPACE=(TRK,
(10,10),RLSE),
// DCB=
(RECFM=FB,LRECL=80,BLKSIZE=0)

This can be reffered in step 05 as:

//STEP05 EXEC PGM=FTP,PARM='(EXIT TIMEOUT 300'
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//OUTPUT DD SYSOUT=*
//INPUT DD DISP=SHR,DSN=SYS1.PROD.CTLLIB(P89CLT2)
// DD DSN=&&TMP01,DISP=SHR

Check for the &&TMP01 named temporary data set

Is This Answer Correct ?    6 Yes 2 No

If i have defined an temperory dataset in step2, how can i call back or use the same dataset in st..

Answer / sampath

Refer back will do here.

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More JCL Interview Questions

What parameters can be used to limit the number of records written to a sysout dataset?

1 Answers  


Is it possible to define dd statements as you want?

0 Answers  


if time parameter is not coded on the job card and job step then what is the default time assigned to the entire job and for each step in the job by the systyem ?

2 Answers   ITC Infotech,


How can values be passed from the job stream to an executable program?

0 Answers  


How to release a JOB (from the input queue) held by TYPRUN = HOLD ? and how to see the installation default time after which a JOB will be automatically released ? How to see the list of currently HELD JOBS ?

5 Answers   IBM,


If Name is NOT given for a JOB statement, then will it give error or installation will supply it for the JOB ?

1 Answers   IBM,


Explain about ISPF/TSO Commands

0 Answers  


I have 5 generations in my GDG. How do I code in the JCL to consider all the 5 versions of the GDG ?

5 Answers   Xansa,


How to print the Output to SPOOL using MSGCLASS and SYSOUT ?

4 Answers   IBM,


What is the function of the dd avgrec keyword in sms datasets?

0 Answers  


How to fetch even records from one file to another file by using ICETOOL in JCL?

3 Answers  


i have five step in jcl.my forth step is gdg.gdg was abend.when will job complete,hoe to handle you

3 Answers   L&T, Wipro,


Categories