WHAT WILL HAPPEN TO A FILE IF DISP=(MOD,DELETE,DELETE)
Answer Posted / 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 |
Post New Answer View All Answers
What do you understand by the terms: joblib and steplib?
how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?
how JCL works?
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?
what operation is performed by job statement?
State the uses of syspring, sysin, sort fields, sum fields and dummy.
What do you understand by the term notcat 2 – gs?
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
Mention the types of job control statements?
How to run cobol program using jcl?
What is the format of comment statement?
Explain how can a stopped job be started again?
how you will the direct the data to spool using sysout option?
Describe the various parameters utilized in the creation of a gdg?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?