ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

ROSCOE- How can we extract all the RPFs and then SCAN for a specific field name?

book

Article ID: 227883

calendar_today

Updated On:

Products

Roscoe

Issue/Introduction

We have a need to get a close count of the active  RPF in our Roscoe's  environment and since I was told all the Roscoe RPF start with '<<name>>' as the 1st statement in RPF, if there is a utility that would scan the libs where the RPF are usually stored and select all those members with the matching '<<name>> statement and save them in any  TSO/ISPF PDS lib

 

Is there a way we could do that

Environment

Release : 6.0

Component : CA Roscoe Interactive Environment

Resolution

This sample for LIBSERVE should get what you need. Make the update to the JCL to fit your environment.  

//STEP1 EXEC PGM=LIBSERVE,PARM='ROSCOE.CONTROL'        
//STEPLIB  DD DSN=your. ROSCOE.RO60.RO60LIB,DISP=SHR         
//ROSLIB00 DD DSN=your.SUPPORT.ROSLIB00,DISP=SHR     
//ROSLIB01 DD DSN=your.SUPPORT.ROSLIB01,DISP=SHR     
//ROSLIB02 DD DSN=your.SUPPORT.ROSLIB02,DISP=SHR     
//ROSLIB03 DD DSN=your.SUPPORT.ROSLIB03,DISP=SHR     
//ROSLIB04 DD DSN=your.SUPPORT.ROSLIB04,DISP=SHR     
//ROSLIB05 DD DSN=your.SUPPORT.ROSLIB05,DISP=SHR     
//SNAP     DD SYSOUT=*                                 
//SYSPRINT DD SYSOUT=*                                 
//SYSIN    DD *                                        
SCAN ALL,TRUNC=NO /<</                                 --->  /<</ denotes anything that begins with a << will be reported. Put the string you require here.

 

The LIBSERVE Utility is documented in the Roscoe Programs and Utilities Guide Chapter 4