DDS for physical and logical files

CONCAT (Concatenate) keyword

Use this field-level keyword when you want to combine two or more fields from the physical file record format into one field in the logical file record format you are describing. The name of this concatenated field must appear in positions 19 through 28. Specify the physical file field names in the order in which you want them to be concatenated, and separate them by blanks.

The following rules and restrictions apply:

Example:

The following example shows how to specify the CONCAT keyword on the DDS coding form.

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
     A          R RECORD 1                  PFILE(PF1)
     A            FLD1               I      CONCAT(PFLD1 PFLD2)
     A            FLD2               I      CONCAT(PFLD1 PFLD2 PFLD3)
     A            FLD3               I      CONCAT(PFLD4 PFLD5)
     A

In the example, if the fields from PF1 are:

Then the resulting fields are:


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]