CMSST — Set_Send_Type


CMSST (conversation_ID, send_type, return_code) [LOGGING log_byte]

Where

conversation_ID (character input) specifies the conversation identifier of the desired conversation.

send_type (numeric input) specifies what, if any, information is to be sent to the remote program in addition to any data supplied on the CMSEND call, and whether the data is to be sent immediately or buffered.

The send_type variable can have one of the following values:
  • CM_BUFFER_DATA
  • CM_SEND_AND_FLUSH
  • CM_SEND_AND_CONFIRM
  • CM_SEND_AND_PREP_TO_RECEIVE
  • CM_SEND_AND_DEALLOCATE

return_code (numeric output) specifies the result of the statement execution.

log_byte is a 1-byte string constant or a string expression that specifies a byte of user data to be associated with this CPI-C statement during logging. The log_byte remains active until another CPI-C statement is issued. Only the first character or first two hexadecimal digits of the string expression are used. The default log_byte is X'00'.

Function

A program uses the CMSST statement to simulate the CPI-C CMSST call, which is usedto set the send_typecharacteristic for a conversation. The CMSST statement overrides the value that was assigned when the CMINIT or CMACCP statement was issued.

For more information on CMSST and its parameters, refer to the Set_Send_Type (CMSST) call description in the “Call Reference” chapter of Systems Application Architecture Common Programming Interface Communications Reference.