Forum
Hello Viktor,
at line 144 ff of XMPACCOXÂ you will find a mechanism to allocate DB2’s DSNLOAD:
[tt]/*********************************************************************/
/* If DB2 Load Library is not part of z/OS LINKLIST: */
/* Allocate SDSNLOAD using CA TSOPLUS (or any other which adds the */
/* DB2 load libray dynamically to the STEPLIB). */
/*********************************************************************/
address TSO
"FREE FI(STEPLIBX) DA(‚SAMPLE."ssid".SDSNLOAD‘)"
"ALLOC FI(STEPLIBX) DA(‚SAMPLE."ssid".SDSNLOAD‘) SHR REUSE"
if rc <> 0
then do
say "DB2 SDSNLOAD library for SSID="ssid" is not available!"
say "Check z/OS LINKLIST or allocate to STEPLIB in advance!"
signal error
end [/tt]
If your LINKLIST already provides the SDSNLOAD you don’t need that code lines. If you provide the SDSNLOAD via DD-Name //STEPLIB in you JCL, you don’t nedd the lines either.
Regards
Gernot
PS: Still problems? Please provide yout JCL and JES and job error messages.