Retrieving CA Easytrieve macros and program sources from CA Librarian master files

book

Article ID: 50437

calendar_today

Updated On:

Products

CA PanAudit Plus CA Easytrieve Report Generator CA PAN/SQL CA Endevor Software Change Manager (SCM) CA Endevor Software Change Manager - Natural Integration (SCM) CA Endevor Software Change Manager - ECLIPSE Plugin (SCM) CA Endevor Software Change Manager - Enterprise Workbench (SCM) CA Librarian CA 2E

Issue/Introduction

Description:

How to make CA Easytrieve macros and program source managed by CA Librarian available to CA Easytrieve compile.

Solution:

For possible approaches to achieve this, see the steps below:

  1. Using FAIR (EZT 6.4) for macros and the subsystem for SYSIN EZTPOPT could be generated with:
    MAC#LIB=2, C
    MACDDN=MASTER, C
    MACRO=LIBR, C
    Then the following assignements in JCL is to be used:
    ...
    //MASTER1 DD DISP=SHR,DSN=<eztplus.macros.master>
    //MASTER2 DD DISP=SHR,DSN=<eztplus.source.master>
    ...
    //SYSIN DD DISP=SHR,DSN=<eztplus.source.master>(<member<),
    // SUBSYS=<lam>
    ...
    The preceding coding requires that CA-Librarian FAIRxxxx modules are available from STEPLIB concatenation or linklist.

  2. Using the subsystem for macros and SYSIN

    1. For EZT 11.x the following ( default ) setting can be used in EZOPTBL:
      MAC#LIB 1
      MACDDN PANDD
      MACTYPE D

      The JCL assignments then look like:

      ...
      //PANDD DD DISP=SHR,DSN=<eztplus.macros.master>,
      // SUBSYS=<lam>
      // DD DISP=SHR,DSN=<eztplus.source.master>,
      // SUBSYS=<lam>
      ...
      //SYSIN DD DISP=SHR,DSN=<eztplus.source.master>(<member<),
      // SUBSYS=<lam>
      ...
    2. The above JCL ( from EZT r11.x ) works for EZT 6.4 as well, if EZTPOPT is generated with:
      MAC#LIB=1, C
      MACDDN=PANDD, C
      MACRO=PDS, C
      ...

Agenda:

<eztplus.macros.master> identifies the CA Librarian master file containing macros
<eztplus.source.master> identifies the CA Librarian master file containing program sources
<member> identifies the program (member) name <lam> identifies the name of the CA Librarian/AM subsystem

Remarks:

The CA Librarian subsystem must be active, either initilized during CAS9 processing or by executing LJxxINIT, where xx is the release of CA Librarian (42 for LIBR 4.2; 43 for LIBR 4.3)

It is recommemnded to create a language type for CA Easytrieve sources, using the LUELIGEN JCL to assemble and link ELIPSGEN with following being specified as a sample:

...
ATYPnn=(EZTRIEV,EZT,81,6), X
...

where nn is the first unused suffix of the ATYPExx options in the ELIPSGEN macro.

Environment

Release: EDBMSU00200-11.5-Easytrieve-Report Generator-Option for DB2-MSU
Component: