Previous Topic: CALC269ENext Topic: CALC271E


CALC270E

Cannot use presort result fields as report time results

Reason:

A field specified as a result field in a SET(D) or SET(T) statement has also been used as a result field in a presort statement (for example, DECODE or SET). A field used in a presort SET or DECODE statement cannot be specified as a postsort SET(D) or SET(T) result field. Fields to be used as postsort result fields may only be defined with a DEFINE statement presort, or they may be implicitly defined by the SET(D) or SET(T) statement.

Action:

Specify a separate postsort field as a result field.