When you get the file status 39 that means it was unable to open the file due to mismatch in IDCAMS code and the file definition.... PLs cross check and if possible paste the idcams as well as the open statement.... Are you trying to open using output method or I/O method ... Are you adding the record as a first record to the VSAm file ????
Joined: 06 Jun 2008 Posts: 8055 Location: East Dubuque, Illinois, USA
Are you adding the record as a first record to the VSAm file
Arya: the JCL lines reference the PATH name for the alternate index, and alternate indexes cannot be built unless the base VSAM file has at least one record in it, so your question has already been answered.