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 point my proc to production dataset always though i keep jcllib order=development.dataset? Is it possible?

3 Answers  


diff bw SB37,SD37,SE37 ?( bcz these 3 belongs Space related abends only)

4 Answers   RBS,


Explain in DD statement what is the use of DCB parameter?

0 Answers  


what happens if job falls in loop ? how to resolve it ?

3 Answers   Patni,


how you will define a temporary dataset in jcl?

1 Answers   IBM,






One of My Job is running in production, which contains five steps?i want to pass the input to FIFTH step while running is it possible? if how?

1 Answers   CTS,


What is JOBLIB ?

5 Answers   Xansa,


describe the job statement, its meaning,syntax and significant keywords?

1 Answers  


What is the meaning of the EXEC statement keyword, COND? What is its syntax?

2 Answers  


What parameter of the job statement is used to limit the cpu time consumed by the job?

0 Answers  


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

0 Answers  


Explain the function of a dd statement?

0 Answers  


Categories