VSAM Status 46

Post your questions related to VSAM

Moderator: Moderator Group

Post Reply
BrantleyL
Member
Posts: 1
Joined: Tue Jun 01, 2010 6:19 pm
Location: Dallas TX

VSAM Status 46

Post by BrantleyL » Tue Jun 01, 2010 6:36 pm

I am getting a 46 on a VSAM file. I am VERY puzzled by this because I believe that I have coded so that this is not possible.

The program reads an input to get the keys to read the vsam file. It is reading the AIX.

VSAM status 46 means that no valid next record condion exists because:
1. The prior read resulted in an end-of-file
2. The previous read was not successful.

I don't think either of these apply because. If I get an EOF, the code will go read the next input record and re-do a start and read from there.

If the previous read is unsuccessful, the program abends.

This file is open for I/O in the CICS region. I kind of suspect that has something to do with it, but I am at a complete loss as to how this can happen. The program has been running without incdent for some time and this has only cropped up recently, but the last week has pushed this program into running during the time CICS is up.

Any ideas??
Brant

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Thu Jun 10, 2010 1:32 pm

If the VSAM is being used by your application it will not be available for "batch process" for sure. Showing your code which you suspect is not functioing corrct might help to get better solution.
Regards,
Anuj

academyindia4

Topic deleted by Admin

Post by academyindia4 » Tue Jan 19, 2016 7:44 pm

<< Content deleted By Admin >>

academyindia4

Topic deleted by Admin

Post by academyindia4 » Mon Feb 01, 2016 10:25 pm

<< Content deleted By Admin >>

academyindia4

Topic deleted by Admin

Post by academyindia4 » Mon Feb 01, 2016 10:27 pm

<< Content deleted By Admin >>

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others