Using LIBUTIL,PARM='RECLAIM' to reclaim dead blocks with CA Roscoe

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

Summary: 

As the ROSLIBS are used, dead blocks will accumulate. These dead blocks may be reclaimed by running the LIBUTIL RECLAIM program in the instructions below below.

Background:  

- We recommend that you do a full backup before running the RECLAIM. 
- We suggest you run a RECLAIM,SIMULATE before doing the actual RECLAIM.
- If possible, Roscoe should be down when running the LIBUTIL,PARM='RECLAIM'.  If there are multiple Roscoes sharing the ROSLIBs, they should all be down. LIBUTIL
RECLAIM issues a hardware reserve. For that reason it is best to run RECLAIM where there is little activity if it is not possible to bring down all the Roscoes. If Roscoe is on shared DASD, it will affect the other CPU because the other system will not be able to access the pack, unless you have MIM and have specified and
ROSCLIBE in the QLIST.

NOTE: A full backup and restore will do a general automatic reclaim.

Instructions:
Customize this JCL with the number and names of your roslibs before submitting.
//ROSLIB   EXEC PGM=LIBUTIL,PARM='RECLAIM'
//STEPLIB  DD  DSN=CAI.RO60LIB,DISP=SHR
//ROSLIB00 DD  DSN=CAI.ROSLIB00,DISP=OLD
//ROSLIB01 DD  DSN=CAI.ROSLIB01,DISP=OLD
//ROSLIB02 DD  DSN=CAI.ROSLIB02,DISP=OLD
//SYSPRINT DD  SYSOUT=*
/*

Additional Information:
See section 4.4.19 of the Roscoe Programs & Utilities Guide.
See TEC298420 Determining Index & Data Block Usage for the ROSLIBS - ROSTAT for determining when you should run a RECLAIM.