INSERT Command

The INSERT command inserts statements into an output file directly from the PAN#1 input file. Each record following in the input file is written to the output print file, the output print and work files, or the output print and punch files. This continues until encounters a record with ++, --, /*, or /& in positions one and two.
capan146
The INSERT command inserts statements into an output file directly from the PAN#1 input file. Each record following in the input file is written to the output print file, the output print and work files, or the output print and punch files. This continues until
Panvalet
encounters a record with ++, --, /*, or /& in positions one and two.
No formatting of data occurs; all 80 positions of each input record are written to the output file. The
Panvalet
library is not affected in any way. Special characters in positions one and two can be converted (for example, $/ can be changed to //).
Syntax
         {PRINT} [,up to 10 consecutive non-blanks] ++INSERT {PUNCH} [,/*                             ]          {WORK } [,/&                             ]
Parameters
  • {PRINT} {PUNCH} {WORK }
    This required parameter describes the output file to which statements following the INSERT are written:
    • PRINT -- To the output print file.
    • PUNCH -- To the output punch and print files.
    • WORK -- To the output work and print files.
  • [,up to 10 non-blanks] [,/* ] [,/& ]
    These optional parameters describe the additional options available when a member is inserted into an output file. You can use any of these options, whether or not there are other statements to insert (whether or not there are any records in the input file before the next library statement).
    If you supply the /* parameter, a record with the specified information in the first ten columns and blanks in the remaining columns is generated before any other records are written to the output file.