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

Document ID : KB000118717
Last Modified Date : 08/11/2018
Show Technical Document Details
Issue:
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.
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.