Control Statements-&STACK &STACK Use the &STACK control statement to stack a single data line in the
console input stack. Stacked lines may be read by the EXEC, by or bV the CMS editor. The format of the &STACK control statement is:
r , I &STA:K , I , L ____ _ LIFO specifies that the line is to be stacked in a first in, first
out sequence, and is the default if not specified otherwise.
specifies that the line is to be stacked in a last in, first
out sequence.
tokl (tok2 ••. [tokn]] HT
RT
specify the tokens to be stacked. If no tokens are specified,
a null line is stacked. The tokens are in expanded form.
stacks the CMS Immediate command HT (halt typing), which is
executed immediately. All terminal display from the EXEC is
suppressed until the end of the file or until an RT (resume typing) command is read.
stacks the CMS Immediate command RT (resume typing), which is
executed immediately. If terminal display has been suppressed
as the result of an HT (halt typing) request, display is
resumed.
1. Lines stacked with the &STACK control statement are scanned by the EXEC interpreter and variable symbols are substituted before the
line is stacked. To stack one or more unscanned lines, use the &BEGSTACK or &BEGSTACK ALL control statement.
2. You must use the &STACK control statement when you want to stack a
null line. 3. Any CMS Immediate command may be executed in an EXE:, using the &STACK control statement.
4. A complete discussion of techniques you can use to stack commands
and data in the console stack is provided in the 294 VM/370 CMS Command and Macro Beference
EXEC Control Statements-&TIME &TIME Use the control statement to
displayed at the terminal after each
format of the &TIME control statement
request timing information to CMS command that is is: be
The r I r , I &TIME ION I I I I I L- ON RESET '!'YPE I ,RESETI I TYPE, L .J
resets the processor's time before every CMS command, and
prints the timing information on return. If the &CONTROL
control statement is set to CMS or ALL, the display of the
timing information is followed by a blank line.
does not automatically reset the processor's time before every eMS command, nor does it print the timing information on
return.
performs an immediate reset of the processor's time.
displays the current timing information (and resets the
processor's time).
1. When timing information is displayed, it is in the format:
T=x.xx/y.yy hh:mm:ss where; x.xx is the virtual processor's time used since it was last
reset in the current EXEC file. y.yy is the total of the processor's time used since it was
last reset in the current EXEC file.
hh:mm:ss is the actual time of day in hours:minutes:seconds.
2. The processor's time is set to zero before the execution of the
first statement in the EXEC file, and is again set to zero (reset)
whenever timing information is printed.
Section 5. EXEC Control Statements 295
Previous Page Next Page