About valid fields in a CONTROL statement
search cancel

About valid fields in a CONTROL statement

book

Article ID: 202303

calendar_today

Updated On:

Products

Easytrieve Report Generator

Issue/Introduction

When compile a program using CONTROL '*' with the EasyTrieve syntax, this instruction is not output to the compile list.

Environment

Release : ALL

Resolution

This is a design from an older version.

You can only specify the CONTROL field or the FINAL keyword following a CONTROL statement.
If the character is not enclosed in a single quote(ABC or *), it will be checked as a field name.
The '*' is ignored because it is enclosed in a single quotation and is not a field.
This is a departure from the premise of the original CONTROL statement in the first place.
It is ignored, not only for the '*' but also for characters enclosed in single quotes.

 For example, 'ABCD'