information that is provided with the ready message. If you want this
timing information to appear, you can specify: &TIME ON or you can type the CPU times at particular places by using: &TIME TYPE The &CONTROL control statement allows you to specify whether certain
lines or types of information are displayed during execution. Ey
default, CP and CMS commands are displayed before they are executed. If
you do not wish to see them displayed, you can specify: &CONTROL OFF You might find it useful, when you are debugging your EXECs, to use: &CONTROL ALL When you use this for., all EXEC statements, as well as all CP and CMS commands, are displayed and you can see the variable substitutions being
performed and the branches being taken in a procedure. 108 IBM V8/370 CMS User's Guide
Summary of EXEC Control Statements and Special Variables
Figures 9 and 10 summarize
variables.
Control Statement
&variable
&ARGS [arg1 [arg2 ••• [arg30]]] &BEGEMSG [ALL]
line1
line2
&END &BEGPUNCH [ALL]
line1
line2
&END
r
,
r ,
&BEGSTACK IIRQI IALLI line1 ILIFOI L .J
line2 L .J SEND &BEGTYPE [ALL]
line1
line2
&END &CONTINUE EXEC control statements and special
Function IAssigns a value to the symbol Ispecified by &variable; the lequal sign must be preceded land followed by a blank. IRedefines the variable symbols 1&1, &2 ••• with the values of
l'arg1', 'arg2', ••• , and re­ Isets the variable &INDEX. IDisplays the following lines las CMS error messages, without Iscanning them. I 1 I IPunches the following lines lin the virtual card punch, ,without scanning them. , , I IStacks the following lines lin the console input buffer, Iwithout scanning them. I I I I IDisplays the following lines lat the without Iscanning them. I I 1
IProvides a branch address for I&ERROR, &GOTO, and other con­
Iditional branching statements.
Figure 9. Summary of EXEC Control Statements (Part 1 of 3)
Section 6. Introduction to the EXEC Processor 109
Previous Page Next Page