CSLOMUSB: Unsubscribe to unsolicited messages

With the CSLOMUSB request, SPOC clients can unsubscribe to OM and stop receiving unsolicited output messages from a command processing client, such as IMS.

This request is supported in Assembler and PLX.

CSLOMUSB syntax

CSLOMUSB FUNC-DSECT syntax

Use the DSECT function of the CSLOMUSB request to include equate (EQU) statements in your logic for the CSLOMUSB parameter list length and return and reason codes.

Read syntax diagramSkip visual syntax diagramCSLOMUSB FUNC=DSECT

CSLOMUSB request syntax

With this syntax, SPOC clients can unsubscribe from OM to stop receiving unsolicited output messages.

Read syntax diagramSkip visual syntax diagramCSLOMUSB FUNC=UNSUBSCRIBEPARM= parmRETCODE= returncodeRSNCODE= reasoncodeSCITOKEN= scitoken

CSLOMUSB parameters

PARM=parm
PARM=(r1-r12)
Specifies the CSLOMUSB parameter list. The length of the parameter list must be equal to the parameter list length equate (EQU) value that is defined by OUSB_PARMLN.
RETCODE=returncode
RETCODE=(r1-r12)
Specifies a 4-byte field to receive the output return code. OM return codes are defined in the CSLORR. SCI return codes are defined in CSLSRR.

OM or SCI provides the return code. The value of the high-order byte in the return code identifies whether SCI (X'01') or OM (X'02') provided the return code.

RSNCODE=reasoncode
RSNCODE=(r1-r12)
Specifies a 4-byte field to receive the output reason code. OM return codes are defined in the CSLORR. SCI return codes are defined in CSLSRR.
SCITOKEN=scitoken
SCITOKEN=(r1-r12)
Specifies a 16-byte field that contains the SCI token, which uniquely identifies this connection to SCI. The SCI token is returned by a successful CSLSCREG FUNC=REGISTER request.

CSLOMUSB return and reason code

The return and reason codes shown in the following table can be returned on a CSLOMUSB request:

Table 1. CSLOMUSB request return and reason code
Return code Reason code Meaning
X'00000000' X'00000000' The request completed successfully.