IBM Support

ISPLLIB and -3 return code when using DSNREXX CONNECT in REXX

Question & Answer


Question

I get a -3 return code when I use DSNREXX CONNECT in REXX. The SDSNLOAD library is allocated in the STEPLIB statement for the batch execution and is allocated through LIBDEF (ISPLLIB) for the online run.

Cause

ISPLLIB works only for those programs that are started through ISPF SELECT PGM/CMD commands, not MVS LOADS etc, which DSNREXX uses.

Answer

You need to use TSOLIB (at TSO READY) or one of the other dynamic STEPLIB programs on the CBT (which can - at your own risk - be used inside ISPF) to put SDSNLOAD into your step task lib.

[{"Product":{"code":"SSEPEK","label":"Db2 for z\/OS"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"DB2 Rexx","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"7.0;8.0;9.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 June 2018

UID

swg21163149