DRAW is one of the newly active reserved words when Easytrieve Report Generator moves to 11.x function mode. If your data dictionary or 1980s copybook used DRAW as a field name—for a drawing number, a graphics flag, or an abbreviation for a business code—your next compile may fail with unexpected keyword or symbol errors. DRAW is not the statement beginners use to paint screens: terminal maps are built with SCREEN, ROW, TITLE, KEY, and optional BORDER parameters. This page explains what DRAW means in the reserved-word catalog, why migration matters, safe renames, how screen borders and lines are actually defined, and how DRAW differs from GRAPH—another reserved word on the same migration list.
In Broadcom Symbols and Reserved Words, DRAW is marked reserved (R). It sits in the alphabetical keyword list between DO and DUPLICATE alongside statement vocabulary such as DISPLAY, DEFINE, and DELETE. The 11.6 Language Reference alphabetical statements summary does not publish a dedicated DRAW statement page comparable to EXECUTE or SCREEN. Practical purpose for maintainers today is migration safety: treat DRAW as off limits for identifiers and expect future or platform-specific syntax to use the token without conflicting with your field names.
Shops migrating from 6.4 should not assume DRAW is unused because their source never coded a DRAW verb. The collision is at the identifier level—DEFINE DRAW W 10 A is enough to fail.
Broadcom knowledge article 55109 states that words previously classified as future reserved words became active in release 11.x, including DRAW. The New Reserved Words migration topic lists DRAW explicitly next to EXECUTE, GRAPH, SET, and SYSUSERID. Plan scans as part of function mode cutover, not as an optional cleanup.
| Item | Value |
|---|---|
| Reserved status | Yes—cannot be user field or label name |
| 11.6 migration list | Listed under New Reserved Words |
| Documented DRAW statement | Not in 11.6 statements index; see SCREEN/BORDER for layout |
| Related reserved word | GRAPH—also migration-listed |
No on modern function mode compile. Rename before migration. Typical legacy uses include engineering drawing numbers, plotter flags, or abbreviated status codes. Replacement patterns: WS-DRAWING-NO, FL-GRAPHIC-IND, DOC-DRAW-NUM, or enterprise dictionary codes that avoid the bare token DRAW. Update all copybooks in the same release—mixed modules cause link-edit success with wrong offsets if only some members rename.
Beginners searching for draw screen may expect a DRAW command. Easytrieve instead declares a SCREEN activity, then positions literals and fields with ROW and COL. TITLE places header text. KEY assigns PF keys. BORDER on the SCREEN statement requests a screen border using SINGLE, DOUBLE, WIDE, or a border literal, with optional ATTR for color and intensity. SHADOW may add depth on supported terminals. This declarative model separates layout from procedure logic in BEFORE-SCREEN and AFTER-SCREEN.
12345678DEFINE WS-REPLY W 1 A SCREEN NAME MAIN-MENU BORDER DOUBLE ROWCOUNT 24 LINESIZE 80 TITLE 'Employee File Main Menu' ROW 6 COL 10 'Type an option, then press Enter.' ROW 8 COL 10 'Option ===>' WS-REPLY VALUE ('V' 'E' 'D' 'X') KEY F3 NAME 'Exit' EXIT KEY F12 NAME 'Cancel' EXIT IMMEDIATE
No DRAW keyword appears. Attribute changes during runtime may use the SET statement on supported releases—SET is separately reserved; see the SET reserved word page when published. Dynamic highlighting is not the same as reserving the DRAW identifier for your data.
Both DRAW and GRAPH appear on the same 11.x activation list. Neither should be used as field names after migration. GRAPH may relate to graphical or extended reporting features on some platforms; DRAW may have been reserved for similar presentation-layer expansion. Until your site manual documents a statement, assume both are identifier collisions only and keep business data names prefixed.
Errors vary by context: DEFINE line may flag reserved word; references may parse as incomplete statements if the compiler expects a DRAW phrase in future grammar. Do not workaround with quotes around the field name—rename instead. If your vendor macro library injects DRAW, patch the macro or delay function mode until vendor ships 11.6-safe version.
DRAW is a word the Easytrieve robot saved for itself. You cannot name your crayon box DRAW anymore. If you want to put a frame around your computer menu, you ask for a BORDER when you build the SCREEN, and you put words on each ROW—like writing on ruled lines. The robot did not forget how to draw boxes; it just uses different command words than the short name DRAW on your old toy label.
1. DRAW on the 11.6 New Reserved Words list means:
2. To draw a screen border in Easytrieve you typically use:
3. DRAW became active in release:
4. Safe rename for legacy field DRAW:
5. DRAW appears in Symbols and Reserved Words as: