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
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 |
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 |
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 |
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 |
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The DISP in the JCL is SHR and the program opens the file in EXTEND mode. What happens ?
We are aware of eliminating the duplicate records from outyput fiel using sort utility. Can we get the duplicate records in to another file in the Same sort utility?
What does the statements: typrun=scan and typrun=hold do in a JCL statement
is there any way to execute more than one proc in the same exec statement at the same time..?
There is one QSAM is the VB file. i want to get the first characters in this file and change those characters from'abcd' to '1234' and creat a vasm file to put '1234' in it. how to do in only JCL. if it not QSAM, it's VASM and VB. how to do it.
Explain about File Tailoring
What is the function of the dd mgmtclas keyword in sms datasets?
how do u define a file in cobol and jcl ?
How dummy is used in jcl?
In job processing, what happens in conversion stage?
Is it possible to left uncode disp?
Can you give the sort card to arrange the specific column in the version of GDG.