Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 COB2 file processing rizwanaccy COBOL Programming 8 Tue Jan 02, 2018 1:00 pm
No new posts KSDS and Index file in cobol deepak14450 COBOL Programming 9 Fri Dec 22, 2017 9:36 am
No new posts Preserve order in Input File pshongal DFSORT/ICETOOL 13 Thu Dec 21, 2017 4:20 pm
No new posts ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts IBEGENER RETURN CODE 12 anilkumar922 All Other Mainframe Topics 5 Wed Dec 13, 2017 11:41 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us