When should DISP=MOD is used?

Answer Posted / peter

Disp=New tells the system to create a NEW dataset at step
initiation, so that the program can use the newly created
dataset.
The dataset is NOT created at the end of the job-step, "step
termination", but the system looks at the second positional
parameter in the DISP=(NEW,xxx) whether the dataset should
be kept or not!!

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the job statement in jcl?

633


What do you understand by the term notcat 2 – gs?

736


how you can access an uncataloged dataset in a JCL?

641


what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

765


Is it possible to left uncode disp? If yes, how?

696






Explain the function of a dd statement?

647


What is the function of //jcllib statement?

788


What is the significance of addrspc parameter in exec statement?

719


I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

1336


Explain the function of dd disp parameter?

586


What is jcl in mainframe, and how many types of jcl statements are there for a job?

620


Is automatic restart possible in jcl?

722


What do you know about jcl?

638


How does jcl act on a cobol code?

646


I need exexution process for JCL programs

1839