Dynamic recovery from allocation errors
When certain dynamic allocation errors occur that prevent allocation of a data set for a job, Dynamic Allocation Error Recovery allows you to correct these errors using operator intervention and avoid the associated abends.
Member BCFDALIN of the BCF sample library provides examples of allocation errors that you can correct using this recovery process. The following figure lists the default allocation errors that can occur during dynamic allocation and that can be corrected by using this function.
Default allocation errors that can be corrected
DC C'020C0000' DATA SET IN USE
DC C'02100000' ALLOCATED TO ANOTHER JOB
DC C'02140000' DEVICE NOT AVAILABLE
DC C'02180000' NOT MOUNTED
DC C'02200000' VOLUME NOT AVAILABLE
DC C'02240000' NOT ENOUGH UNITS
DC C'02280000' VOLUME IN USE BY SYSTEM
DC X'FF'
END
To enable BCF to process allocation errors that can be corrected, modify the BCFDALIN member, and assemble and link-edit the module into the BCF load library. Member #BCFALIN of the BCF sample library contains sample JCL for the assemble and link-edit task. If you modify the BCFDALIN member, you should move it to another library so it will not be overwritten when you apply maintenance to BCF. The IBM publication OS/VS2 System Programming Library: Job Management for MVS/370 lists all dynamic allocation error codes that can be used for allocation error processing under the topic 'SVC 99 Return Codes.'
Related topic