COBOL Manual for TNS and TNS/R Programs

Environment Division
HP COBOL Manual for TNS and TNS/R Programs522555-006
6-12
SPECIAL-NAMES Paragraph
on-phrase
switch-on
is a condition-name for testing the settings of switches. You do not have to
specify a mnemonic-name for a switch; you can just define this condition-
name.
off-phrase
switch-off
is a condition-name for testing the settings of switches. You do not have to
specify a mnemonic-name for a switch; you can just define this condition-
name.
Usage Considerations:
System-Name Clause Without a STATUS Phrase
When the System Name clause has no STATUS phrase, system-name must be
one of these values:
°
system-name is CONSOLE
When system-name is CONSOLE, the System-Name clause assigns a
mnemonic-name to the operator console. You can then use the mnemonic-
name in DISPLAY statements, as in this example:
SPECIAL-NAMES.
CONSOLE IS OPERATOR-CONSOLE ...
...
DISPLAY "MOUNT THE PAYROLL MASTER TAPE"
UPON OPERATOR-CONSOLE.
Value Meaning
CONSOLE Operator console
MYTERM Process’s home terminal
CHANNEL-1 through CHANNEL-12 Carriage-control tape channel
ON
IS
STATUS
switch-on
VST025.vsd
switch-off
OFF
IS
STATUS
VST026.vsd