Trying to use the CAUNZIP utility to process a newly downloaded SCART0.zip file. The batch job ends RC=12 with the following error message observed:
CAZIP04E: Dynamic Allocation of IPTF path Failed RC=12
We have maintenance for this problem applied already see CAIRIM R14.1 PTF RO91948. The CAUNZIP messages reflect that this PTF is in effect:
vers="CAUNZIP r14.1 (08/04/16) REXX ".
Cause determined to be due to syntax. When defining the ZIPPATH variable the leading '/' has to be included otherwise the relative position to the job's PWD ( Print Working Directory ) is used and most likely no access is granted.
Be certain that your batch job has path's specified as absolute direct paths , and not assumed as they may likely have different resolutions of the path strings. Specifically for ZIPPATH variable.
See IBM UNIX System Services Planning Guide