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 do you submit a JCL under CICS environment ?

5 Answers   Wipro,


THERE IS ONE STEP AS BELOW: //STEPJS060 EXEC PGM=XYX, COND=((200,EQ,JS010),(0,NE,JS020.C),EVEN) COULD ANY ONE EXPLAIN HOW COND PARAMETER WORKS HERE? I AM CONFUSED BECOZ OF "EVEN".

2 Answers  


Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE

0 Answers  


What is the function of dd disp parameter?

0 Answers  


Define concatenating?

0 Answers  






How to point my proc to production dataset always though i keep jcllib order=development.dataset? Is it possible?

3 Answers  


I have 3 duplicate records in a file . I want to eliminate 1st, 2nd and copy 3rd one only . HOW ?

3 Answers   CTS, DELL,


What do you understand by the terms: joblib and steplib?

0 Answers  


In sms datasets, what is the function of the dd avgrec keyword?

0 Answers  


What is Automatic Restart ? EXEC PGM = PROG1, RD = R (Is it the Restart of a JOBSTEP or Restarting the execution of the program?) Do we Restart it or it automatically Restarts executing again and again ? Then when it will finish executing ? or After Abending, when we submit it again, then it is Restarted from the Last successful Checkpoint ? If some JOBSTEP is abending, what is the benifit to Restart it, WILL IT NOT ABEND AGAIN if you don't change the LOGIC ?

1 Answers   IBM,


How do you skip a particular step in a proc/JOB?

5 Answers   CSC, CTS,


I need exexution process for JCL programs

0 Answers  


Categories