EZTPA00 needed at run time?

Document ID : KB000020805
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

Why is EZTPA00 needed at run time?

Solution:

EZTPA00 is called from a linked Easytrieve application program that wascompiled with release 6.4 or older.

*
Linked Easytrieve application programs that were compiled with r11
do not call EZTPA00.
*
One exception. . .
EZTPA00 is also called from a linked Easytrieve application program
that was compiled with r11 WITH the NEWFUNC=N value
set in the Options Table. That's because when NEWFUNC=N
is specified, it's actually release 6.4 being used.
*
* * * * * * * * * * * * * * * * * * * * * * * * *
So if an Easytrieve program was compiled and linked with release 6.4,
that program will still call EZTPA00 after you've moved to r11.
* * * * * * * * * * * * * * * * * * * * * * * * *
Any time EZTPA00 is invoked by a way other than from a linked
Easytrieve application program, EZTPA00 will try to read Easytrieve
source code from SYSIN. That's because EZTPA00 has only two functions

  1. Doing setup for a linked Easytrieve application program, and
  2. Driving the compilation of an Easytrieve source program.