How to use LIBDEF statements in CA WA JCLCheck clist EJCK

book

Article ID: 210321

calendar_today

Updated On:

Products

CA JCLCheck Workload Automation

Issue/Introduction

Need to add LIBDEF statements to the CA JCLCheck clist EJCK instead of using the TSO logon proc to define the JCLCheck libraries.

Environment

Release : 12.0

Component : CA-JCLCheck Common Component

Resolution

Clist EJCK is found in the CA JCLCheck CAZ2CLS0 library. 

1. Add the following statements before "ISPEXEC SELECT PGM(CAZ2LEVL)":

 SET CAICLIB = &STR('HLQ.CAZ2CLS0')               
 SET CAIISPP = &STR('HLQ.CAZ2PNL0')               
 SET CAIISPT = &STR('HLQ.CAZ2TBL0')               
 SET CAIISPM = &STR('HLQ.CAZ2MSG0')               
 SET CAIISPS = &STR('HLQ.CAZ2SKL0')               
 SET EDCHKDD = &STR('HLQ.EDCHKDD')                
                                                  
 ALTLIB ACTIVATE APPLICATION(CLIST) DA(&CAICLIB)  
                                                  
 ISPEXEC LIBDEF ISPPLIB DATASET ID(&CAIISPP)      
 ISPEXEC LIBDEF ISPTLIB DATASET ID(&CAIISPT)      
 ISPEXEC LIBDEF ISPMLIB DATASET ID(&CAIISPM)      
 ISPEXEC LIBDEF ISPSLIB DATASET ID(&CAIISPS)      
 ALLOC FI(EDCHKDD) DA(&EDCHKDD) SHR               

2. Add the following statements before "EXIT":

ISPEXEC LIBDEF ISPPLIB              
ISPEXEC LIBDEF ISPTLIB              
ISPEXEC LIBDEF ISPMLIB              
ISPEXEC LIBDEF ISPSLIB              
ISPEXEC LIBDEF EDCHKDD              
FREE FI(EDCHKDD)                    
ALTLIB DEACTIVATE APPLICATION(CLIST)

Additional Information

Install ISPF Support

Install Edchek