@Properties
Program
| Key | Description |
|---|---|
Type | The kind of object this file compiles to (Program). |
Name | Program name. |
Description | Program description. Maximum 50 characters: it ends up in the TEXT parameter of the compile-time CL commands (CRTBNDRPG/CRTDSPF/CHGPFM), which has that real limit on IBM i (see E00281). |
Print Mode | Print mode, for a report-style program. |
Commitment | Whether this program runs its modified tables under commitment control. Overrides the project’s Commitment (@GeneratorConfig) only for this program. Values: True/False. |
Commit on Exit | Whether this program issues a final commit before finishing. Overrides the project’s value only for this program; only effective if Commitment is enabled. Values: True/False. |
DDS | Name of the DDS this program is attached to. |
Path | Output folder for this program, relative to the project. |
@Properties {
Type : Program
Name : PTEST01
Description : "Test program"
Commitment : True
Commit on Exit : True
Path : "./programs/"
}
Screen
Same keys as Program (Type with value Screen), plus 5 of its own:
| Key | Description |
|---|---|
Popup | Generates this Screen’s DSPF with the DDS WINDOW keyword (a pop-up window) instead of a full screen. Requires the 4 keys below. Values: True/False. |
Window Row | Row (1-based) of the window’s top-left corner. Required if Popup: True. |
Window Column | Column (1-based) of the window’s top-left corner. Required if Popup: True. |
Window Rows | Window height, in rows. Required if Popup: True. |
Window Columns | Window width, in columns. Required if Popup: True. |
@Properties {
Type : Screen
Name : SCONFIRM
Popup : True
Window Row : 5
Window Column : 10
Window Rows : 10
Window Columns : 40
}
A Screen with Popup: True is generated, compiled and deployed exactly like any other Screen — only the DSPF changes (WINDOW instead of a full screen). To show it from another Screen, reference it in @References/Screens and call it with Call(Name, ...) — see @Source: control statements.
Table
Only Type:
@Properties {
Type : "Table"
}
The rest of a table’s description goes in @Structure — see @Structure, @Fields, @Indexes.