PAGE-COUNT does not need to be qualified under Easytrieve Release 11.x.
search cancel

PAGE-COUNT does not need to be qualified under Easytrieve Release 11.x.

book

Article ID: 54333

calendar_today

Updated On:

Products

Easytrieve Report Generator

Issue/Introduction

If file:PAGE-COUNT if coded under Easytrieve release 11.x, then the following error will occur:

130  TITLE 1 TITLE-LINE-1 COL 10 HS-CTL1 COL 126 REPORT2:PAGE-COUNT  
EZTC0618E >>>                                           $ incorrect qualification                  
EZTC0125E >>>                                           $ fieldname not defined

 

 

Environment

Easytrieve Report Generator, release 11.x

Resolution

PAGE-COUNT is documented to reside in working-storage and therefore it is not correct to qualify it with the REPORT filename.

Since it can be only used inside a REPORT definition, it is clear to which file it refers.

Therefore, it is enough to remove the qualification (that is, use PAGE-COUNT instead of REPORT2:PAGE-COUNT).

This will resolve the EZTC0618E and EZTC0125E errors.