GDSX (Extended General Device Support) Manual
DEVICE^HANDLER Example, Running and
Managing
Extended General Device Support (GDSX) Manual—529931-001
4-10
Running an Application Process
At the first application terminal, enter a short text string followed by a carriage return.
The string of characters should then be displayed in reverse order. In addition,
lowercase alphabetic characters should now appear as uppercase, indicating that the
intermediate GDSX process has done its datastream conversion. Figure 4-4 illustrates
the message flow for this transaction.
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,
Figure 4-4. Processing an Input String
REPLY with
text input
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
VST015.vsd
$A1
IOP/Terminal
$GDS
REPLY with
text input