Defining an ICF File for DDS

Specify the entries in the following order to define an ICF file:

  1. File-level entries (optional)
  2. Record-level entries
  3. Field-level entries (optional)

Repeat the record-level entries and field-level entries for each record format in the file.

Specify at least one record format in the file.

The maximum number of record formats in an ICF file is 1024. The maximum number of fields in any one record format is 32 767.

Note:
Specify the file name through the Create Intersystem Communications Function File (CRTICFF) command, not through DDS.

You can find an explanation of file level, record level, and field level as well as the syntax rules for specifying DDS keywords in Introduction to DDS Reference. You can find a complete ICF example in Appendix B, Examples of DDS for Each File Type.

Figure 382 shows an ICF file coding example.

Figure 382. ICF File Coding Example

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A* ICF FILE CODING EXAMPLE
00020A*
00030A          R RCD1                      RCVENDGRP(14)
00040A            FLDA           5
00050A            FLDB           5  0
00060A            FLDC          10  2
00070A
00080A          R RCD2
00090A  72 73
00110AON74                                  FAIL
00120A            FLDD          12
     A            FLDC      R               REFFLD(A LIB1/FILEA)
     A