Easytrieve error: EZTC0175E error: %name of macro
search cancel

Easytrieve error: EZTC0175E error: %name of macro

book

Article ID: 26263

calendar_today

Updated On:

Products

Easytrieve Report Generator

Issue/Introduction

Issue/Problem/Symptoms: 

Receiving this generation error:

  %name of macro                                 
  EZTC0175E >>> $ system error reading macro member 
  EZTC0183W >>> + macro not expanded due to above errors 

 

 

 

 

Environment

 

Easytrieve Report Generator, release 11.6

Cause

When MACTYPE is set to D, the MACDDN parameter in the option file must be set to match the //DD statement in the JCL that points to the dataset that stores the macro members.  The above generator error occurs when these do not match.

Example: If MACDDN is set to MACRO in the option file, then you would need a corresponding DD statement for //MACRO in the JCL:

//MACRO DD DISP=SHR,DSN=your.library.containing.macros (not your.ezt.CBAAMAC library) 

Resolution

  1. List the MACDDN parameter value by running the JOB06OP2 job found in your CBAAJCL library.

    //OPTBLD.SYSIN   DD  *
       READFILE

  1. Check the generated listing for the MACDDN parameter.
  2. If MACDDN parm value does not have a corresponding //DD statement in the program's JCL, then you need to either change the JCL or change the option file.
  3. To change the option file, please run JOB JOB06OP2 and specify MACDDN value to match the //DD statement in the program's JCL.

Example:  If the program has //MACRO DD statement, then please change this in the JOB06OP2:

//OPTBLD.SYSIN   DD  *

  MACDDN MACRO

 

Additional Information

Please note that if the macros are stored in Panvalet:
The MAC#LIB parameter specifies the number of macro libraries to be searched when using Panvalet or Endevor macro library support.
This value serves as a suffix to the DD name defined by the 
MACDDN parameter.

Here is the solution when macros are being kept in Panvalet with one library:
MACDDN = PANDD
MAC#LIB = 1
MACTYPE = P

Then the DDNAME within the JCL should be //PANDD1.