r Control statement &CONTROL r ,r ,r ,r , I 0 FF I I I I TI MEl I I IERRORI INOMSGI INOPACKI I I L .J L .J L ..I ,ALL , L .J &EMSG mmmnnns [tok1 [ ••• tokn]]
&END
r ,&ERROR I executable-statement I I L .J r , &EXIT I return-code I I .Q I L .J &GOTO {TOP } linenumber
-label /&HEX {ON } {OFF} =
<
<=
>
)=
{
tok2 } executable-
&$ statement
&*&LOOP { n } { II }
-label condition
FunctionISets, until further notice, Ithe characteristics of the lexecuticn summary of the EXEC, Iwhich is displayed at the Iconsole. I I IDisplays a line of tokens las a CMS error message. ITerminates a series of lines Ifollowing an &EEGEMSG, I&BEGPUNCB, &BEGSTACK, or I&BEGTYPE control statement. IExecutes the specified
Istatement whenever aCMS Icommand returns a nonzero Ireturn code. IExits from the EXEC file with Ithe given return code. I I ITransfers control to the top lof the EXEC file, to the given Iline, or to the line starting Iwith the given label. ITurns on or off hexadecimal I conversion.
Executes the specified
statement if the condition is
satisfied.ILoops through the following B Ilines, cr down to (and includ-I ling) the line at label, for I III times, or until the I Icondition is satisfied. I -----------------------------------------------------------------------1 &PUNCH [tok1 [ ••• tokn]] IPunches the specified tokens I Ito your virtual card punch. I L- ________________________________________________________________________ ..1 Figure 9. Summary of EXEC Control statements (Part 2 of 3) 110 IBM VM/370 CMS User's Guide
&END
r ,
-label /
<
<=
>
)=
{
tok2 } executable-
&$ statement
&*
-label condition
Function
Istatement whenever a
Executes the specified
statement if the condition is
satisfied.