| |
GeekInterview.com > Interview Questions > Mainframe > JCL
| Print | |
Question: DISP Parameter
Answer: If the DISP parameter for a dataset is DISP=(NEW,PASS,CATLG), What will happen when the JCL is run? The first time? The second time? |
| January 01, 2009 23:41:22 |
#4 |
| Shashank Gite |
Member Since: January 2009 Total Comments: 3 |
RE: DISP Parameter |
| In each run first run of JOB, if the JOB abends the data set will be cataloged and in second run it will give JCP ERROR ( Data set already cataloged). While if in the first run JOB ,it runs successfully data set will be created temporarily to be used by another steps in the same JOB but at the end of the JOB data set will not be there, because it is not cataloged. |
| |
Back To Question | |