Using the TFILE Correlative

If a TFILE correlative returns a null value, the output specification for that attribute is ignored. This may cause subsequent data to print or display incorrectly on the form. As a preventive measure, do one of the following when using the TFILE correlative:

Move the TFILE correlative from line 8 to line 7.

Use a C or a V action code in the TFILE correlative instead of an X action code. Both of these action codes prevent a null value from being returned if the conversion fails.

Embed the TFILE correlative within an arithmetic correlative (A or F) and append a single blank to it. This ensures that the attribute contains at least one blank and will therefore not be considered null. For example, if Attribute 3 is used as the data source, this TFILE correlative:

TORDERS ; X ; ; 10

is replaced by this one:

A ; 3(TORDERS ; X ; ; 10):" "

For more information about the TFILE correlative, see Correlatives and Conversions Reference.

See Also

How Data Appears on Forms

Coordinating Justification and Column Width Fields

Using Controlling and Dependent Attributes