Previous Topic: Static PREPARSE Option

Next Topic: Display Function Key Prompts

Considerations When Using PREPARSE

Preparsing substitutes by using the specified character. After the preparse is complete, standard panel field processing proceeds.

Take care that the data substituted does not contain unwanted field characters which introduce unexpected fields if not removed. Preparsing may generate an entire line of data that is expected to be output only.

If this data contains any underscore characters (indicating an input field) errors will probably occur because the field format is incorrect. Overcome this by ensuring that the data substituted by preparsing does not contain such unwanted field characters. Varying the default field characters can help here.

Allowing the panel to perform substitution after preparse prevents this problem. For example, change the NCL code as follows:

&IF &STATUS2 EQ INACT &THEN +
    &FIELD2 = &CONCAT > &STATUS2