Previous Topic: Required OS/VS COBOL Options

Next Topic: Adding IN25SYMC to Your OS/VS COBOL Procedure

Executing IN25SYMC as a Standalone Program

Member CAVHSYMC in CAI.CAVHPROC contains sample JCL for executing postprocessor IN25SYMC as a standalone batch job. Use this member to load symbolic information from previously saved OS/VS COBOL listings.

//CAVHSYMC PROC PROTSYM=CAI.PROTSYM,
//             NAME=XXXXXXXX,                                
//             LISTLIB=USER.LISTLIB, 
//             MEMBER=XXXXXXXX,                          
//             LISTER=ALL,                                      
//             CUTPRINT=ALL                                     
//*                                                             
//IN25PARM EXEC PGM=IN25PARM,REGION=512K,                       
//             PARM='&MEMBER,LISTER=&LISTER,CUTPRINT=&CUTPRINT' 
//STEPLIB  DD DISP=SHR,DSN=CAI.CAVHLOAD                           
//CARDS    DD DSN=&&CARDS,DISP=(,PASS),                         
//            UNIT=SYSDA,SPACE=(TRK,(1,1))                      
//*                                                             
//IN25SYMC EXEC PGM=IN25SYMC,REGION=2M                          
//STEPLIB  DD DISP=SHR,DSN=CAI.CAVHLOAD                           
//PROTSYM  DD DISP=SHR,DSN=&PROTSYM                             
//INPUT    DD DISP=SHR,DSN=&LISTLIB(&MEMBER)                    
//CARDS    DD DSN=&&CARDS,DISP=(OLD,DELETE)                     
//OUTPUT   DD SYSOUT=*,DCB=(LRECL=121,BLKSIZE=2440,RECFM=FBA)        
//MESSAGE  DD SYSOUT=*                                               
//                                                                   

You can override the following procedure variables:

Variable

Description

PROTSYM

Specifies the name of the symbolic file being updated.

NAME

Specifies the name that is used to store the symbolic information in the PROTSYM file. This name is used by the CA Application Quality and Testing Tools products to locate the symbolic information and is displayed when listing the contents of your PROTSYM.

In most cases, this name should be the same as the PROGRAM-ID. However, when loading symbolic information for use with CA InterTest for CICS, specify the name of the CICS program definition, or for composite support, specify the monitor name.

LISTLIB

Specifies the name of the partitioned data set containing the listing from the OS/VS COBOL compiler or CA Optimizer.

MEMBER

Specifies the name of the member in the listing library that contains the compiler listing for the program being added.

LISTER

Specifies how much of the listing to write to the OUTPUT file.

CUTPRINT

Specifies how much of the listing to write to the OUTPUT file.