if You confirm that the dynamic allocation subroutine returns a misleading RC
the only thing to do is to fix it
in order to return a proper
RC nothing more, nothing less
the hex representation for Your supposed return code -26868, corresponds to a 0x970C
which IIRC is a proper dynamic allocation return code ...
would be wiser to use the proper HEX representation in order not to have people
waste time finding the corresponding HEX which is needed to search the manuals
DARC 970C indicates an SMS reason code (97xx) and is described in chapter
26.3.2 of MVS Authorized Assembler Services Guide:
Severe SMS VTOC service error.
available for example herehttp://publibz.boulder.ibm.com/cgi-bin/ ... 0602053331