User Tools

Site Tools


ibm:vm370-lib:cmshelp:begstack.helpexc

BEGSTACK

EXEC Interpreter

begstack.helpexc.txt
&BEGSTACK STATEMENT                                              EXEC statement

Use the &BEGSTACK control statement to delimit the beginning of a list of one
or more data lines to be placed in the console 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:
+-----------+-----------------------------------------------------------------+
| &BEGSTACK | [FIFO|LIFO] [ALL]                                               |
+-----------+-----------------------------------------------------------------+
where:

FIFO     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.


Usage Notes:

1.  Lines that are stacked as the result of an &BEGSTACK control statement are
    not scanned by the EXEC interpreter.  Therefore, no variable substitution
    is performed, and data items are not truncated.  To stack variable data,
    you must use the &STACK control statement.

2.  To stack a null line in an EXEC file you must use the &STACK control
    statement.  A null line following an &BEGSTACK control statement 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.
ibm/vm370-lib/cmshelp/begstack.helpexc.txt ยท Last modified: 2023/08/06 13:36 by Site Administrator