System Debug Reference Manual (32650-90888)
Chapter 4 153
System Debug Command Specifications :-Exit
ENV
TERM_LDEV U16 (io) rW
This variable contains the logical device number (LDEV) to use for I/O.
Debug determines this value by looking up the LDEV for the session.
If the ENV command is used to alter this value, Debug attempts to allocate
the indicated LDEV. If the LDEV is already allocated (that is, in use by
another session), an error status is returned. If the user has privileged
mode (PM) capabilities, the allocation check may be bypassed by specifying
a negative LDEV. In this case, all security and validity checking is
bypassed. Non-Preemptive send_io calls are done to the specified LDEV
without question.
When Debug is entered from a job (this is possible when the HPDEBUG
intrinsic is used), this variable is not used. Rather, Debug performs I/O to
the job's standard list file ($STDLIST).
If the JOB_DEBUG system wide variable is set, when a process being run in
a job enters Debug, this variable is set to the console port (LDEV 20) and
the CONSOLE_IO variable is set to TRUE.
Note that the CONSOLE_IO environment variable has precedence over
TERM_LDEV.
NOTE
A privileged procedure exists that allows the user to enter Debug and specify
the initial value of this variable. The name of the routine is debug_at_ldev.
It takes one parameter, the LDEV.
This variable is not available in DAT.
TERM_LOCKING BOOL (io) rw
If this variable is set (the default value), the debugger will perform
"terminal locking" (with a semaphore) to ensure that only one debug
process can use a terminal at any given time. This prevents multiple
prompts from appearing on the screen when debugging multiple processes
at the same terminal. The TERM command may then be used to control
which process owns the semaphore. If this variable is not set, no terminal
locking is performed.
The TERM_LDEV variable is not used to determine which semaphore to
attempt to lock; rather, the session number is used for this purpose. There
is one semaphore per session. If a process enters Debug with its I/O from
the system console (that is, the CONSOLE_IO variable was set to TRUE at
entry), a single console semaphore is used.
Altering the value of the CONSOLE_IO variable or the TERM_LDEV variable
does _not affect which semaphore is used for terminal locking.
This variable is not available in DAT.
TERM_LOUD BOOL (io) rw *
If this variable is clear, all output to the terminal is suppressed with the
exception of prompts and error messages. This is useful when listing large