BYPASS statement
The BYPASS statement tags specific lines or a range of lines for deletion. That is, the bypassed lines are excluded from the output document.
Parameters
- LINE
- The line number contained in the IDX subscript is bypassed.
- &LINEn
- Line number to bypass.
- &LINEn1
- Low line number of range of lines to bypass.
- &LINEn2
- High line number of range of lines to bypass.
Examples
This example bypasses line 2:
IDX = 2
BYPASS LINE
This example bypasses line 4:
BYPASS LINE4
This example bypasses line 1 through line 10:
BYPASS LINE1-LINE10
Programming notes
The BYPASS statement is convenient for stripping unneeded report lines from the output document, especially when creating CSV files. For example, running page titles and field headings are not needed in a spreadsheet. Report title lines and heading lines can be conditionally or unconditionally excluded from the output CSV file.
The use of BYPASS is not limited to CSV format files. It can also be used to bypass report lines when creating HTML and HTML1 format documents.
