FEPI SET TARGET

Set the use of FEPI targets.

FEPI SET TARGET

Read syntax diagramSkip visual syntax diagramFEPI SETTARGET(data-value)TARGETLIST(data-area)TARGETNUM(data-value)SERVSTATUS(cvda)INSERVICEOUTSERVICEUSERDATA(data-value)
Notes:

Description

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.

Options

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.

Conditions

INVREQ
RESP2 values:
110
SERVSTATUS value not valid.
116
TARGET name unknown.
119
The command failed for one or more items in the list.
130
TARGETNUM value is out of range.