FILE-STATUS=160( when read in EZ+)

Ask/Clarify the questions on EASYTRIEVE

Moderators: DikDude, Moderator Group

Post Reply
clover71030404
Member
Posts: 6
Joined: Tue May 08, 2012 2:32 pm

FILE-STATUS=160( when read in EZ+)

Post by clover71030404 » Sun May 27, 2012 1:47 pm

hi, Could you please help to advise what cause 'FILE-STATUS=160' error
I code like below:
READ file-1 KEY file-1-key STATUS
IF file-1: FILE-STATUS NE 0
DISPLAY 'READ ERROR' file-1: FILE-STATUS
END
END

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Mon May 28, 2012 7:02 am

Though you not post this, the file is VSAM?

Is the file possibly empty?
Have a good one

William Collins
Active Member
Posts: 732
Joined: Thu May 24, 2012 4:07 am

Post by William Collins » Mon May 28, 2012 11:30 pm

Look at the meaning of X'A0' for VSAM.

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