CMSEND 

Use

This call sends data to the partner program. The maximum number of characters, which can be sent with one call is limited to 32000.

If a program has send authorization, it can call the following functions:

Activities

Syntax

CMSEND (conv_id, buffer, send_length, request_to_send_received, rc)

Parameters

conv_id

ID of the conversation, via which data is to be sent (input value)

buffer

Buffer to be sent

send_length

The number of characters to be sent (input value)

request_to_send_received

Variable indicating whether the partner wants to send data (return code). This variable can have two possible values:

rc

Return code (output value)

CM_OK: Routine was executed without errors.

The return code contains the same value as rc.