GDSX (Extended General Device Support) Manual

LINE^HANDLER Example, Running and Managing
Extended General Device Support (GDSX) Manual529931-001
6-6
Running More Application Processes
All four user tasks are started. The SU objects have one open each and the LINE
object has three opens, one for each SU.
At the application terminal, enter at least three more text strings and observe the
rotation sequence of the prompts. The three requesters direct their output to logical
subdevices T1, T2, and T3, all of which are mapped to physical device $TC1 under
logical LINE $GDS.#LX.
At the SCF terminal, enter:
-> STOP SU Tn
where Tn is one of the two defined subdevices, T2 or T3, that is not currently
prompting on the application terminal. You should get the following message,
indicating that the SU has an opener ($An), and therefore cannot be stopped.
-> GDS E00011 STOP failed: Object is currently active
Then issue the following SCF command for the same subdevice:
-> ABORT SU Tn
You should get no message in response. Then enter:
-> STATUS SU Tn, DETAIL
This STATUS commands shows that the SU is stopped, and there is no corresponding
task (task number equal to 0). The processing that occurred is described under The
USER^STOP Procedure on page 5-19, except that because here dcb.lineno is equal to
1, a message is not written to the terminal (a message would only interrupt the thread
currently displaying a prompt).
At the TACL terminal, enter:
> STATUS *, TERM
Requester process $An should not appear. If you try entering text strings at the
application terminal, you should only get prompts from the remaining two requesters.
At the SCF terminal, enter:
-> STATUS SU *
The display indicates that the SU Tn still exists in the stopped state, with no opens.
Now stop the SU Tm that is currently prompting on the application terminal:
-> ABORT SU Tm
On the application terminal, after the CPU and PIN prompt, you should see the
message:
D^H TASK STOPPED
followed by the prompt from the remaining requester application. At the SCF terminal,
enter:
-> STATUS, SUB ALL