CA Roscoe: LIBRDIAG02: AN ENTRY IN THE MASTER BLOCK AND AN INDEX BLOCK'S FORWARD POINTER DO NOT MATCH

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

After running a library diagnostic with LIBSERVE:
//LIBSERVE EXEC PGM=LIBUTIL,PARM='LIBRDIAG'
The following error may be displayed:
LIBRDIAG02: AN ENTRY IN THE MASTER BLOCK AND AN INDEX BLOCK'S FORWARD POINTER DO NOT MATCH

Resolution:

Solution:

There are a number of things that could cause this problem:

  1. This could be caused by restoring from a backup while CA Roscoe is running.
  2. 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.
  3. 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.

Normal Maintenance:
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.