How the options table ALL31 option will affect our current environment
search cancel

How the options table ALL31 option will affect our current environment

book

Article ID: 56465

calendar_today

Updated On:

Products

Easytrieve Report Generator

Issue/Introduction

Easytrieve Plus 6.4 is the first 31-bit version of the product. 

Environment

Easytrieve Plus Report Generator, release 6.4

Resolution

The Easytrieve Plus 6.4 compiler and runtime are always running above the line. The ALL31 option has been put into the product so that CALLS to 24-bit subroutines can be supported (through the ALL31=OFF option). If the Easytrieve Plus program does not CALL 24-bit subroutines, you can set ALL31=ON in the options table (EZTPOPT) and get the benefit of storage allocation above the line. If you do CALL 24-bit subroutines from the Easytrieve program or use Easytrieve/Toolkit or Panaudit Plus, then you will need to keep a separate options table with ALL31=OFF for use with those programs.

For previously compiled and link-edited Easytrieve programs, setting ALL31=ON in the options table allows the switching of modes and above-the-line dynamic storage allocation without recompiling the program -- although the program itself will still be below the line because it was linked that way. If you recompile a Easytrieve program with ALL31=ON, then the program and storage used for the execution of the program reside above the line.

For a load and go program, Easytrieve uses dynamic storage that is allocated according to the ALL31 setting in the options table. It is possible to override the mode setting done by Easytrieve Plus by using the RMODE and AMODE link-edit PARMs in the JCL.

Link-editing your Easytrieve programs having ALL31=ON at compile time causes Working Storage fields to be allocated above the line at execution time, even if the options module at runtime is set to ALL31=OFF; therefore; such programs cannot call a 24-bit subroutine.