An .ALLOC statement executed in the Batch Processor for Db2 for z/OS (RBP) results in this message:
BPA0002E: UNABLE TO DYNAMICALLY ALLOCATE FILE - RETURN CODE 0001708
It is DYNALLOC (SVC 99 ALLOCATION/DEALLOCATION) macro HEX return code.
Meaning: One of the following occurred:
- The data set name specified is in error. (program error)
- A system error occurred when processing the data set name
Corresponding Messages: IKJ56228I or IKJ56229I
Look for the corresponding message that explain the error and list the dataset name, like this example:
IKJ56228I DATA SET hlq.xxxxxxx.SYSPUNCH NOT IN
CATALOG OR CATALOG CAN NOT BE ACCESSED