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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

A dd statement consists of 4 fields. Name them?

1217


What is the motivation behind coding class parameter in job statement?

936


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

1948


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

961


Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC

4604


which parameter is use to declare the name of dataset in dd statement?

1023


Differentiate between the joblib and the steplib statements?

1111


what happens in execution stage in job processing?

879


is there any way to execute more than one proc in the same exec statement at the same time..?

2407


Explain the hierarchy levels in jcl?

1428


how can you check if a file is empty using jcl?

1109


Is their any limit for data sets?

917


How to submit jcl through a cobol program?

928


Explain how can a jobs execution priority be modified?

982


what is the resolution for sb37 error

8450