GDSX (Extended General Device Support) Manual

Operations and Support
Extended General Device Support (GDSX) Manual529931-001
3-6
Running SCF and Starting Requesters
The last example can also be done with an SU having object name D1 and an access
name, which is used to specify the file to be accessed through GDSX:
> RUN GDSE /NAME $GDSX, NOWAIT/
-> SCF
-> ADD SU $GDSX.#D1, ACCESSNAME $TC1.#C11
> RUN APPL /NAME $A1, OUT $GDSX.#D1, NOWAIT/
When GDSX is opened by requester $A1, the name of the file to be opened is not
derived as in the above examples but is taken from the name given by the
ACCESSNAME attribute.
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.
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.