Previous Topic: $CACCI OPT=RECEIVE

Next Topic: $CACCI OPT={TERM | TERMINATE}


$CACCI OPT=SEND

Requests that CA CCI send data to a registered receiver.

&CALL PROC=$CACCI PARMS=(OPT=SEND,
                         ID=cci_id,
                         NAME=name,
                        [SYSID=sysid,]
                        [WAIT={YES | TARGET},]
                         DATA=data)

Operands:

ID=cci_id

Specifies the identifier returned in $CACCIID from an earlier CCI INIT call.

NAME=name

Specifies a receiver to send to.

Limits: 1 to 20 mixed case characters, numbers, spaces and special characters. Special characters require quotes.

SYSID=sysid

Specifies the system ID of a receiver to send to. This operand is not required if the receiver is active on the same system.

WAIT={YES | TARGET}

Specifies when the request is complete:

DATA=data

Specifies the data to send.

Limits: 1 to 256 bytes

Note: If the data contains spaces or special characters, you can use the &ZQUOTE built-in function.

Examples:

&TEXT = &ZQUOTE This is a test
&CALL PROC=$CACCI PARMS=(OPT=SEND,+
ID=&MYTEST,+
NAME=FRED,+
SYSID=A11SENF,+
WAIT=TARGET,+
DATA=&TEXT)