This describes in detail the conditions under which FEPI CONVERSE and FEPI
RECEIVE commands complete, and how the completion condition is reported to
the application.
The completion conditions for each command are:
- FEPI CONVERSE DATASTREAM using a temporary conversation
- On the first to occur of:
- INTO data area full
- ‘change direction’ indicated
- ‘end bracket’ indicated.
It does not end at ‘end of chain’ alone; if a definite response
request is indicated on a chain, FEPI responds positively and continues receiving
data.
- FEPI CONVERSE DATASTREAM using a previously allocated conversation
- As for FEPI RECEIVE DATASTREAM.
- FEPI CONVERSE FORMATTED using a temporary conversation
- on the first to occur of:
- ‘change direction’ indicated
- ‘end bracket’ indicated.
It does not end at ‘end of chain’ alone; if a definite response
request is indicated on a chain, FEPI responds positively and continues receiving
data.
- FEPI CONVERSE FORMATTED using a previously allocated conversation
- As for FEPI RECEIVE FORMATTED.
- FEPI RECEIVE DATASTREAM
- This can be specified or defaulted to end in one of the following ways:
- RU
- on the first to occur of:
- INTO data area full
- end of request unit.
- CHAIN
- on the first to occur of:
- INTO data area full
- ‘end of chain’.
- UNTILCDEB
- on the first to occur of:
- INTO data area full
- ‘end of chain’ with definite response request
- ‘change direction’ indicated
- ‘end bracket’ indicated.
- FEPI RECEIVE FORMATTED
- At end of chain.
In all cases, ENDSTATUS is set to indicate the completion conditions and
RESPSTATUS is set to indicate whether a response is required and, if so, the
type of response. Where several conditions occur together, ENDSTATUS shows
the most significant. The values and their meanings are shown in Table 13.
Table 13. ENDSTATUS values and associated meanings
ENDSTATUS |
Commands |
Conditions |
Next command expected (except
after CONVERSE with POOL) |
RECEIVE |
CONVERSE without
POOL |
CONVERSE with
POOL |
End bracket |
Change direc-
tion |
End chain |
End RU |
INTO area full |
DS |
FM |
DS |
FM |
DS |
FM |
EB |
X |
X |
X |
X |
X |
X |
Y |
- |
Y |
Y |
- |
Any |
CD |
X |
X |
X |
X |
X |
X |
- |
Y |
Y |
Y |
- |
FEPI SEND or CONVERSE |
LIC |
X |
X |
X |
X |
- |
- |
- |
- |
Y |
Y |
- |
FEPI RECEIVE |
RU |
R |
- |
R |
- |
- |
- |
- |
- |
- |
Y |
- |
FEPI RECEIVE |
MORE |
X |
- |
X |
- |
X |
- |
- |
- |
- |
- |
Y |
FEPI RECEIVE |
Note:
- DS=Datastream
- FM=Formatted
- X=Possible with command
- R=Possible with RU option of command
- Y=Condition indicated.
|
[[ Contents Previous Page | Next Page Index ]]