FEPI SEND DATASTREAM
FEPI SEND DATASTREAM sends application data to a target. The data supplied by the application must be currently valid data stream appropriate to the mode of the conversation (SLU2 or SLU P).
Full details about the data are given in Data formats. The command completes as soon
as the (first) z/OS Communications Server VTAM SEND has been accepted.
Syntax
FEPI SEND DATASTREAM >>-FEPI SEND DATASTREAM--CONVID--(--data-value--)---------------> >--FROM--(--data-value--)--+---------------------------+--------> '-FLENGTH--(--data-value--)-' >--+--------+--+-----+--+---------------------------+-----------> '-INVITE-' '-FMH-' '-SEQNUMIN--(--data-area--)-' >--+----------------------------+------------------------------>< '-SEQNUMOUT--(--data-area--)-'
Options
- CONVID(8-character data-value)
- specifies the ID of the conversation to use. The conversation must be owned by the task issuing the command.
- FMH
- indicates that the data to send includes a function management header.
- FLENGTH(fullword binary data-value)
- specifies the length of the data to send; that is, the length of the data area identified by the FROM option. It must not be zero or more than the maximum length allowed for the pool.
- FROM(data-value)
- specifies the data to send to the back-end application. Its length is specified by the FLENGTH option.
- INVITE
- requests FEPI to send "last in chain" and "change direction" at the end of the data. This indicates that the data is complete, and that inbound data is expected next.
- SEQNUMIN(fullword binary data-area)
- in SLU P mode, returns the current sequence number for inbound data, as at the completion of the command. (SEQNUMIN has no significance in SLU2 mode.)
- SEQNUMOUT(fullword binary data-area)
- in SLU P mode, returns the current sequence number for outbound data, as at the completion of the command. (SEQNUMOUT has no significance in SLU2 mode.)
Conditions
The INVREQ condition can have the following RESP2 values:
- RESP2
- Meaning
- 40
- FLENGTH value negative or more than maximum allowed for the current pool.
- 50
- Inbound data with "begin bracket" to be received.
- 58
- z/OS Communications Server VTAM SEND failed.
- 212
- Conversation has wrong data format.
- 215
- Session lost.
- 216
- Error occurred on previous FEPI SEND.
- 220
- FEPI SEND not allowed at this point in the conversation.
- 224
- Only FEPI ISSUE or FEPI FREE commands allowed at this point in the conversation.
- 230
- SNA CLEAR command received.
- 231
- SNA CANCEL command received.
- 232
- SNA CHASE command received.
- 233
- Exception response received.
- 234
- Exception request received.
- 240
- Conversation ID not owned by this task.
