There are a number of things that could cause this problem:
- This could be caused by restoring from a backup while CA Roscoe is running.
- If CA Roscoe crashes or is not brought down cleanly, there may be users that are using the library facility and in this case, all blocks may not get cleaned up properly.
- There could be user written routines that don't handle library processing properly.
To Resolve the LIBRDIAG errors:
Perform a full backup and restore. Refer to TEC293129 Backup the ROSLIBS and TEC432712 Full Restore from Full and Partial Backup Files for sample JCL and instructions.
Run a ROSTAT to check on dead blocks periodically and if there are a large number, perform a full backup and restore.
Refer to TEC293144 Roscoe library status (ROSTAT) for sample JCL to run a ROSTAT.