RECEIVE


This command issues a VTAM RECEIVE against an OSPI session.

It is used for OSPI sessions with applications that use non-standard protocol.

See Interacting-with-VTAM-applications-with-OSPI for more information about using this command and OSPI.

When using this statement, you must remember to code IMFEXEC with the RECEIVE command. If you do not, you might cause the TSO/E RECEIVE command to be invoked.

Command

Parameters

RECEIVE

SESSION(sessionID)[TIMEOUT(10|n)]

The following table describes the parameters:

Parameter

Function

Notes

SESSION

ID name of the session

This session identifier is returned initially through the LOGON command.

TIMEOUT

Time to wait, in seconds, for data to arrive

Numeric value in the range 0-9999

Condition codes are listed in the following table:

Value

Description

0

Command was executed successfully; data was received.

4

No data was available during the given interval.

Example

This command attempts to receive another data packet from the session that is identified by the CNMSESS variable.

/* REXX */
"IMFEXEC RECEIVE SESSION("CNMSESS")"

CLIST example:

IMFEXEC RECEIVE SESSION(&CNMSESS)

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Ops Automation 8.4