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

why jobstep can't be more than 255 and for GDG has max limit 255 . Is there any relation between the two

1 Answers   IBM, Perot Systems,


what is JCLLIB and PROCLIB in jcl and their syntax

3 Answers   IBM,


How many JOB statements a JCL can have ? If there are more than one JOB statements in a JCL, are they submitted in succession or in parallel ?

4 Answers   IBM, Tech Mahindra,


in step1 of a jcl,disp=(mod,delete,delete) step02 exec pgm=ccc,cond=(0,le) will step02 be executed? i)never ii)always iii) iv)... i dont remember options

4 Answers   HSBC,


what is the restart?hopw it is invoked?

1 Answers  


What are the parameter in the job card wihtout which job won't run........

10 Answers   IBM,


How to read records in reverse order in flat file?

1 Answers  


Suppose I have a file with three fields with data in the following format 1. empid - S9(4) COMP 2. empname - X(20) 3. empsal - S9(5)V(2) COMP-3 If I view this file, it will not be in a readable format. How to display the empid and empsal fields in a readable format without using COBOL program? What kind of SORT card will have to be coded?

4 Answers  


what is instream data

2 Answers   EDS,


I have two input SORTIN files and We need to create one SORTOUT file which contains data of both input files. What is the SortCard for this?. Suppose the length of the both files are different, then How we do it? Please reply ASAP

4 Answers   CSC,


delete rules in db2

1 Answers   Keane India Ltd,


How can you trap abends in the JCL?

3 Answers  


Categories