Applying Conversion Operations Before Correlative Operations

If you want to apply a code that is normally used as a conversion to the data before a correlative operation is carried out, place the conversion code in line 8 before the correlative code. Separate the codes with a value mark (CTRL+]). This way the correlative is applied to formatted data rather than to raw data.

For example, a D code could first convert a date to external format. Then a G correlative could extract one or more fields from within the delimiters defined for the date by the D conversion.

See Also

Advanced Topics

Using Correlatives as Conversions and Vice Versa

Using Special Functions with A and F Codes

Using Conversion Codes Within a Correlative

Combining Correlatives and Conversions

Adjusting Division Operations