Dynamic CLIST for ACF2 panel install results in CLIST not found
search cancel

Dynamic CLIST for ACF2 panel install results in CLIST not found

book

Article ID: 270578

calendar_today

Updated On:

Products

ACF2 - z/OS ACF2 ACF2 - MISC

Issue/Introduction

When using a CLIST to dynamically allocate the libraries required for the ACF2 panels, the panels themselves are working but the CLISTs invoked from those panels fail:

Panel line where error was detected:    
 ZSEL = CMD(%LID@015)    

Here is an example of the CLIST to dynamically allocate the libraries. Why can the CLIST library not be found? 

SYS1.CLIST($TEST):
PROC 0                                                
 CONTROL NOFLUSH  NOLIST NOMSG                        
 ISPEXEC LIBDEF SYSHELP DATASET +                      
   ID('HLQ.CAX1HELP')          
 ISPEXEC LIBDEF SYSPROC DATASET +                      
   ID('HLQ.CAX1CLS0')          
 ISPEXEC LIBDEF ISPSLIB DATASET +                      
   ID('HLQ.CAX1SKL0')          
 ISPEXEC LIBDEF ISPMLIB DATASET +                      
   ID('HLQ.CAX1MSG0')          
 ISPEXEC LIBDEF ISPPLIB DATASET +                      
   ID('HLQ.CAX1PNL0')          
 ISPEXEC SELECT PANEL(ACFOPTS) NEWAPPL(ACF2) PASSLIB  
 ISPEXEC LIBDEF SYSHELP                                
 ISPEXEC LIBDEF SYSPROC                                
 ISPEXEC LIBDEF ISPSLIB                                
 ISPEXEC LIBDEF ISPMLIB                                
 ISPEXEC LIBDEF ISPPLIB   

Resolution

The LIBDEF command cannot be used for SYSPROC and so the CAX1CLS0 library was not allocated and CLISTs were unable to be found.

Either manually adding CAX1CLS0 to the SYSPROC DD or using the ALTLIB command would resolve the issue.