Can the IBM SuperC utility - ISRSUPC, be used to scan all members in a CA Librarian Master file?
search cancel

Can the IBM SuperC utility - ISRSUPC, be used to scan all members in a CA Librarian Master file?

book

Article ID: 11873

calendar_today

Updated On:

Products

Librarian

Issue/Introduction

We need to identify all members in a CA Librarian Master file that contain a certain character string.

When we run the IBM SuperC ISRSUPC job, it abends with:

SYSTEM COMPLETION CODE=0C4 REASON CODE=00000010 



Can the IBM SuperC utility - ISRSUPC, be used to scan all members in a CA Librarian Master file?

 

Environment

z/OS

Resolution

No. CA Librarian does not support scanning of an entire CA Librarian Master file with the IBM ISRSUPC utility.  

You can scan of a single CA Librarian Master file member using the IBM utility by specifying the Librarian member name on the CA Librarian Master file DD statement like this -

//SEARCH EXEC PGM=ISRSUPC,                                      
// PARM=(SRCHCMP,                                                  
// '')                                                                   
//SYSUDUMP DD SYSOUT=*                                             
//NEWDD DD DSN=your.Librarian.MASTER(membrnam),SUBSYS=LAM, 
// DISP=SHR                                                        
//OUTDD DD SYSOUT=(*)                                              
//SYSIN DD *                                                       
   SRCHFOR 'string'                                                   
/*                                                                 
//                                                                 

 

To search an entire CA Librarian Master file, you must use the CA Librarian -SCAN utility:

//LIBRSCAN EXEC PGM=AFOLIBR,PARM='NRJS,NJTA'                
//SYSPRINT DD  SYSOUT=*                                     
//INDEX    DD  SYSOUT=*                                     
//MASTER   DD  DISP=SHR,DSN=DSN=your.Librarian.MASTER   
//OSJOB    DD  DUMMY                                        
//SYSIN    DD  *                                            
-OPT UTILITY                                                
-SCAN *string1* STR=01,END=72,CTX=00                           
-SCAN *string2* STR=01,END=72,CTX=00                           
-END                                                        
/*                                                          

                                                    

Additional Information

See CA DocOps Librarian site for more information on the SCAN utility: