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

i need some shortcuts and tso commands can any on ehelp me in these ?

1 Answers  


suppose i have job it contains 10 steps after exicution of job failuer at 3 and 7 th steps i want exicute step 3 and step 7 only how we specify condition ?

5 Answers  


what is DSN in JCL and what are the parameters to declare the DSN?

0 Answers  


How is a GDG base created?

5 Answers  


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,






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,


What do you understand by the term job time – out and how can you overcome that?

0 Answers  


I have a job (4 steps) with time parameter coded in job & exec, say time=10 in job & time =3,2,2,4 in each steps. Will the job executes successfully?

4 Answers   Cognizant,


Why 16 is used in calculating the DPRTY ? as, DPRTY = (num1, num2), THEN, DPRTY = 16* num1 + num2

4 Answers   IBM,


How to pass the temp dataset form one JOB step to another?

6 Answers   IBM,


suppose i have 10 job steps and i want to execute only step 6.How to write?

6 Answers  


which are the parameters mandatory in job card ?

4 Answers   Accenture,


Categories