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

In job processing, what happens in conversion stage?

733


define cond parameter in jcl?

771


what are the statements that are not valid to be included in an include statement?

776


In job processing, what happens in execution stage?

696


List the different jcl statements that are not permitted in the procedures?

634






a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?

608


what EXEC statement is and what is the syntax of EXEC statement used in JCL?

625


What is job control language?

605


Explain the function of the dd dcb keyword?

694


i want to store 20 digits . how will u do it in cobol ?

858


what is JCL?

690


Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

716


Explain the function of dd disp parameter?

593


how can you check if a file is empty using jcl?

807


How dummy is used in jcl?

641