Can a temporary dataset be converted to permanent dataset
and vice-versa in the middle of a job ?

Answers were Sorted based on User's Feedback



Can a temporary dataset be converted to permanent dataset and vice-versa in the middle of a job ? ..

Answer / pintokott

Yes, U can do it. Just give it DISP=(OLD,KEEP) or DISP=
(OLD,CATLG) in the middle of a job.

Is This Answer Correct ?    6 Yes 1 No

Can a temporary dataset be converted to permanent dataset and vice-versa in the middle of a job ? ..

Answer / paray2x

You cannot convert it directly.

You could have a step that copies this file to a catlagued
dataset as the final step in your job.

Is This Answer Correct ?    2 Yes 2 No

Can a temporary dataset be converted to permanent dataset and vice-versa in the middle of a job ? ..

Answer / nishant singhal

Pintokott, but the Temperorary dataset should have
disp=new. how it can have disp=old?????

Is This Answer Correct ?    0 Yes 0 No

Can a temporary dataset be converted to permanent dataset and vice-versa in the middle of a job ? ..

Answer / pintokott

Nishant Singhal, Temp DSet have disp=new only in first step.
In each next step it must have disp=old

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JCL Interview Questions

how to increase the space of a dataset in instream procedure.

1 Answers   HCL,


Which is the most widely used batch performance monitor for DB2?

2 Answers  


If the proc stepname is excluded while overriding the COND, TIME, REGION and PARM parameters while calling the proc, will the override only apply to the first step in the proc or all the steps for all the above parameters?

2 Answers  


hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u

0 Answers   HF, iNautix,


delete rules in db2

1 Answers   Keane India Ltd,






How to ALTER the name of a GDG ?

2 Answers   IBM,


what is the job entry system used in your project?

3 Answers  


how can handle the s0c4 abend???

3 Answers  


I have 5 steps in my jcl ,I need to execute first three steps and then 2nd step again ,4th and 5th steps if rc of 2nd step is zero

1 Answers   ABC,


when can a job time-out occur? How to overcome that?

0 Answers   IBM,


What are the common keyword parameters in both job and exec statements

4 Answers   Cap Gemini,


How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?

0 Answers  


Categories