GDSX Manual

LINE^HANDLER Example, Running and Managing
Extended General Device Support (GDSX) Manual134303
6-6
Running More Application Processes
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-18, 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
The STATUS command display should show that one SU and the LINE object are open
and started, and Tn and Tm are stopped with no opens.
At the application terminal you may verify that only one requester process is sending
prompts to the terminal. Then press CTRL/Y to stop this process. You can press the
Break key to get a TACL prompt at the application terminal.
At the SCF terminal, enter:
-> STATUS, SUB ALL
The STATUS command display should show that the LINE object is started with no
opens, while the SU objects are all stopped with no opens.