EXEC Control statements-&BEGEMSG, &BEGPUNCH 2. When you use the &BEGEMSG control statement to display error
messages, the character string "DMS" is inserted in front of the
seven-character message identification. For example, if the EMSG setting is ON, the lines: &BEGEMSG TEST01E INSURMOUNTABLE ERROR &END
result in the display: DMSTEST01E INSURMOUNTABLE ERROR Note: Since the maximum length of a line that you can display at yoir terminal is 130 characters, the insertion of the characters DMS will cause lines greater than 127 characters long to be 3. Messages that are displayed as the result of an &BEGEMSG control
statement are not scanned by the EXEC interpreter. Therefore, no
variable substitution is performed and no data items are truncated.
To display variable data, use the &EMSG control statement.
&BEGPUNCH Use the &BEGPUNCH control statement to delimit the beginning of a list
of one or more data lines to be spooled to your virtual card punch. The
list of lines to be punched is terminated by the control statement &END,
which must occur beginning in column 1. The format of the &BEGPUNCH control statement is:
r
, I &BEGPUNCH L-- r ALL] , II ALL specifies that data occupying columns 73 through 80 should be
punched. If ALL is not specified, input records are truncated
at column 72 and columns 73 through 80 of the output record are padded with blanks.
1. Lines that are punched as the of an &BEGPUNCH control
statement are not scanned by the EXEC interpreter. Therefore, no
variable substitution is performed and no data items are truncated. To punch variable data, you must use the &PUNCH control statement.
2. When you are finished punching lines in an EXEC procedure, you
should use the CP CLOSE command to close your virtual punch. Section 5. EXEC Control Statements 281
EXEC Control Statements-SBEGSTACK, &BEGTYPE &BEGSTACK Use the &BEGSTACK control statement to delimit the beginning of a list
of one more data lines to be placed in the console input stack. The
list of lines to be stacked is terminated by the control statement &END
which must occur beginning in column 1. The format of the &BEGSTACK control statement is: r- I r , r , , &BEGSTACK , I ILIFOI IALLI L .J I L
L .J
specifies that the lines that follow are to be stacked on a
first in, first out basis. This is the default value.
LIFO specifies that the lines that follow are to be stacked on a
last in, first out basis.
ALL specifies, for fixed-length EXEC files, that the entire line
(to a maximum of 130 characters) is to be stacked. If ALL is
not specified, the lines are truncated in column 72.
1 • Lines that are stacked as the result
statement are not scanned by the EXEC variable substitution is performed,
trlncated. To stack variable data, you st3.tement. of an &BEGSTA:K control
interpreter. Therefore, no
and data items are not
must use the &STA:K control
2. To stack a null line in an EXEC file you must use the &STACK control statement. A null line following an &BEGSTA:K control st3.tement is interpreted as a line of blanks. To stack an INPUT, REPLACE, or CHANGE subcommand to enter input mode from a
fixed-length EXEC, you should use the &STACK control statement.
&BEGTYPE Use the &BEGTYPE control statement to delimit the beginning of a list of
one or more data lines to be displayed at the terminal. The list of
lines be displayed is terminated by the control statement &END, which
must beginning in column 1. The format of the &BEGTYPE control
statement is: r- I &BEGTYPE [ALL]
L ___ _
ALL specifies, for fixed-length EXEC files, that
columns 73 through 130 is to be displayed.
specified, the lines are truncated at column 72.
282 IBM VM/370 CMS Command and Macro Reference
-----, I _ ____ -1 data occupying
If ALL is not
Previous Page Next Page