Why do CA Easytrieve Plus Report Generator 6.4 and CA PanAudit Plus 3.0 both contain the PAPLDATE module? Also, can the PAPLDATE module be shared between these products?

Document ID : KB000028223
Last Modified Date : 14/02/2018
Show Technical Document Details

Question: 

Why do CA Easytrieve Plus Report Generator 6.4 and CA PanAudit Plus 3.0 both contain the PAPLDATE module? Also, can the PAPLDATE module be shared between these products?

 

Environment:  

CA Easytrieve Plus Report Generator

 

Answer: 

PAPLDATE is distributed with CA Easytrieve Plus Report Generator so that any CA Easytrieve Plus Report Generator user can invoke the DATECONV macro (which calls PAPLDATE). CA PanAudit Plus also distributes DATECONV and PAPLDATE, (along with many other macros and subroutines that are not included in CA Easytrieve Plus Report Generator). The DATECONV routine converts a date in one format to another date format. For example, you can convert month-day-year to year-month-day, Julian to Gregorian, and perform similar date conversions.

CA Easytrieve Plus Report Generator and CA PanAudit Plus both distribute different PAPLDATE modules because CA Easytrieve Plus Report Generator 6.4 introduced 31-bit mode support while CA PanAudit Plus does not provide support for 31-bit mode at this time. As such, the PAPLDATE from CA Easytrieve Plus Report Generator is distributed with AMODE=31, RMODE=ANY and the PAPLDATE from CA PanAudit Plus is distributed with AMODE=24, RMODE=24.

Many of the CA Easytrieve Plus Report Generator 6.4 routines (including PAPLDATE) use AMODE=31. CA Easytrieve Plus Report Generator customers who do not use CA PanAudit Plus, and do not call 24-bit subroutines, can specify the CA Easytrieve Plus Report Generator option ALL31=YES, so that at runtime, dynamic storage is allocated above 16 MB. CA PanAudit Plus is driven by CA Easytrieve Plus Report Generator. Since CA PanAudit Plus does not use AMODE=31, and it does call 24-bit subroutines, CA PanAudit Plus users should specify CA Easytrieve Plus Report Generator option ALL31=NO, so that at runtime, dynamic storage is allocated below 16 MB.

 

The PAPLDATE modules should not be shared. The two different product's installation processes link their PAPLDATE modules into unique CAILIBs. If the PAPLDATE module included with CA Easytrieve Plus Report Generator is found first, and ALL31=YES, dynamic storage is allocated above 16 MB. If the PAPLDATE module included with CA PanAudit Plus is found first, and ALL31=NO, dynamic storage is allocated below 16 MB. If the PAPLDATE module included with CA PanAudit Plus is found first, and ALL31=YES, dynamic storage is allocated above 16 MB, and a S0C4 abend will occur.