The ECHO command turns on and off character echoing (i.e., the characters that are typed are either displayed, or not displayed, as you type them). You may issue the command:
ECHO OFF
to turn off character echoing, or
ECHO ON
to turn on character echoing (the default)
If you issue the ECHO command without any parameters, the current state of echoing will be toggled.
The BREAK command enables or disables the function of the "break key" (set to ^C by default). You may issue the command:
BREAK OFF
or
BREAK 0
to disable the break key, or
BREAK ON
or
BREAK 1
to enable the break key (the default)
The P command toggles display output off and on. When in "P" mode, all output generated by the CTO is discarded.
The TIME command displays the current time and date. You may also optionally enter a time, and the TIME command will display the internal time value associated with your entry. You may also optionally enter an internal time value, and TIME will display the "user readable" time associated with your entry.
TIME
15:35:42 21 OCT 2005
TIME 32000
08:53:20AM
TIME 10:30PM
81000
The DATE command displays the current date. You may also optionally enter a date, and the DATE command will display the internal date value associated with your entry. You may also optionally enter an internal date value, and DATE will display the "user readable" date associated with your entry.
DATE
21 OCT 2005
DATE 9872
10 JAN 1995
DATE 4/22/1963
-1714
The CTO_SLEEP command will put a process to sleep until the time specified.
From a BASIC program:
CALL CTO_SLEEP(“11:45:30PM”)
From TCL:
CTO_SLEEP 11:45:30PM
The SET.OPTIONS command allows you to set or display account options. It has the following syntax:
SET.OPTIONS {<optionname>|<optionnumber>,{<value>?}}
When issued without parameters, SET.OPTIONS will display a full list of options available, their possible values, and their current values. Each option will have an option number preceding the option name, followed by the list of possible values. The default value for the option will be indicated by parenthesis.
For example, entering the command:
SET.OPTIONS
Will produce a display similar to:
1. FLAVOR [AREV32|D3|OI|(R83)|UNIVERSE]=R83
2. SAVE_STACKED_COMMANDS [(0)|1]=0
3. EXECUTE_ALL_STACKED_COMMANDS [0|(1)]=1
To examine a single options value, you may specify either the option name or option number followed by “,?”. For example, to examine the current account flavor, you may enter the command:
SET.OPTIONS FLAVOR,?
Or
SET.OPTIONS 1,?
In our example, this would return:
R83
To set an option value, you may specify either the option name or option number, followed by a comma and an acceptable option value. For example, to set the current account flavor to AREV32, you may enter the command:
SET.OPTIONS FLAVOR,AREV32
Or
SET.OPTIONS 1,AREV32
Option changes remain in effect only throughout the current login session.
It is also possible to query or set options while in Basic+ procedures. Please see SET.OPTIONS in the BASIC+ SUPPORT ROUTINES section.
Current options include:
1. FLAVOR: Modifies compiler and I/O settings to comply with the specified type of mutivalue system;
2. SAVE_STACKED_COMMANS: Indicates whether commands executes in PROCs are recorded in the TCL stack;
3. EXECUTE_ALL_STACKED_COMMANDS: Indicates whether any pending commands in the PROC buffer are executed when the PROC terminates without an active select list