USER Abend 2048 with the Message: "*** ERROR *** I/O ERROR READING BLOCK 1 OF MASTER FILE" when trying to open a Librarian Masterfile.
search cancel

USER Abend 2048 with the Message: "*** ERROR *** I/O ERROR READING BLOCK 1 OF MASTER FILE" when trying to open a Librarian Masterfile.

book

Article ID: 52355

calendar_today

Updated On:

Products

Librarian

Issue/Introduction

USER Abend 2048 with the Message: "*** ERROR *** I/O ERROR READING BLOCK 1 OF MASTER FILE" when trying to open a Librarian Masterfile.

 

Environment

Release:
Component: C21E

Resolution

This error means that the masterfile is corrupt.

This may happen, when

  • copying the MF between different device types with IBM utilities.

  • when renaming manually the masterfile.

  • when accessing the masterfile with wrong file attributes (DCB)

  • when accessing the masterfile with non Librarian utilities.

If Block1 of the Masterfile is really corrupt there's no known way to recover the contents.

In this case, try to run a backup of this particular masterfile. Librarian give you meaningfull error messages for the whole MF or for particular member which is corrupt.

If the MF is corrupt, you will have to INIT a new Masterfile and run a full restore from previous backup.