An INDEX report of a new Librarian VSAM Master file getting USER=2048 abend
search cancel

An INDEX report of a new Librarian VSAM Master file getting USER=2048 abend

book

Article ID: 118717

calendar_today

Updated On:

Products

Librarian

Issue/Introduction

I'm using the VSAM Master file creation example in your documentation and after creating the VSAM master file and I get a USER=2048 abend with a message of I/O ERROR READING BLOCK 1 OF MASTER FILE.

I ran the following steps:
1. Use IDCAMS to create a master file as described in your example
2. Do a Librarian step with option -OPT INIT,DISK for the newly created vsam MASTER file. This is successful with RC=0
3. Do a Librarian step with an option of -OPT INDEX(S). This step fails with RC=2048 and the above I/O error message.

Please let me know if you have any suggestion or if you have a better example of create a VSAM master file.

Environment

Release: LIB-AM00200-4.4-CA-Librarian-Access Method
Component:

Cause

The VSAM file was defined as an Extended Addressability type file:

IGD17070I DATA SET LIBR.INTRG.VSAM.MASTER
ALLOCATED SUCCESSFULLY WITH 1 STRIPE(S).          
IGD17172I DATA SET LIBR.INTRG.VSAM.MASTER     
IS ELIGIBLE FOR EXTENDED ADDRESSABILITY        
  

Resolution

CA Librarian does not support Extended Addressability VSAM files. 

Delete and define the new Master file as a standard VSAM file.