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

How do you submit a JCL under CICS environment ?

1 Answers   IBM,


I have three files for one step i need to override the third file how to do that in jcl?

1 Answers   UST,


HOW TO CONVERT VARIABLE BLOCK TO FIXED BLOCK ?

1 Answers   IBM,


What is the use of the utility DFSRRC00 in the JCL?

2 Answers   Convergys,


Suppose I have five jobs to do. But I want to hold one?

0 Answers  


what is the use of temporary files?

5 Answers   Hexaware,


what is d/f b/w sysout & sysprint

4 Answers   TCS,


what is the difference between the JCLLIB and JOBLIB ,and where do we use it ?

3 Answers   Convergys,


What are the maximum and minimum sizes of any CONTROL AREA (VSAM datasets) ?

2 Answers   Patni,


How do you pass parameters to the program as the job is being executed ?

2 Answers  


Ques: How can we code COND parameter in a JCL so that only even steps (or only odd steps) get execute??

3 Answers   HSBC,


Is it possible to left uncode disp?

0 Answers  


Categories