PUNCH

EXEC Interpreter

punch.helpexc.txt
&PUNCH STATEMENT                                                 EXEC statement

Use the &PUNCH control statement to punch a line of tokens to the virtual
punch.  The format of the &PUNCH control statement is:
+-----------+-----------------------------------------------------------------+
| &PUNCH    | [tok1 [tok2 ... [tokn]]]                                        |
+-----------+-----------------------------------------------------------------+
where:

tok1 [tok2 ... [tokn]]
         specifies the tokens to be punched.  All tokens are padded or
         truncated to eight characters.  The punched line is right-padded with
         blanks to fill an 80-column card.  If no tokens are specified, a line
         consisting of 80 blank characters is punched.


Usage Notes:

1.  Lines punched with the &PUNCH control statement are scanned by the EXEC
    interpreter and variable symbols are substituted before the line is
    punched.  In fixed-length EXEC files, only the first 72 characters of the
    record are scanned.  To punch one or more lines of unscanned data, use the
    &BEGPUNCH or &BEGPUNCH ALL control statement.

2.  When you have finished punching lines in an EXEC procedure, you can use the
    CP command CLOSE to close the spool punch file and release it for
    processing.