WHAT WILL HAPPEN TO A FILE IF DISP=(MOD,DELETE,DELETE)
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
dataset will not be created since under normal or abnormal
condition the datset will be deleted
Is This Answer Correct ? | 8 Yes | 3 No |
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 |
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 |
In my job I have 6 steps. Step01,02,03...step06. after executing step02 i want to skip step03 and want to execute step04. and once step04 is done then I want to go back and execute step03. once step03 is completed I want execute step05, 06 and so on... can any one tell me how do i do that???
We have 100 steps in a procedure and we need to run the jcl and execute only 25th step in the proc and not the remaining steps. How can we do it?
5 Answers IBM, JPMorgan Chase,
I have an job having three job steps.Suppose i want to call a pgm in step2 and aproc in step3.How to write the code?
What is the use of disp parameter?
Explain about LMMLIST�list a library's members
how can we merge two input files from two different jobs into one output file ? Please ans any one ASAP?
Explain about RECORDING MODE Clause
Is there a way to check for an empty file in JCL other than using IEBCOMPR and the command PRINT COUNT(1)?
What is the error in the following JCL statements : I) //step#three exec pgm=hkbc762 ii) //step#3 exec pgm = hkbc762 iii) //step#3 exec pgr = hkbc672
FOR a GDG, the book by 'SABA ZAMEER' says 'We can NOT ALTER the LIMIT parameter after it is defined'. (p-211). But many persons have written that it can be changed, which one is true ?
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
How can the submitting users racf authority be overridden in a job stream?