What is DISP= (NEW,PASS,DELETE)?

Answers were Sorted based on User's Feedback



What is DISP= (NEW,PASS,DELETE)?..

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

What is DISP= (NEW,PASS,DELETE)?..

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

What is DISP= (NEW,PASS,DELETE)?..

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

Post New Answer

More JCL Interview Questions

Which storage devices are grouped under DASD and SYSDA ?

1 Answers   IBM,


can we write a proc with in a proc

4 Answers   IBM,


wht happens if blksize = 0 and lrec = 0 ?

1 Answers   TCS,


I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK

0 Answers   IBM,


how to write a jcl prog to copy alternate recs from ps1 to another ps2,suppose ps1 having 10 recs?

2 Answers   Steria, TCS,






i have 3 steps in my jcl, where i want to run only one step at a time depending on the variable. How should i give the condition statement... I have tried this with two steps which is working but not able to add condn for the 3rd step. can anyone help me... I want to know the cond stmt which i can code in step 3 and step4, so that only either step2 or step3 or step4 executes

3 Answers  


What is the difference between primary and secondary allocations for a dataset?

8 Answers  


What is model dataset label(Model DSCB)?

1 Answers  


Why 16 is used in calculating the DPRTY ? as, DPRTY = (num1, num2), THEN, DPRTY = 16* num1 + num2

4 Answers   IBM,


Hi, Please clear me when COND=ONLY and COND=EVEN. Explain me with example.

2 Answers   GJ,


How to skip first step of a job? Can we use COND on the first step?

3 Answers   iNautix,


I found in one of the jcl, gdg version being mentioned as : abc.def.ghi(-0) Can anyone tell me how referring the version as (-0) is different from referring it as (0)

2 Answers  


Categories