How to override TBLMAX parameter
search cancel

How to override TBLMAX parameter

book

Article ID: 56360

calendar_today

Updated On:

Products

Easytrieve Report Generator

Issue/Introduction

The Options Table parameter TBLMAX specifies the maximum number of entries for a table which is loaded from an external file (not instream). Can TBLMAX be overridden?

 

Resolution

Yes, TBLMAX can be overridden using the FILE statement in the EZTPLS source library section. The maximum number of table entries is 32,767. Here is an example of the syntax that you may use:

  FILE FILENAME FB (xxx,yyyy) TABLE   nnnnn

Please note:

TBLMAX is allowed but ignored in r11.x. This option was more useful with the 6.x series of compilers where tables were allocated up front and below the line. Table processing has been improved for r11.x, with tables now being allocated incrementally, as needed, and above the line. This has resulted in increased limits and better performance.