MOD, DELETE; What does a disposition of (,DELETE) mean ?
Answer Posted / stu
DISP=(xxx,yyy,zzz) where
xxx=how the file is treated by your program. New=create,
SHR=exists, share with other jobs, OLD=exists, lock it
while the program uses it, MOD=it may exist, but if it
doesn't, create it.
yyy=what to do with the file if the jobstep completes
successfully. CATLG=catalogue a new file, KEEP=keep the
file with any changes made by the program, DELETE=delete it.
zzz=what to do with the program if the jobstep does not
complete successfully. CATLG=catalogue a new file,
KEEP=keep the file with any changes made by the program,
DELETE=delete it.
Example:
DISP=(NEW,CATLG,DELETE) will create a new file, catalgue and
keep it if the jobstep completes OK; otherwise delete it
without cataloging.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Brief description of inline procedure of jcl.
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?
what is SOC4 error?
Explain the job statement in jcl?
What are s0c1, s0c4, s0c5, s0c7 and socb?
A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?
What is the maximum length of a single line of jcl?
What are the 4 fields in dd statement?
What do you understand by the term notcat 2 – gs?
What are the rules employed while naming the steps in a job?
what is “Cond= even” and “Cond=only”?
how you can direct the data to spool using SYSOUT option?
What is the use of disp parameter?
When space is allocated for an output dataset, what units can be used?
what is DD statement is used in JCL?