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 statement can be used to send data to another mvs jes3 node?
what are JCLLIB and STEPLIB in JCL?
Explain how can return codes be tested before execution of a job step?
Is their any set of rules for dd? Explain.
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
How can a fb file convert to vb file using sort program?
How is a type of file defined in the jcl that executes the cobol program?
What dd statement is used to supply the name of a dataset?
When output dataset space is required, what quantity categories are used?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY
Explain the function of job statement in jcl?
How can an in-stream dataset be terminated?
What do you understand by the terms: joblib and steplib?
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
Can I share my data with other jobs? How?