GDSX Manual
DEVICE^HANDLER Example, Running and
Managing
Extended General Device Support (GDSX) Manual–134303
4-10
Running an Application Process
The input string read by the IOP was passed to $GDS, and then on to $A1, which
reversed the sequence of characters in the string. $A1 then issued a call to WRITE the
reversed string to $GDS.#TC1. $GDS scanned the reversed text for lowercase
characters to be converted to uppercase before issuing a WRITE to terminal $TC1, and
the IOP displayed the uppercase reversed string. After checking the condition code for
its WRITE, $GDS REPLYs to $A1, which then sends another prompt to the terminal by
means of GDSX.
Now at the TACL terminal, enter the following command at the SCF prompt:
-> ASSUME SU $GDS.#TC1
The new prompt includes the name of the SU.
Figure 4-4. Processing an Input String
$A1 $GDS IOP/Terminal
Reverse string
and WRITE
reverse string
Do datastream
conversion.
WRITE revised string
Display reversed
string and REPLY
REPLY (no
text returned)
WRITEREAD
prompt, "CPU, PIN-"
Do datastream
conversion.
WRITEREAD prompt
WRITE prompt
and read input text
CDT005
REPLY with
text input
REPLY with
text input