CMESL — Extract_Sync_Level


CMESL (conversation_ID, sync_level, return_code) [LOGGING log_byte]

Where

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

sync_level (numeric output) specifies the variable containing the sync_level characteristic of the conversation. The sync_level variable can have one of the following values:
  • CM_NONE
  • CM_CONFIRM

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 CMESL statement to simulate the CPI-C CMESL call, which is usedto extract the sync_level characteristic's value for a given conversation. The value is returned in the sync_level parameter.

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