CA 2E Multiple model development environment set up procedure
search cancel

CA 2E Multiple model development environment set up procedure

book

Article ID: 274776

calendar_today

Updated On:

Products

CA 2E

Issue/Introduction

This document outlines the CA 2E Multiple model development environment set up procedure

Environment

CA 2E 8.7

Resolution

Multiple model development environment set up procedure:

Note: Please try below scenario in the Lab models/environment before applying to the PROD/business Models.

Below given library naming conventions are just for examples.

Data areas should be created with the name YSYSPFX.

If there are N Models.  For Example:   MODELM, MODELN and MODELO

Step #1: Create a Library, AUTONAME and do the following:

  • Copy the source file member YALCVNMR1R from Y2SYSRC/QRPGSRC into a new source file AUTONAME/QRPGSRC with CPYSRCF
  • Edit the source for YALCVNMR1R in AUTONAME/QRPGSRC to implement the required amendments and then compile it as shown below. 

Step #2:  Create a Library for each Model to contain a Data area, which will hold the Prefix for each Model. 

For example:   XXXXMMLIB for MODELM, XXXXNMLIB for MODELN and XXXXOMLIB for MODELO  

Create a two-character data area “YSYSPFX” in each above created Library

YSYSPFX in XXXXMMLIB, YSYSPFX in XXXXNMLIB and YSYSPFX in XXXXOMLIB  

Set the data area to a unique value in each library created above. 

Step #3: Edit the library list for each model to include AUTONAME and other library (XXXX*) after QTEMP as below.
       
Add AUTONAME, XXXXMMLIB to the MODELM library list
Add AUTONAME, XXXXNMLIB to the MODELN library list
Add AUTONAME, XXXXOMLIB to the MODELO library list  

This setup will use the modified program YALCVNMR1R from AUTONAME library, which will pick the value of the data area YSYSPFX from the associated library rather than to access the file.