Remap Record Type Items

The following diagram illustrates the syntax for specifying a remap record type item:

<remap record type items>

──┬──────────────────┬─<record type item name>─┬───────────┬───────────┤
  └─ <identifier> = ─┘                         └─<comment>─┘

Explanation

Remaps of variable-format records must include the record type item. The record type item can appear in the remap exactly as it does in the data set, or the record type item can be included with a change of name.

When only the record type item name is specified, the item is included exactly as it appears in the data set.

The <identifier> = option is used to change the item name. The new name cannot exceed 30 characters.

Example

The following example illustrates the DASDL syntax for a remap record type item:

D DATA SET
 (
  T RECORD TYPE(5);
  A ALPHA(1) REQUIRED;
 ),
1: (
   A1 ALPHA(2);
  ),
3: (
   N3 NUMBER(6);
  );
R REMAPS D
 (
  X = T;
  A;
 ),
1: (
   A1;
  );