What is DISP= (NEW,PASS,DELETE)?
Answers were Sorted based on User's Feedback
Answer / guest
This is a new file and create it, if the step terminates
normally, pass it to the subsequent steps and if step
abends, delete it. This dataset will not exist beyond the JCL.
| Is This Answer Correct ? | 47 Yes | 5 No |
Answer / suresh
we use disp = (new,pass,delete) to create temporary data sets.
new is creates a new data set
pass on sucessful execution passes the datta set
delete it deletes the data setfrom the system
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / vamsi
Ued for identified the status a data set.
EX:DISP=SHR
IT TELLS DATA SET IS OLD(ALREADY CREATED ) BUT USING IN
SHARE MODE.
| Is This Answer Correct ? | 1 Yes | 10 No |
wht happens if cond=true ? pls give me with an example ?
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
List the different components of jcl statement?
1) Is CLASS used for assigning Priority (as we say a job having class '6' will run before the job having class '5'? then what is the difference between CLASS and PRTY ? 2) In a same JCL, 2 JOB statements with different Classes and NO PRTY are submitted ? which will run first ? & with different classes and different PRTY also, which will run first now ?
My JCL have five steps & I created new versions of GDG in first step through fourth step & fifth step I was refered Step one GDG version. My JCL got abend at 4th step and how I can restart my JCL Please let me know the answers. //STEP1 EXEC GDG1(+1) DISP=(NEW) //STEP2 EXEC GDG1(+2) DISP=(NEW) //STEP3 EXEC GDG1(+3) DISP=(NEW) //STEP4 EXEC GDG1(+4) DISP=(NEW) //STEP5 EXEC GDG1(+1) DISP=(OLD)
11 Answers HCL, IBM, L&T, TCS,
Explain about Internal Sort
How are GDGs concatenated?
What is job control language?
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
which statement is used to end the in-stream procedure in a jcl?
how to modify the copy book?explain with examples
How to print the Output to SPOOL using MSGCLASS and SYSOUT ?