DSNRLI errors are reported back to the calling program, the dsnrli.cpy copybook contains a list of error and reason codes that are returned. If a DSNRLI function is called that requires the association of an XA switch module with the current unit of work, and that association fails, DSNRLI will issue the following messages.
Reason | Error |
---|---|
For a failure in associating the switch module: | MVSXM0037S [Switch Module] XA resource is not enabled |
For a switch module that does not exist | MVSXM0038S [Switch Module] XA resource has not been found |
In both cases, DSNRLI will return a return-code of 8, and the reason code will be ERR-XA-RESOURCE-NOT-ENABLED (0x00F30002) or ERR-NOT-IDENTIFIED (0x00C12204), as appropriate.