How to tell what execution mode is being executed
search cancel

How to tell what execution mode is being executed

book

Article ID: 28801

calendar_today

Updated On:

Products

Easytrieve Report Generator

Issue/Introduction

The NEWFUNC option specifies whether to use the current version of Compiler or the release 6.4 (Compatibility Mode) Compiler to compile your Easytrieve Report Generator programs. This option does not have any impact on link-edited Easytrieve Report Generator application programs.

Setting NEWFUNC to Y compiles and runs your Easytrieve Report Generator programs using the latest product release and thereby providing all new functionality therein. Y is the default. There is no PARM statement override. 

Setting NEWFUNC to N compiles and runs your Easytrieve Report Generator programs using the compatibility mode of Easytrieve Plus (release 6.4). This feature provides you with more control over the process of moving your applications to Easytrieve Report Generator release 11.5 or 11.6.

 

Environment

Easytrieve Report Generator, releases 11.5 and 11.6

Resolution

Running programs in new function mode ensures adherence to the documented rules of the Easytrieve Report Generator language and takes advantage of the new product features. For example, boundary checking of indexes and subscripts helps ensure data integrity and output validity.

Running programs in compatibility mode is a temporary workaround for specific problems. 

The mode actually in use at runtime by looking at the first line of each page in SYSPRINT:  
COMPATIBILITY MODE looks like this:        Easytrieve Plus 11.6-C
NEW FUNCTION MODE  looks like this:      Easytrieve 11.6 SP0
New Function Mode with LU06812 shows:   Easytrieve 11.6.01      

For release 11.5:
COMPATIBILITY MODE looks like this:        Easytrieve Plus 11.5-C
NEW FUNCTION MODE  looks like this:      Easytrieve 11.5 SP0

Note the product names are a little different, but especially that Compatibility mode has "-C" after the release.