Remap Aggregate Items

The following diagram illustrates the syntax for specifying remap aggregate items:

<remap aggregate items>

──┬──────────────────┬─ <aggregate item> ─┬─────────────┬──────────────┤
  └─ <identifier> = ─┘                    └─ <comment> ─┘

Explanation

Aggregate items can appear in the remap exactly as they do in the data set, or they can be included with a change of name.

When only the aggregate 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 aggregate item:

OPTIONS (AUDIT,
         REAPPLYCOMPLETED,
         INDEPENDENTTRANS
);
%--GLOBAL DATA--%
GP POPULATION OF D;
GN NUMBER (12);
GA AGGREGATE (12) COUNT (N NEQ O) OF D;
RDS RESTART DATASET (
  RDS-N NUMBER (12);
);
D DATASET (
  N NUMBER (12);
  P POPULATION (100) OF E;
  A ALPHA (06);
  E DATASET (
    EN NUMBER (12);
    EA ALPHA (06);
  );
  ES SET OF E KEY IS EN;
  RE REMAPS E (
    EN;
  );
  AG1 AGGREGATE (12) COUNT (EN NEQ O) OF E;
);