Coding //PANDD statement in Easytrieve release 11.6
search cancel

Coding //PANDD statement in Easytrieve release 11.6

book

Article ID: 266415

calendar_today

Updated On:

Products

Easytrieve Report Generator

Issue/Introduction

//PANDD statement coded in Easytrieve program - how can this be coded under true release 11.6 to be in sync with the option file?

The corresponding parameter MACRO does not exist under true release 11.6.

Environment

Easytrieve Report Generator, release 11.6

Resolution

The JCL must contain a correct //PANDD statement pointing to the PDS where the macros reside. 

  1. Ensure that your option file EZOPTBL has MACTYPE set to D.

  2. See what value exists for the MACDDN parameter. PANDD is the default value.
         Example:  MACDDN   PANDD
         
  3. Your JCL needs a corresponding DD statement pointing to the DSN of the library which does contain the macro which is being invoked (not a macro delivered within Easytrieve product).

If this has not been changed, then it would //PANDD DD DSN=xxxx, DISP=SHR  (PANDD is the default). 

Under true release 11.6, please see this documentation for the MACDDN parameter:
Documentation for MACDDN parameter

For this, please ensure that MACDDN is set to PANDD (or whatever corresponds to the DD statement in the Easytrieve programs. 

Running JOB06OP2 and specifying 'READFILE'  for the

    //OPTBLD.SYSIN   DD  *

statement will help to identify the value of the MACDDN parameter.  

This will let you know what is set for the MACDDN parameter and then any programs invoking a macro contained within that dataset should have a corresponding DD statement.