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...


WHAT WILL HAPPEN TO A FILE IF DISP=(MOD,DELETE,DELETE)

Answers were Sorted based on User's Feedback



WHAT WILL HAPPEN TO A FILE IF DISP=(MOD,DELETE,DELETE)..

Answer / patrick santiago

mod, = adding/altering data to dataset
delete, = delete DS after normal eoj
delete = delete DS if abend occurs

Is This Answer Correct ?    17 Yes 1 No

WHAT WILL HAPPEN TO A FILE IF DISP=(MOD,DELETE,DELETE)..

Answer / wairagade

Sometimes in job, datasets needs to be deleted as per
application requirements but we are not sure that the
dataset is been cataloged or not . so the first step will
be using IEFBR14 utility mentioned those datasets which
needs to be deleted with DISP mentioned in Q . If the
dataset is not cataloged then system will cataloged it
first and delete it . It will avoid JCL error. Your
thoughts on this!!

Is This Answer Correct ?    15 Yes 0 No

WHAT WILL HAPPEN TO A FILE IF DISP=(MOD,DELETE,DELETE)..

Answer / geetanjali

DISP=(MOD,DELETE,DELETE)

The current status of the dataset is MOD i.e. Append data to the file if it already exists and create new if it dosen't.

On normal disposition i.e. successful execution of job the dataset is deleted.

On Abnormal disposition i.e. in case of job abend, the dataset is deleted.

Is This Answer Correct ?    12 Yes 1 No

WHAT WILL HAPPEN TO A FILE IF DISP=(MOD,DELETE,DELETE)..

Answer / dhanumjaya

in this case if the dataset already exist then it will
delete,otherwise the dataset first created and after deleted

Is This Answer Correct ?    6 Yes 0 No

WHAT WILL HAPPEN TO A FILE IF DISP=(MOD,DELETE,DELETE)..

Answer / snehatechm

dataset will not be created since under normal or abnormal
condition the datset will be deleted

Is This Answer Correct ?    8 Yes 3 No

WHAT WILL HAPPEN TO A FILE IF DISP=(MOD,DELETE,DELETE)..

Answer / shivanadri naveen kumar

if the data set is available means it is already exist the data set is used in that step and it is deleted whether the job step is normal or abnormal execution of the step...

Is This Answer Correct ?    7 Yes 2 No

WHAT WILL HAPPEN TO A FILE IF DISP=(MOD,DELETE,DELETE)..

Answer / bhaskar r

Data modified and deleted.

Is This Answer Correct ?    4 Yes 2 No

WHAT WILL HAPPEN TO A FILE IF DISP=(MOD,DELETE,DELETE)..

Answer / r.bhaskar

If data is modified successfully data will be deleted
abnormal also it will delete.

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More JCL Interview Questions

I have four steps in jcl they are STEP1,STEP2,STEP3 and STEP4. Can it possible to run the reverse order like step4 first then step3,step2,step1?

4 Answers   Broadridge, HCL,


What is the purpose of disp parameter?

0 Answers  


My JOB contains three steps. //STEP1 EXEC PGM=ABC //STEP2 EXEC PGM=DEF //STEP3 EXEC PGM=GHI My Question is 1) I want to execute second step only. How will do. 2) Soppose U consider above three steps are in PROC steps and I want execute the PROC second step only? How to execute the second step only. During exection time its creating any ABEND? Please let me know..........

2 Answers  


Hi Guyz, My requirement is to empty out a PS file but not to delete. How would I do that. Is there any Utility. If any other way, plz answer. Thanks.

9 Answers   iGate, Lehman Brothers,


How to use COND Parameter in jcl

4 Answers   NIIT, Wipro,


01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05 ALLOWENCES PIC 9(3) if BASIC-PAY has a value 1000 and ALLOWENCES has a value of 250,what will be displayed by the statement DISPLAY GROSS-PAY a.1250 b.01000250 c.01250 d.1.250

1 Answers  


Explain the function of dd name parameter with a 2 part structure; audit.report?

0 Answers  


How would you understand error(execution phase)?

0 Answers  


What is a GDG? How is it referenced? How is it defined? What is a MODELDSCB?

3 Answers  


What is the improvement to COND= in the latest version of MVS?

3 Answers  


I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?

0 Answers  


I have 3 duplicate records in a file . I want to eliminate 1st, 2nd and copy 3rd one only . HOW ?

3 Answers   CTS, DELL,


Categories