TSOLIB command return codes

Table 1 lists all the return codes of TSOLIB command.

Table 1. TSOLIB command return codes
Return code Meaning
0 Processing successful. A load module or program object library, or a list of load module libraries, has been successfully activated, deactivated, or reset. However, informational messages may have been issued, for example, IDY00020I Unable to free previously allocated data sets. Enter ? for more information.
4 A TSOLIB library does not exist for this type (when deactivating a TSOLIB library).
8 A load module library already exists for this type when the COND operand is used.
16 The load module library specified with the TSOLIB ACTIVATE command was not previously allocated.
20 Severe error. More information is contained in the messages.
24 Internal processing error. TSOLIB is either unable to establish a recovery environment or encountered an error processing a TSOLIB installation exit.
28 Environment error. TSOLIB was not invoked in a TSO/E READY environment.
32 Environment error. TSOLIB was not invoked as a command processor.