Previous Topic: Dialog B:  Server listing (Mainframe)Next Topic: ALLOCATE


SEND/RECEIVE Commands

SEND/RECEIVE commands are listed below. Syntax and syntax rules for each command is presented in alphabetical order after the table.

Command

What it does

When it's issued

ALLOCATE

Begins a conversation with a server dialog

The first communication command issued by the client dialog when it's ready to communicate

CONFIRM

Sends a confirmation request to the remote program and waits for a reply

Issued by the dialog in send state

CONFIRMED

Sends a confirmation reply to the remote program

Issued by the dialog in confirm state

CONTROL SESSION

Acknowledges the conversation and agrees to the rules governing the conversation; a CA extension to APPC used in PC-to-mainframe conversations, but not required for mainframe-to-mainframe communication

Issued by the server dialog in response to the client dialog's ALLOCATE; parameters must match those on the ALLOCATE

DEALLOCATE

Ends the conversation

The last command in the conversation issued by either dialog

PREPARE-TO- RECEIVE

Changes the local side to receive state

Issued by the dialog in send state in response to REQUEST-TO-SEND

RECEIVE-AND-WAIT

Waits for a response from the remote program and receives the data or a value in the system field, WHAT-RECEIVED, upon arrival

Issued by a dialog that wants to receive data (the dialog can be in send or receive state); when used in send state, it indicates that the local dialog wants to receive data, allowing the remote dialog to send data

REQUEST-TO-SEND

Notifies the remote program that the local program is ready to send data

Issued by the dialog in receive state

SEND-DATA

Sends data to the remote program

Issued by the dialog in send state

SEND-ERROR

Notifies the other dialog of an application-level error

Issued by either dialog