Specifying error handling

RSP3C handles status and messages the same way MODELRSP does. It uses three SPAREA fields to communicate status and messages to MainframeConnect: SPRC, SPSTATUS, and SPMSG. See “SPAREA definitions” for a description of how they are used.

NoteYour code should always check the SPRC field after issuing any RSP command. See “Specifying error handling” for more information on error handling.