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 ?

Answers were Sorted based on User's Feedback



MOD, DELETE; What does a disposition of (,DELETE) mean ?..

Answer / 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

MOD, DELETE; What does a disposition of (,DELETE) mean ?..

Answer / guest

The MOD will cause the dataset to be created (if it does not
exist), and then the two DELETEs will cause the dataset to
be deleted whether the step abends or not. This disposition
is used to clear out a dataset at the beginning of a job.

Is This Answer Correct ?    5 Yes 2 No

MOD, DELETE; What does a disposition of (,DELETE) mean ?..

Answer / vimal raj

Mod will modify the existing dataset if job runs fine and it
will delete it if job abends or hit with error

Is This Answer Correct ?    3 Yes 4 No

Post New Answer

More JCL Interview Questions

what r the types of job control statements?

2 Answers  


what are the symbolic parameters? why do we use symbolic parameters ?

2 Answers   IBM, TCS, UST, Xansa,


which are the parameters mandatory in job card ?

4 Answers   Accenture,


a dd statement has 2 types of parameters. Name them?

0 Answers  


what is alternate index?

1 Answers  


Describe the EXEC statement, its meaning, syntax and keywords?

2 Answers  


What is the max blocksize for a Tape file?

2 Answers  


i) Difference between ps, esds, ii) Difference between lrecl, blksize among PS, PDS issues? i.e in jcl at dcb

2 Answers  


What are the common jcl syntax errors you get? This is not abends?

1 Answers  


Explain the function of //jcllib statement?

0 Answers  


A. Job Abended in STEP03. Now run job again to execute STEP03, STEP04 (STEP01,STEP02 should not execute again)

3 Answers   Cap Gemini, CSC, Xchanging,


Suppose a proc step has a DD statement like //ABC DD DSN=TEST.FILE1,DISP=SHR DSN=TEST.FILE2,DISP=SHR and the above DD name is overridden from the JCL as given below //procstepname.ABC DD DSN=TEST.FILE3 - Will the DD statement now have just TEST.FILE3 or it will be TEST.FILE3 and TEST.FILE2? Suppose if it is overridden twice like //procstepname.ABC DD DSN=TEST.FILE3 //procstepname.ABC DD DSN=TEST.FILE4 Will this give a JCL error? If not, what will be final output?

2 Answers  


Categories