EZTC0416E error when using LISTPGM instead of LIST
search cancel

EZTC0416E error when using LISTPGM instead of LIST

book

Article ID: 263858

calendar_today

Updated On:

Products

Easytrieve Report Generator

Issue/Introduction

Upgrading to latest release 11.6.01 and implementing the change of using LISTPGM instead of LIST, coding:

LISTPGM ON MACROS

for the first line and resulting in EZTC0416E compiler error:

Environment

Easytrieve Report Generator, release 11.6.01

Resolution

Let's clarify LIST as an option vs. statement:
 
1.) the 6.4 options table used to have the "LIST" option, which was renamed to LISTPRM, LISTFIL and LISTUC in 11.0. These are valid only in the options table context (managed with JOB06OP2 in the CBAAJCL).
 
2.) The standalone "LIST" statement, and the "LIST" option in the PARM statement, which are inline in the program source code, are still supported and keep the 6.4-like syntax.
 
The documentation is correct:
 
This article describes LIST -> LISTPRM+LISTFIL+LISTUC options change (these will never show up in the program source code, it is just part of the options table):
 
 
This article describes the standalone LIST statement (this will show up in the program source code only):