Easytrieve Report SKIP and Spacing

Readable reports need whitespace discipline. Dense payroll listings that print one employee row directly under the previous row fatigue auditors. Control reports that slam subtotal lines against the next detail row hide department boundaries. Easytrieve does not rely on you typing blank LINE rows for every gap—the REPORT statement exposes spacing parameters that the report writer applies automatically. SKIP inserts vertical blank lines between line groups after each group's LINE height completes. TITLESKIP adds space after TITLE heading blocks so column headers breathe below report titles. CONTROLSKIP separates CONTROL total lines from returning detail lines—critical on multi-level break reports. SPACE adjusts horizontal gaps between items on a single LINE row. Beginners tweak only LINESIZE and wonder why subtotals feel cramped; veterans set SKIP and CONTROLSKIP together so detail groups, headings, and break totals each get appropriate vertical rhythm. This page explains each REPORT spacing parameter, how defaults interact, PAGESIZE line budget impact, and testing spacing on control versus detail-only reports without confusing SKIP with SORT or screen SKIP attributes.

Progress0 of 0 lessons

REPORT Spacing Parameters

text
1
2
3
4
5
6
7
8
9
10
11
REPORT PAY-RPT LINESIZE 132 PAGESIZE 60 + SKIP 1 + TITLESKIP 2 + CONTROLSKIP 2 + SPACE 2 TITLE 01 'PAYROLL REGISTER' TITLE 02 'RUN DATE' RUN-DATE LINE 01 EMPNO EMPNAME DEPT GROSS CONTROL DEPT SUM GROSS

All spacing keywords appear on the REPORT header line before TITLE and LINE declarations. Values are numeric line or space counts. Broadcom processes them during report writer layout—not during JOB record logic—so changing SKIP never alters which records PRINT selects.

SKIP — Between Line Groups

SKIP behavior
AspectDetail
What it spacesBetween line groups after full LINE group height prints
Typical value0–3 blank lines; 1 is common for readable detail listings
Multi-line LINEGroup includes LINE 01, LINE 02, etc. before SKIP gap applies
PAGESIZE interactionEach SKIP line consumes vertical space toward page eject

Imagine LINE 01 prints employee id and name, LINE 02 prints address fields—one logical employee block. After both lines print, SKIP 1 inserts one blank line before the next employee's group begins. SKIP 0 packs rows tightly for tape-style extracts where paper cost does not matter. SKIP 2 or more suits management summaries where reviewers annotate between entries.

TITLESKIP — After Headings

TITLE lines form the heading block at top of page or section. TITLESKIP inserts blank lines after the entire TITLE group before detail LINE output begins. TITLESKIP 2 leaves two blank lines between the last TITLE row and first detail LINE—classic layout for boxed reports. Too little TITLESKIP makes column headers collide visually with title text; too much wastes PAGESIZE lines and triggers premature page breaks on short reports.

CONTROLSKIP — After Control Totals

On control reports, when DEPT or REGION changes, the report writer prints subtotal lines then resumes detail. CONTROLSKIP sets blank lines after those total lines before the next detail group. When you omit CONTROLSKIP, Broadcom defaults to one blank line plus whatever SKIP specifies—so SKIP 1 with default CONTROLSKIP yields two lines of separation after totals in many configurations. Explicit CONTROLSKIP 0 tightens subtotal-to-detail transition for summary-only layouts; CONTROLSKIP 3 emphasizes break boundaries for auditors scanning department subtotals.

SPACE — Horizontal Item Gaps

SPACE on REPORT sets default horizontal spaces between consecutive items on a LINE statement—between EMPNO and EMPNAME, for example. LINE may also use +n or -n offsets per item for fine tuning. REPORT SPACE provides baseline gap so you do not repeat +2 on every field. Compare SPACE 1 versus SPACE 3 on 132-column LINESIZE: wider gaps reduce columns available for long name fields—balance readability with truncation risk on MASKed fields.

SKIP Versus LINE Numbers

LINE 02 without printing LINE 01 still defines a group structure. SKIP does not replace intentional blank LINE rows inside a group—use empty literals or reserved spacing LINE items when you need blanks within one employee block. SKIP always operates between complete groups. Mixing both is valid: internal blank LINE 02 for signature line, SKIP 1 between employees.

PAGESIZE and Vertical Budget

PAGESIZE sets lines per page. TITLE lines, TITLESKIP, detail LINE heights, SKIP gaps, control totals, CONTROLSKIP, and footing lines all consume the budget. Increasing SKIP on a 60-line page may push departments to spill an extra page—acceptable for readability, costly for warehouse-scale print runs. Test with production PAGESIZE and realistic record volume; development LINESIZE 80 on PAGESIZE 60 misleads pagination tests.

Control Report Spacing Example

text
1
2
3
4
5
6
7
REPORT DEPT-SUMMARY LINESIZE 132 PAGESIZE 58 + SKIP 0 CONTROLSKIP 2 SUMMARY TITLE 01 'DEPARTMENT SUMMARY' LINE 01 DEPT EMPNO GROSS CONTROL DEPT SUM GROSS

SUMMARY on REPORT suppresses detail—only control totals print. SKIP matters less for detail gaps; CONTROLSKIP still separates consecutive subtotal line groups when multiple CONTROL levels print in sequence. SUMMARY plus generous CONTROLSKIP produces clean management rollup pages.

Common SKIP Mistakes

  • Expecting SKIP to skip records in JOB logic—that is IF/GOTO or SELECT.
  • Large SKIP on small PAGESIZE—unexpected page breaks every few records.
  • Ignoring default CONTROLSKIP+SKIP interaction on control reports.
  • Coding spacing parameters after TITLE—must be on REPORT header.
  • Applying SKIP tuning to XML reports where parameters are ignored.

Testing Spacing

  1. Print sample with SKIP 0 vs SKIP 2—count lines per employee group.
  2. Control report—vary CONTROLSKIP; verify gap after subtotal before next DEPT detail.
  3. Measure TITLESKIP effect on distance from TITLE 02 to first detail column.
  4. Confirm PAGESIZE eject points with production TITLE+SKIP totals.

Explain It Like I'm Five

SKIP is putting an empty line between each stack of homework pages so you can tell one student's work from the next. TITLESKIP is leaving space under the big title at the top before the first answer row. CONTROLSKIP is leaving space after the little test score summary before the next student's answers start again. SPACE is how far apart words sit on the same line—like wide versus narrow notebook ruling.

Exercises

  1. Add SKIP 1 and TITLESKIP 1 to a sample REPORT; describe visual change.
  2. Explain default CONTROLSKIP when SKIP is 1.
  3. When is SKIP 0 appropriate versus SKIP 2?
  4. Contrast SKIP with an empty LINE 02 row inside one group.
  5. List three REPORT parameters that affect vertical spacing.

Quiz

Test Your Knowledge

1. REPORT SKIP defines:

  • Blank lines between line groups after each LINE height prints
  • Sort key order
  • File buffer size
  • SQL cursor

2. CONTROLSKIP controls spacing:

  • After CONTROL total lines before next detail
  • Before TITLE only
  • In JCL DD
  • On SCREEN maps

3. If CONTROLSKIP is omitted on a control report:

  • Default is one blank line plus SKIP value
  • No spacing ever
  • Compile error
  • SKIP ignored

4. TITLESKIP affects:

  • Lines after TITLE heading groups
  • Sort keys
  • FILE CREATE
  • MACRO expansion

5. REPORT SPACE parameter sets:

  • Horizontal spaces between line items on a LINE
  • Vertical page size only
  • VSAM key length
  • Packed decimal width
Published
Read time16 min
AuthorMainframeMaster
Reviewed by MainframeMaster teamVerified: Broadcom Easytrieve 11.6 REPORT statement SKIP TITLESKIP CONTROLSKIP SPACESources: Broadcom Easytrieve 11.6 REPORT Statement, LINE Statement, Control ReportsApplies to: Easytrieve report vertical and horizontal spacing