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
how you can access an uncataloged dataset in a 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 /*
Is automatic restart possible in jcl?
Mention the types of job control statements?
what are the various stages of job processing?
What are the 4 fields in dd statement?
What does a disposition of (MOD,DELETE,DELETE) mean ?
What is the function of the dd dcb keyword?
what is use of space parameter in dd statement?
What is condition checking in jcl? Is this possible?
Explain the purpose of dd * statement in jcl?
What do you know about jcl?
How would you understand error(execution phase)?
Explain about ISPF/TSO Commands
What is the syntax of JCL statement?