Previous Topic: $BSCALL OPT=REVIEW

Next Topic: Notification Exit Interface


$BSCALL OPT=DISCARD

Decrements the outstanding receivers counter by one.

&CONTROL NOSHRVARS NOVARSEG
-EXEC $BSCALL     OPT=DISCARD 
                [ ID=nnnnnnnn ]

This call is made by the distributed $LOGPROC procedure when the message N15577 is encountered. If the log proc procedure is customized, you must make sure that the code that processes the broadcast discarded message is present in the customized log proc procedure.

Operands:

OPT=DISCARD

Specifies that the outstanding receivers counter is to be decremented by one.

ID=nnnnnnnn

This is the user-supplied broadcast ID. If this is not specified, your product region will automatically generate a numeric broadcast ID, 8 digits in length.

Return Codes:

&RETCODE = 0

$BSCALL completed successfully.

&RETCODE = 8

An error occurred. &SYSMSG is set with an error message.

&RETCODE = 8

Example: OPT=DISCARD

&CONTROL NOSHRVARS 
-EXEC $BSCALL OPT=DISCARD ID=123456