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 |
Explain the function of dd name parameter with a 2 part structure; audit.report?
Given a input file with duplicates how to remove the duplicate records from the file using JCL?
6 Answers CDS, Convergys, TCS,
HOW TO CONVERT VARIABLE BLOCK TO FIXED BLOCK ?
How to copy one PS file to multiple PS files with same data?
In jcl i have 255 steps. In 255 step i declared proc. In proc i have 20 steps this job is executable or not? why?
What parameter of the job statement is used to limit the cpu time consumed by the job?
Can I share my data with other jobs? How?
If i have defined an temperory dataset in step2, how can i call back or use the same dataset in step5 of the same job
A job has 150 steps i want to execute only 57th step
I have 20 steps in a job... step01, 02....step17...step20. For some reason I want to execute step17 only if the return code for all the previous steps are less than or equal to 4. otherwise if return code for any of the previous 16 steps is greater than 4, then step17 should be bypassed. How do I do that ?? how and in which step should i formulate COND parameter
what is the function of spool command?
Explain about RECORDING MODE Clause