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

How do you send the output of a COBOL program to a member of a PDS?

7 Answers  


List the different components of jcl statement?

0 Answers  


How is a dataset passed from one step to another?

2 Answers   DELL,


What is primary allocation for a dataset?

4 Answers  


Can I share my data with other jobs? How?

0 Answers  


What is the differentiation between TRK,cyl, and Bytes... how they can be connected??

2 Answers  


I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

0 Answers  


I need exexution process for JCL programs

0 Answers  


Please explain with syntax and an example, the Inrec fields and Outrec build in sort.

4 Answers   CTS, TCS,


Is automatic restart possible in jcl? If yes, how?

0 Answers  


What does a disposition of (new,catlg,keep) for a dsn mean?

0 Answers  


Explain how can a stopped job be started again?

0 Answers  


Categories