GDSX (Extended General Device Support) Manual
LINE^HANDLER Example, Design
Extended General Device Support (GDSX) Manual—529931-001
7-24
Tracing a ^CANCEL
At the TACL terminal, enter SCF and stop the SU whose prompt currently appears on
the application terminal:
> SCF
-> ABORT SU $GDS.#LX.Tn
At the Inspect terminal, you should see that the program encountered the breakpoint at
the CALL ^CANCEL statement.
Display the value of tcb.term (the ITC file number that the DEVICE^HANDLER task
uses for intertask communication):
- DISPLAY TCB.TERM
Resume program execution. This time your process should hit the breakpoint in the
CANCEL^ITC SUBPROC. Display the values of oldest and newest. What is the value
at wt^rd^iocb^list[oldest]? A value of 0 means that the ^WRITEREAD outstanding to
the LINE object was marked as canceled.
Step the program through the remainder of CANCEL^ITC. Observe the output to the
application terminal and the deallocation of the IOCB allocated by TSCODE. Continue
single stepping until a new prompt appears at the application terminal, and then enter
“STOP“ to stop the GDSX process.
At the TACL terminal, exit from SCF:
-> EXIT
Confirm that GDSX and all requester processes are gone. Log off all terminals.