Remap Count Items

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

<remap count items>

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

Explanation

Count items can be included exactly as they appear in the original data set, can be included with a change of name, or can be omitted altogether.

When only the count item name is specified, the item is included exactly as it appeared in the data set.

The name of the count item can be changed by using the <identifier> = option. The new name cannot exceed 30 bytes.

When the count item is omitted from the remap, it cannot be accessed by user programs and it is not present in the user work area. The system maintains the count item whether it is contained in the remap.

Example

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

D DATA SET
 (
  C COUNT(5);
  A ALPHA(5) REQUIRED;
  L IS IN D COUNTED;
 )
  EXTENDED = TRUE,
  SECTIONS = 5
;
R REMAPS D
 (
  X = C;
  L;
  A;
 );