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
Can we use DISP=SHR in output file in JCL
How is the record format of an output dataset specified?
Explain the purpose of dd * statement in jcl?
How can the disposition of sysout datasets be set for an entire jobstream?
What parameter directs the output of the job log dataset?
Explain the function of a dd statement?
What are the 4 fields in dd statement?
How can a stopped job be started again?
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
What is the function of job statement in jcl?
//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*
What does a disposition of (new,catlg,keep) for a dsn mean?
Explain in DD statement what is the use of DCB parameter?
Explain dd statement in jcl?
What is catelog procedure and how many catelog procedure to use in one job?