What is disp =( new Catlg delete?
Thereof, what is DISP =( OLD delete keep?
This tells the system to create a new dataset and catalog it even if the step abends. More often DISP=(NEW,CATLG,DELETE) will be used for new file creation. DISP=(OLD,DELETE,DELETE) is used for an existing file that is to be deleted regardless of the outcome of the step.
Keeping this in view, what is the default disp parameter in JCL?
When any of the sub-parameters of DISP are not specified, the default values are as follows: status : NEW is the default value. normal-disposition : If status is NEW, default normal-disposition is DELETE, else it is KEEP. abnormal-disposition : Same as normal disposition.
DISP=SHR means dataset already available. If one job updating the dataset then at same time other jobs can only read the dataset, it will not allow the more than one job update the dataset. SHR will allow multiple jobs to read dataset at same time.