MAINMENU: DDS for a Display Device File
The DDS for the MAINMENU display device file specifies file level entries and describe one record format: HDRSCN. The file level entries define the screen size (DSPSIZ), input defaults (CHGINPDFT), print key (PRINT), and a separate indicator area (INDARA).
The HDRSCN record format contains the constant 'CUSTOMER MAIN INQUIRY', which identifies the display. It also contains the keywords TIME and DATE, which will display the current time and date on the screen. The CA keywords define the function keys that can be used and associate the function keys with indicators in the RPG program.
In addition to describing the constants, fields, line numbers, and horizontal
positions for the screen, the record formats also define the display attributes
for these entries.
Note: Normally, the field attributes are defined
in a field-reference file rather than in the DDS for a file. The attributes
are shown on the DDS so you can see what they are.