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 |
what will be the error code if duplicate key of VSAM file is found?
What is the use of disp parameter?
I need exexution process for JCL programs
In JCl which of this activities get executed if act002 abnormally terminates //job001 job ......... //act001 exec pgm=cobo01 //act002 exec pgm=cob02, cond=(01,le) //actoo3 exec pgm=cob03, cond=only //actoo4 exec pgm=con04
How can i execute 5th step without executing first 4 steps?
Given a input file with duplicates how to remove the duplicate records from the file using JCL?
6 Answers CDS, Convergys, TCS,
Suppose i have 2 steps in my pgm. Step1- creates a file, Step2 - generates report from file in step1, What changes have to be made in Step2, so that if the file in Step1 is empty Step2 should not be executed? No changes to be made to Step1.
What is a PROC? What is the difference between an instream and a catalogued PROC?
how can u identify the db2 from jcl ?
I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?
Statement1 "We can not use UNCATLG in SMS managed VSAM datasets" Statement2 "We can not delete a SMS managed data set without UNCATLG it" (P-353, Saba Zameer book) Then how do we delete SMS managed VSAM datasets ?
How many types of libraries are there in JCL ?