GDSX Manual
Operations and Support
Extended General Device Support (GDSX) Manual–134303
3-6
Running SCF and Starting Requesters
Note that for any of the three preceding examples using preconfigured SUs, dynamic
SUs may also be used. Dynamic SUs and preconfigured SUs may coexist in a GDSX
application. For example, in the preceding example after running application process
$A1, another command could be issued to start a requester $A2 that sends output
through GDSX to terminal $TC2.#C22:
> RUN GDSE /NAME $GDSX, NOWAIT/
-> SCF
-> ADD SU $GDSX.#D1, ACCESSNAME $TC1.#C11
> RUN APPL /NAME $A1, OUT $GDSX.#D1, NOWAIT/
> RUN APPL /NAME $A2, OUT $GDSX.#TC2.C22, NOWAIT/
Here requester $A1 communicates through $GDSX to $TC1.#C11, and requester $A2
communicates through $GDSX to $TC2.#C22. Within SCF, all currently configured
SUs (both preconfigured and dynamic) are listed when the following command is
issued:
-> INFO SU $GDSX-process-name.*.*
A GDSX process can access a device located on a remote node if the device is
preconfigured with SCF. (This cannot be done with a dynamic SU, because the node
name cannot be specified.) For example, suppose a GDSX process $GDSX is run on
node \LA:
> RUN GDSE /NAME $GDSX, NOWAIT/
-> SCF
-> ADD SU $GDSX.#D1, ACCESSNAME \NY.$IOP1.#TC1
> RUN APPL /NAME $A1, OUT $GDSX.#D1, NOWAIT/
When requester $A1 starts up, the file $IOP1.#TC1 will be accessed on node \NY.
Running GDSX With a LINE
In all of the following examples of commands used to configure GDSX applications
with a LINE, the requester program APPL is used. (A listing of APPLS appears in
Appendix A.) The OUT file specified in the RUN command used to start APPL is used
by APPL to open GDSX. The OUT file always specifies the name of a GDSX process
qualified by LINE and/or subdevice names.
An example of how Pathway/TS requesters may be used in a GDSX application is
provided in “Running a Pathway/TS Application” on page 3-9
The configuration parameter with external parameter name MAXLINES is used to
specify the maximum number of LINEs that may be configured for the GDSX process.
The default for the parameter is zero. To run GDSX with a LINE, the configuration
parameter must be set to some positive integer less than 15 either by an assignment
within the USER^INIT^CONFIG^PARAMS user exit of the GDSX object file or by a
TACL PARAM command. See “MAXLINES” on page 2-61.
Note. GDSX requires that external processes provide a two-level or three-level qualified name
when opening GDSX. A simple process name, $GDSX, for example, is not allowed.