How do you create a temporary dataset? Where will you use them?

Answers were Sorted based on User's Feedback



How do you create a temporary dataset? Where will you use them?..

Answer / guest

Temporary datasets can be created either by not specifying
any DSNAME or by specifying the temporary file indicator as
in DSN=&&TEMP. We use them to carry the output of one step
to another step in the same job. The dataset will not be
retained once the job completes.

Is This Answer Correct ?    48 Yes 3 No

How do you create a temporary dataset? Where will you use them?..

Answer / neeraja

If you want to use the Temp Data set in the subsequent
steps then you should give the Disposion Pass.

Is This Answer Correct ?    28 Yes 5 No

Post New Answer

More JCL Interview Questions

What is COND=EVEN ?

9 Answers   IBM,


Hi, all suppose i have 5 steps (S1,S2,S3,S4,S5) what will happen if cond is true or false (which of the other steps get executed)? 1) //s3 exec pgm=abc,cond=(0,le) 2) //s3 exec pgm=abc,cond=(0,le,step2) 3) In the jobcord RESTART=step3,cond=(0,le) 4) can i code COND=TRUE in jobcard, if yes what will happen?

3 Answers   TCS, Tech Mahindra,


with out sorting how to copy records from one file to another file using jcl.Mean I have one input file in which the record are like 1,6,5,4,2,3(for example) and i want to copy to output file from top to bottom(without sorting) like 3,2,4,5,6,1.so I want the JCL for this.cna any one can answers?

1 Answers   TCS,


Explain the function of job statement in jcl?

0 Answers  


What is STEPLIB, JOBLIB? What is it used for?

2 Answers  






what is pupose and meaning of the REGION keyword and what jcl statement is it associated with?

1 Answers  


in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?

0 Answers   IBM,


What is 'S0C7' abend?

9 Answers  


IN DFSORT sum fields=none is usec to remove duplicates.how to write the duplicates in another dataset?

2 Answers  


I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it possible to control through JOB card?

5 Answers   iGate,


A STEP has more than 1 file as INPUT. And we have to put all these records int 1 output file. How to do ? //InputF  DD DSN=ID.File1              DSN=ID.File2              DSN=ID.File3

1 Answers   FIS,


How do you restart a PROC from a particular step?

5 Answers  


Categories