Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Status code for Sequential file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
gigs

New User


Joined: 08 Aug 2005
Posts: 27
Location: USA

PostPosted: Tue Aug 16, 2005 7:11 pm    Post subject: Status code for Sequential file
Reply with quote

Hi all,

Is Sequential File return status code ?

If yes, What are those ?
Back to top
View user's profile Send private message

shivashunmugam Muthu

Active User


Joined: 22 Jul 2005
Posts: 114
Location: Chennai

PostPosted: Tue Aug 16, 2005 7:21 pm    Post subject:
Reply with quote

Successful Completion
* 00 Successful completion - no error occurred
* 02 Duplicate alternate record key (when WITH DUPLICATES) is not specified
04 Successful read, but length of record does not conform to FD entry

Unsuccessful Completion
* 10 Sequential read attempted, but there are no more input records
* 21 Keys are not in correct sequence
* 22 Attempt to write a record, which will create a duplicate primary record key
* 23 Required record not found during a READ
* 24 Attempt to write beyond the pre-established boundaries of an indexed file
* 30 Permanent data error has occurred (hardware problem)
34 Boundary error for a sequential file
37 Permanent error has occurred because an OPEN statement has been attempted on a file that will not support the mode specified in the OPEN statement.
41 An OPEN statement has been attempted on a file that is already open.
42 A CLOSE statement has been attempted on a file that has not been opened
* 43 An attempt has been made to DELETE or REWRITE a record after an unsuccessful READ

* apply specifically to indexed files.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Testing rerad cursor for status with ... John F Dutcher DB2 8 Fri May 19, 2017 9:35 pm
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us