FEPI SET TARGET controls the use of FEPI targets. Lists may be used to
set more than one target at a time; all targets in the list are set to the
same state. The function completes immediately, although the requested settings
may not be achieved until later.

FEPI SET TARGET
>>-FEPI SET--+-TARGET(data-value)---------------------------+--->
'-TARGETLIST(data-area)--TARGETNUM(data-value)-'
>--+------------------+--+----------------------+--------------><
+-SERVSTATUS(cvda)-+ '-USERDATA(data-value)-'
+-INSERVICE--------+
'-OUTSERVICE-------'
- SERVSTATUS(cvda)
- specifies the service state of the target; that is, whether the target
can be used for a conversation or not. The relevant CVDA values are:
- INSERVICE
- Allows usage of the target in a conversation.
- OUTSERVICE
- Stops usage of a target for any new conversation, although existing
conversations are unaffected. The service state is GOINGOUT until
these conversations end.
If this option is not coded, the service state is not changed.
- TARGET(8-character data-value)
- specifies the name of the target to be set.
- TARGETLIST(data-area)
- specifies a contiguous array of 8-character target names to be set.
- TARGETNUM(fullword binary data-value)
- specifies the number of target names in TARGETLIST, in the 1-256.
- USERDATA(64-character data-value)
- Specifies optional user data relating to the targets; it is not used
by FEPI. It replaces any previous user data that was set.
Condition |
RESP2 |
Meaning |
INVREQ |
110 |
SERVSTATUS value not valid. |
INVREQ |
116 |
TARGET name unknown. |
INVREQ |
119 |
The command failed for one or more items in the list. |
INVREQ |
130 |
TARGETNUM value is out of range. |
[[ Contents Previous Page | Next Page Index ]]