Previous Topic: APPCCODE and APPCERCNext Topic: OSCaR Commands


System Fields

WHAT-RECEIVED

This variable tells you what was received from the remote program. It is updated after the RECEIVE-AND-WAIT command is executed.

Contents

Meaning

DATA-COMPLETE

Data was received successfully.

CONFIRM

The remote dialog issued a CONFIRM command and expects the local dialog to reply with the CONFIRMED command.

CONFIRM-SEND

The remote dialog issued a PREPARE-TO-RECEIVE command with the CONFIRM option. The local dialog can reply with either a CONFIRMED or a SEND-ERROR command.

CONFIRM-DEALLOCATE

The remote dialog issued a DEALLOCATE command with the CONFIRM option. The local dialog can reply with either a CONFIRMED or a SEND-ERROR command.

SEND

The remote program is in receive state and the local dialog is now in send state. The local dialog can now issue a SEND-DATA command.

REQUEST-TO-SEND- RECEIVED

This variable tells you whether or not the remote dialog issued the REQUEST-TO-SEND command. This variable is updated after the CONFIRM or the SEND-DATA command executes.

Contents

Meaning

0

The remote program has not requested to send data

1

The remote program is requesting to send data

If the local dialog receives REQUEST-TO-SEND then REQUEST-TO-SEND-RECEIVED is set to 1.

The local dialog resets REQUEST-TO-SEND-RECEIVED to 0 after every CONFIRM, SEND-DATA, and SEND-ERROR command.