Support for Multiple Program Versions in a Single PROTSYM

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

Starting in release 9.1 for CA InterTest for CICS , CA SymDump CICS, CA SymDump Batch and CA InterTest Batch PROTSYM files can now contain multiple versions of the same program. When running reports or displaying the PROTSYM programs on a screen or window, duplicate program versions will be displayed in the descending order of compile date/time (newest to oldest).

 

To allow multiple program version support, include the MAXPGMVER=# parameter when initializing the PROTSYM file.

 

MAXPGMVER

 

Indicates the number of versions of a single program the PROTSYM will allow (up to 255). The default value is 1, which indicates no multiple program versions. For assembler programs, multiple program version support uses the HLASM compile date/time on the listing that has the format 2014/08/04 08.36. Hence, multiple program listings for the same program that are compiled within the same minute are not supported. 

 

In the example below the PROTSYM file  is initialized to allow five versions of the same program.

 

//LOAD     EXEC PGM=IN25UTIL,REGION=2048K

//STEPLIB  DD DSN=HLQ.CAVHLOAD,DISP=SHR

//MESSAGE  DD SYSOUT=*

//PROTSYM  DD DSN=HLQ.PROTSYM,DISP=SHR

//CARDS    DD *

PASSWORD=12345678

INITIALIZE,MAXPGMVER=5

REPORT

/*

//

 

In the IN25UTIL report below the PROTSYM file contains four versions of program COBDEMO

 

UTIL001 REPORT

     CA INTERTEST V9.1.000 07/31/2014 - PROTSYM STATUS REPORT - RUN-DATE = 01/27/2015

     SYSTEM REPORT: NUMBER OF AVAILABLE UNUSED RECORDS =      19303

                    NUMBER OF ACTIVE PROGRAMS          =         16

                    NUMBER OF USED RECORDS             =        844

                    NUMBER OF RECORDS HELD BY UPDATES  =          0

                    MULTIPLE PROGRAM VERSIONS          =          5

                    LAST SUCCESSFUL UTILITY RUN        = 01/27/2015

 

NAME   LANG    DATE       TIME   DAYS-OLD  TOTAL-RECS  LISTER-#RECS

 

       COBDEMO   COLE 01/27/2015  18:36:44      0        133     ALL -  115   

       COBDEMO   COLE 01/27/2015  16:55:13      0        133     ALL -  115   

       COBDEMO   COLE 01/27/2015  16:22:12      0        133     ALL -  115   

       COBDEMO   COLE 01/27/2015  16:03:38      0        133     ALL -  115