Deprecated Production Reporting Commands

If you still have older Production Reporting commands in your program code, refer to Table 106 to replace them with their updated alternatives. Even though the commands are technically supported in this release, they do not interact well with the current Production Reporting lexicon. Incorporating the deprecated commands into your Production Reporting code can cause unpredictable results.

Table 106. Deprecated Production Reporting Commands

Old Commands

Use Instead

BEGIN-REPORT (END-REPORT)

BEGIN-PROGRAM (END-PROGRAM)

DATE-TIME

datenow function

DECLARE PRINTER

DECLARE-PRINTER

DECLARE PROCEDURE

DECLARE-PROCEDURE

DOLLAR-SYMBOL

ALTER-LOCALE

GRAPHIC FONT

ALTER-PRINTER

GRAPHIC-BOX

DRAW

GRAPHIC HORZ-LINE

DRAW

GRAPHIC VERT-LINE

DRAW

MONEY-SYMBOL

ALTER-LOCALE

NO-FORMFEED

DECLARE-LAYOUT

PAGE-SIZE

DECLARE-LAYOUT

PRINTER-DEINIT

DECLARE-PRINTER

PRINTER-INIT

DECLARE-PRINTER

PRINT…CODE

PRINT…CODE-PRINTER

Note:

Two older commands, DECLARE PRINTER and DECLARE PROCEDURE, do not contain hyphens. The new commands, DECLARE-PRINTER and DECLARE‑PROCEDURE, contain hyphens.