How to List all CA Roscoe Keys with their Associated Members?

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

Question: 

How to list all CA Roscoe keys with their associated members?

Answer: 

Use LIBSERVE LIST JCL specifying LIBRARY KEY=$ALL to do this.  

Use the sample JCL below to accomplish this:

Customize this JCL with the names and correct numbers of your ROSLIBS and the name of your Roscoe load library.

//JOBCARD
//*-------------------------------------------------------------------*
//*    Sample JCL to run the LIBSERVE program to list all members     *
//*    on all the accounts in the CA-ROSCOE library system.           *
//*-------------------------------------------------------------------*
//LIBSERVE EXEC PGM=LIBSERVE,PARM='ROSCOE.CONTROL'
//STEPLIB  DD  DSN=ROSCOE.RO60.RO60LIB,DISP=SHR
//ROSLIB00 DD  DSN=ROSCOE.RO60.ROSLIB00,DISP=SHR
//ROSLIB01 DD  DSN=ROSCOE.RO60.ROSLIB01,DISP=SHR
//ROSLIB02 DD  DSN=ROSCOE.RO60.ROSLIB02,DISP=SHR
//SYSPRINT DD  SYSOUT=*
//SYSIN    DD  *
 LIBRARY KEY=$ALL
/*

Note: KEY is the signon key. PARM= should be that of the user executing the program. Specifying PARM=ROSCOE.CONTROL will allow the user executing LIBSERVE in the RO account the ability to execute any of the special control statements. We recommend that this report be done when ROSCOE is down to avoid any possible problems with performance.

Additional Information:
See 4.3 Library Member Maintenance (LIBSERVE Program) in Roscoe Program and Utilities Guide r6