This topic provides information about the positional entries you specify for display files. It gives rules and examples for filling in positions 1 through 44 of the Data Description Specifications (DDS) form.
DDS keyword entries for display files (positions 45 through 80) gives rules and examples for specifying the DDS keywords for display files (positions 45 through 80).
Specify the entries in the following order to define a display file:
Specify at least one record format in the file. The maximum number
of record formats in a display file is 1024. The maximum number of
fields in any one record format is 32 763. The maximum number of
fields that can be displayed per record is 4095. The maximum combined
length of all named fields and indicators in a record format is 32 763
bytes, regardless of the usage (I, O, B, M, H, P). For more
information, see Valid entries for usage. Also, see the Application Display Programming
book for the maximum number of input-capable fields.
You can find an explanation of file-, record-, help-, and field-level entries as well as syntax rules for specifying DDS keywords in the DDS Reference: Concepts information. You can find complete display file examples in the DDS Reference: Concepts information as well.
The following figure shows a display file coding example.
Figure 1. Display File Coding Example
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 00100A* DISPLAY FILE EXAMPLE 00101A* 00102A REF(PAYROLL) 00103A R MENU 00104A H HLPARA(1 1 12 80) 00105A HLPRCD(RECORD1 FILEA) 00106A N01 00107AO 02 FLDA 20I 2O 2 2DSPATR(HI) 00108A FLDB 22N 2B 3 2 00109A 72 73 00110AO 60 61 62 00111AA 63 DSPATR(HI) 00112A FLDC 7Y 0B 7 20DSPATR(RI PC) 00113A 42 43 00114AO 60 61 00115AO 62 9 2'Constant' 00116A FLDD R 11 2
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.