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.
| Term | Meaning | Learn more |
|---|---|---|
| Library | Declarative section: PARM, FILE, DEFINE, REPORT. Describes data and layouts before execution. | library-section |
| Activity | Executable section: JOB INPUT loops, SCREEN, SORT, STOP. Runs procedural logic against files. | activity-section |
| Environment | Compile and runtime context: PARM, options table, JCL STEPLIB, SYSPRINT listings. | compile-process |
| PROC / END-PROC | Named procedure block invoked by PERFORM or special report/screen hook names. | proc |
| Macro | Compile-time text expansion—often FILE layouts—expanded before compile continues. | macros |
| Term | Meaning |
|---|---|
| FILE | Statement declaring an input or output file, organization (FB, VB, VSAM KSDS), and field start/length/type. |
| DEFINE | Working storage field not read from file—totals, flags, scratch values—with optional VALUE and RESET. |
| Field type A | Alphanumeric character data—names, codes, display text. |
| Field type N | Numeric display (zoned decimal style)—often used for identifiers and display numbers. |
| Field type P | Packed decimal—compact numeric storage; optional decimal places (P 2) for dollars and cents. |
| FB / VB | Fixed-block or variable-block sequential organization—FB LRECL fixed; VB includes length prefix. |
| VSAM KSDS | Key-sequenced data set—indexed file accessed by key with FILE organization on mainframe. |
| EOF | End of file condition after last record read—test with IF EOF file after GET or in JOB loop. |
| WORKFILE | Temporary dataset or internal file used for sort passes and intermediate results—often requires JCL DD on 11.x. |
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.
| Term | Meaning |
|---|---|
| JOB INPUT | Primary file read loop for batch processing. |
| GET | Read next record from a file outside JOB INPUT loop context. |
| PUT | Write record to output file. |
| SORT | Order records by keys—internal or external sort depending on syntax and size. |
| Select report layout to emit detail or summary lines for current record or break. | |
| STOP | Terminate program execution normally. |
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.
| Term | Meaning |
|---|---|
| REPORT | Named report layout with LINESIZE, TITLE, LINE, FOOTING options. |
| LINE | Detail or heading row listing fields and literals for one print line. |
| TITLE | Page header lines—often date, report name, page number placeholders. |
| CONTROL | Field option marking control break key—triggers subtotals when value changes. |
| Control break | Event when control field changes—report writer prints break lines and resets totals. |
| MASK / EDIT | Picture for numeric or date display—commas, decimals, leading zeros suppressed. |
| LINESIZE | Report line width in characters—affects wrapping and column fit. |
| Term | Meaning |
|---|---|
| SCREEN activity | Online terminal interaction block—maps, input, PF keys. |
| BEFORE-SCREEN | Procedure run before screen built and sent to terminal—GET, initialize fields. |
| AFTER-SCREEN | Procedure after user input—validation, navigation, REFRESH. |
| INITIATION / TERMINATION | SCREEN start and end hooks—open files once, cleanup. |
| RESET | On DEFINE—field cleared before screen iteration; affects online field state. |
| Term | Meaning |
|---|---|
| PARM | Compile-time options—LIST, DEBUG, COMPAT, FILE—at top of source or via options table. |
| SYSPRINT | DD for compiler or runtime listing output—diagnostics and source listing. |
| SYSIN | DD for source input to compile step—PDS member or inline. |
| STEPLIB | JCL library concatenation for Easytrieve runtime load modules. |
| EZOPTBL | Options table dataset—site defaults for language and report behavior. |
| Link-edit | Binder step producing executable load module for production. |
| COMPAT mode | PARM preserving 6.4-like semantics during migration testing. |
| Listing | Compiler output showing source, errors, cross-reference, sometimes DMAP. |
| Term | Meaning |
|---|---|
| Reserved word | Keyword with fixed meaning—cannot be a user field name. |
| SYSDATE / SYSTIME | System date and time fields for titles and logic. |
| HIGH-VALUES / LOW-VALUES | Special constants for comparisons and initialization. |
| PERFORM | Invoke a named PROC from activity or another PROC. |
| Built-in function | Predefined routine in expressions—date, string, numeric helpers. |
| Report Generator | Broadcom product name for current Easytrieve compiler on z/OS. |
1234567FILE — 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
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.
1. The Library section in Easytrieve contains:
2. JOB INPUT in batch Easytrieve:
3. WORKFILE in modern Easytrieve often refers to:
4. A control break in reporting occurs when:
5. EZOPTBL is: