The START-PRODAMP-EDITOR statement assigns a special DAMP window (PRODAMP window). This window can then be used to edit, compile and execute PRODAMP procedures.
It is possible to read a PRODAMP source into this window from a file when the window is called (see the SOURCE operand).
For details on working with the PRODAMP compiler, see section "Working with procedures (special window: PROC)".
Format
START-PRODAMP-EDITOR |
WINDOW = *NEXT-FREE / <integer 4..99> ,SOURCE = *NONE / <filename 1..54> |
Operands
WINDOW = *NEXT-FREE / <integer 4..99>
This specifies the window to be used to display the PRODAMP window.
The default value (*NEXT-FREE) specifies that the next free window is to be used as the PRODAMP window. Windows 4 - 9 and 21 - 99 are supported; windows 10 - 20 are 'reserved'.
If *NEXT-FREE is specified, the windows 4 to 9 are used in the following order: 9, 8, ..., 4.
SOURCE = *NONE / <filename 1..54>
This specifies the name of a file whose contents act as the source to be read into the PRODAMP window. The default setting does not assign a file.
Example
START-PRODAMP-EDITOR WINDOW=6, SOURCE=MY.PRODAMP.SOURCE