Issue/Problem/Symptoms:
Receiving this generation error:
%name of macro EZTC0175E >>> $ system error reading macro member EZTC0183W >>> + macro not expanded due to above errors
Easytrieve Report Generator, release 11.6
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)
//OPTBLD.SYSIN DD *
READFILE
Example: If the program has //MACRO DD statement, then please change this in the JOB06OP2:
//OPTBLD.SYSIN DD *
MACDDN MACRO
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.