GDSX Manual

Design and Development
Extended General Device Support (GDSX) Manual134303
2-53
DEVICEINFO
The GDSX process name must be specified in one of these formats:
$GDSX-process-name
$GDSX-process-name.#GDS
$GDSX-process-name.#GDS.qualifier
If GDSX receives a DEVICEINFO message specifying a file other than the GDSX
process, and if DEVICEINFO is equal to 1, then TSCODE determines whether the
DEVICETYPE attribute is specified (by means of an SCF ADD or ALTER command
with DEVICETYPE and PHYSRECLEN). If the DEVICETYPE attribute is specified,
the PHYSRECLEN attribute must also be specified, and DEVICETYPE,
DEVICESUBTYPE, and PHYSRECLEN are returned when completing the request.
For example, if DEVICEINFO is equal 1 and an SU is configured with the SCF
command:
-> ADD SU $GDSX.#CP6100.SDN, DEVICETYPE 6, PHYSRECLEN 80
then a DEVICEINFO2 request specifying $GDSX.#CP6100.SDN is returned device
type 6 and physical record length 80. This type of response is useful in situations where
the values returned by calling DEVICEINFO2 against the access name device (see
following paragraphs) would not be appropriate: for example, when the terminal is
presented to the requester application as a 3270 device, although the physical device is
not a 3270 device.
If GDSX receives a DEVICEINFO message specifying a file other than the GDSX
process, if DEVICEINFO is equal to 1, and if TSCODE determines that DEVICETYPE
is not specified, then the values returned by calling DEVICEINFO2 for the access name
device are used to complete the request. For example, if DEVICEINFO is equal to 1
and a LINE is configured with the SCF command:
-> ADD LINE $GDSX.#CP6100
then a DEVICEINFO2 request specifying $GDSX.#CP6100 is returned the values
received by calling DEVICEINFO2 for $CP6100 (the derived access name for the line).
If DEVICEINFO is equal to 1 and an SU is configured with the SCF command:
-> ADD SU $GDSX.#TERM.A, ACCESSNAME \COMM.$TA
then a DEVICEINFO2 request specifying $GDSX.#TERM.A is returned the values
received by calling DEVICEINFO2 for \COMM.$TA (the explicitly configured access
name for the SU).
Does the DEVICEINFO message specify the GDSX process?
Yes No
Reply with
(57, 0, 132)
Is DEVICEINFO parameter = 1?
Yes No
Is DEVICETYPE specified? Return record length
and type and subtype
of process (0, 0)
Yes No
Return
DEVICETYPE,
DEVICESUBTYPE,
and PHYSRECLEN
Return values from
DEVICEINFO2 call
on access name
device