Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are the 2 types of parameters in dd statement?

1098


how would you create a temporary dataset? And where will you use them?

1306


Explain how can the submitting users racf authority be overridden in a job stream?

1081


What are some jcl statements that are not allowed in procedures?

1178


What is the difference between the positional and keyword parameters? Give examples.

1191


What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?

1082


Is acct parameter mandatory?

1148


Why include statement is used in a jcl?

1123


How can an in-stream dataset be terminated?

1292


Explain the function of the dd dcb keyword?

1186


How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?

1196


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

1239


How can a stopped job be started again?

1141


what is DSN in JCL and what are the parameters to declare the DSN?

1148


Explain the jcl exec statement?

1088