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

Explain about LMINIT - generate a data ID for a data set

1 Answers  


i want apply mainframe devolper with 3+ but i dont have that much of knowledge what isthe solution to get that much of knoweldge?

1 Answers  


In order to continue a job after a return code of 12 in step1, what the step2 exec statement include?

1 Answers  


How to copy VSAM files without using REPRO

3 Answers   ADP,


how to put a dependency on job in jcl using opc scheduler?

1 Answers   CTC,


Explain the function of job statement in jcl?

0 Answers  


If we have 100 job steps in JCL and we want to excute steps only starting from 43 to 50, then how it can be coded in JCL/

10 Answers   IBM,


IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C

0 Answers  


How many instream we can write in single jcl?

1 Answers  


hi guys what r the diff types of procs in jcl? bye ramya

4 Answers   ACS, Keane India Ltd,


i have a file which contains duplicates ? my requirement is to eliminate duplicates and these elminated duplicates should be moved to another file can any code this using sort ?

3 Answers   IBM,


What is the difference between sb37,se37,sd37 each?

9 Answers   TCS,


Categories