Easytrieve Glossary and Quick Reference

Mainframe Easytrieve documentation assumes you already speak its vocabulary—Library, Activity, control break, packed decimal, STEPLIB. This glossary defines those terms in plain language for beginners and links to full tutorials when one paragraph is not enough. Use it when reading Broadcom TechDocs, compile listings, or a senior developer's email about WORKFILE DDs. Terms are grouped alphabetically within sections; cross-references point to statement pages, migration topics, and cheat sheets in section 32 of this tutorial.

Progress0 of 0 lessons

Program Structure Terms

Core structure vocabulary
TermMeaningLearn more
LibraryDeclarative section: PARM, FILE, DEFINE, REPORT. Describes data and layouts before execution.library-section
ActivityExecutable section: JOB INPUT loops, SCREEN, SORT, STOP. Runs procedural logic against files.activity-section
EnvironmentCompile and runtime context: PARM, options table, JCL STEPLIB, SYSPRINT listings.compile-process
PROC / END-PROCNamed procedure block invoked by PERFORM or special report/screen hook names.proc
MacroCompile-time text expansion—often FILE layouts—expanded before compile continues.macros

Data and File Terms

File and field vocabulary
TermMeaning
FILEStatement declaring an input or output file, organization (FB, VB, VSAM KSDS), and field start/length/type.
DEFINEWorking storage field not read from file—totals, flags, scratch values—with optional VALUE and RESET.
Field type AAlphanumeric character data—names, codes, display text.
Field type NNumeric display (zoned decimal style)—often used for identifiers and display numbers.
Field type PPacked decimal—compact numeric storage; optional decimal places (P 2) for dollars and cents.
FB / VBFixed-block or variable-block sequential organization—FB LRECL fixed; VB includes length prefix.
VSAM KSDSKey-sequenced data set—indexed file accessed by key with FILE organization on mainframe.
EOFEnd of file condition after last record read—test with IF EOF file after GET or in JOB loop.
WORKFILETemporary dataset or internal file used for sort passes and intermediate results—often requires JCL DD on 11.x.

Batch Processing Terms

Batch Easytrieve jobs run under JCL, read sequential or VSAM files, and write reports or output files without terminal interaction. The JOB INPUT statement is the heart of batch processing: it opens the named FILE, reads each record automatically, executes nested statements for every record, and closes at EOF. You do not write explicit READ loops like COBOL unless using GET for secondary files. SORT may run internally or call the site sort product. STOP ends the program. Understanding batch vocabulary separates report-generator work from online SCREEN activities that use BEFORE-SCREEN and terminal I/O.

Batch vocabulary
TermMeaning
JOB INPUTPrimary file read loop for batch processing.
GETRead next record from a file outside JOB INPUT loop context.
PUTWrite record to output file.
SORTOrder records by keys—internal or external sort depending on syntax and size.
PRINTSelect report layout to emit detail or summary lines for current record or break.
STOPTerminate program execution normally.

Report Writer Terms

The report writer formats columnar output with titles, headings, page numbers, and control breaks. REPORT names a layout block; LINE lists fields on a detail row; TITLE sets page headers. CONTROL on a field declares break levels—when DEPT changes, subtotals and heading lines may fire. BEFORE-LINE and AFTER-BREAK are special PROC hooks the report engine calls automatically. Beginners confuse PRINT (select which report to emit) with LINE (how columns appear)—PRINT triggers layout; LINE defines columns.

Reporting vocabulary
TermMeaning
REPORTNamed report layout with LINESIZE, TITLE, LINE, FOOTING options.
LINEDetail or heading row listing fields and literals for one print line.
TITLEPage header lines—often date, report name, page number placeholders.
CONTROLField option marking control break key—triggers subtotals when value changes.
Control breakEvent when control field changes—report writer prints break lines and resets totals.
MASK / EDITPicture for numeric or date display—commas, decimals, leading zeros suppressed.
LINESIZEReport line width in characters—affects wrapping and column fit.

Online and Screen Terms

Screen vocabulary
TermMeaning
SCREEN activityOnline terminal interaction block—maps, input, PF keys.
BEFORE-SCREENProcedure run before screen built and sent to terminal—GET, initialize fields.
AFTER-SCREENProcedure after user input—validation, navigation, REFRESH.
INITIATION / TERMINATIONSCREEN start and end hooks—open files once, cleanup.
RESETOn DEFINE—field cleared before screen iteration; affects online field state.

Compile, JCL, and Operations Terms

Operations vocabulary
TermMeaning
PARMCompile-time options—LIST, DEBUG, COMPAT, FILE—at top of source or via options table.
SYSPRINTDD for compiler or runtime listing output—diagnostics and source listing.
SYSINDD for source input to compile step—PDS member or inline.
STEPLIBJCL library concatenation for Easytrieve runtime load modules.
EZOPTBLOptions table dataset—site defaults for language and report behavior.
Link-editBinder step producing executable load module for production.
COMPAT modePARM preserving 6.4-like semantics during migration testing.
ListingCompiler output showing source, errors, cross-reference, sometimes DMAP.

Language and Migration Terms

Language vocabulary
TermMeaning
Reserved wordKeyword with fixed meaning—cannot be a user field name.
SYSDATE / SYSTIMESystem date and time fields for titles and logic.
HIGH-VALUES / LOW-VALUESSpecial constants for comparisons and initialization.
PERFORMInvoke a named PROC from activity or another PROC.
Built-in functionPredefined routine in expressions—date, string, numeric helpers.
Report GeneratorBroadcom product name for current Easytrieve compiler on z/OS.

Quick Reference: Minimal Batch Program Labels

text
1
2
3
4
5
6
7
FILE — declare input/output and fields DEFINE — working storage REPORT — layout for printed output JOB — start read loop IF — filter records PRINT — emit report lines STOP — end program

How to Use This Glossary

  1. Encounter unknown term in listing or manual—search this page.
  2. Follow Related Pages link to deep tutorial for that topic.
  3. Use cheat sheets for syntax tables when coding.
  4. Bookmark Quick Guide for first program skeleton.
  5. During migration, cross-check terms against release notes—new features add vocabulary.

Explain It Like I'm Five

This page is a dictionary for Easytrieve words. When someone says Library, they mean the part of the program that describes boxes of data and how reports look—not a building with books. When they say control break, they mean the report starts a new section when the department number changes. Look up words here when sentences sound like secret code.

Exercises

  1. Define Library versus Activity in your own words.
  2. List five field types and one example value for each.
  3. Explain control break using department and employee report.
  4. Match batch terms JOB INPUT, GET, PRINT to a simple payroll flow.
  5. Find three operations terms in a sample compile JCL.

Quiz

Test Your Knowledge

1. The Library section in Easytrieve contains:

  • FILE, DEFINE, and REPORT definitions
  • Only JCL
  • CICS map definitions only
  • Load modules

2. JOB INPUT in batch Easytrieve:

  • Opens the file, reads records in a loop, closes at EOF
  • Only prints reports
  • Links COBOL programs
  • Allocates tape drives only

3. WORKFILE in modern Easytrieve often refers to:

  • Temporary work datasets used by sort and internal processing
  • The SYSPRINT DD
  • A CICS transaction
  • A macro name only

4. A control break in reporting occurs when:

  • A control field value changes and subtotals or headings print
  • The compiler errors
  • JCL abends
  • The file is empty

5. EZOPTBL is:

  • Site options table for compiler and runtime defaults
  • A payroll file
  • A sort product
  • A reserved word for IF
Published
Read time20 min
AuthorMainframeMaster
Reviewed by MainframeMaster teamVerified: Broadcom Easytrieve Report Generator 11.6 terminologySources: Broadcom Easytrieve 11.6 Getting Started, Language Reference glossary conceptsApplies to: Easytrieve glossary and terminology reference