GDSX (Extended General Device Support) Manual

Operations and Support
Extended General Device Support (GDSX) Manual529931-001
3-10
Running GDSX as a TS/MP Server
Pathway/iTS Applications With a LINE
Suppose that an application using Pathway/iTS and GDSX has a LINE. When starting
such an application, the GDSX process is run first. For example, the following
command can be issued to run a GDSX object named $GDSX:
> PARAM MAXLINES 1
> RUN GDSE /NAME $GDSX, NOWAIT/
The MAXLINES configuration parameter indicates to GDSX that there is to be a
maximum of one line in the configuration.
Then SCF must be used to configure the LINE and devices under the line, and to
START the LINE. Here is an example of a configuration having one LINE and three
SUs under the LINE:
-> SCF
-> ADD LINE $GDSX.#LINE1, ACCESSNAME $IOP1
-> ADD SU $GDSX.#LINE1.DEV1
-> ADD SU $GDSX.#LINE1.DEV2
-> ADD SU $GDSX.#LINE1.DEV3
-> START LINE $GDSX.#LINE1
When the LINE is started in SCF, GDSX refers to the line’s access name (the file
associated with the LINE object), opens the file ($IOP1 in this case), and creates a
LINE^HANDLER task to manage communication with the devices on the line. All
devices on the LINE are then available for access.
In PATHCOM, you configure SUs that Pathway/iTS is to open through GDSX. For
example, if a Pathway/iTS requester is to communicate through a GDSX process
named $GDSX with a subdevice DEV2 configured under line $LINE1, the file name
$GDSX.#LINE1.DEV2 is used in a series of PATHCOM commands like the following:
= SET TERM TCP TCP-X
= SET TERM TYPE T16-6530:0
= SET TERM INITIAL LOGON-SCREEN
= SET TERM FILE $GDSX.#LINE1.DEV2
= ADD TERM TX-2
A session or thread is established when you issue the following PATHCOM command:
= START TERM TX-2
Then the TCP opens the file specified in the configuration commands,
$GDSX.#LINE1.DEV2 in this example. The GDSX process receives the open
message, derives the name $LINE1.#DEV2 from the message, determines from
configuration information previously entered with SCF that DEV2 is configured under
line $LINE1, and establishes a thread from the TCP requester through $GDSX to the
line $LINE1 and then to device DEV2.
Running GDSX as a TS/MP Server
You can configure a GDSX application to run as if it were a TS/MP server. Running an
application as a server has two benefits: