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 IDCAMS RENAMING VSAM FILE ALONG WITH ... upendrasri JCL & VSAM 11 Tue Apr 17, 2018 10:42 pm
No new posts Comparing two sequential files Mohan Kothakota COBOL Programming 14 Mon Apr 16, 2018 6:35 pm
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts Getting GG return code abdulrafi IMS DB/DC 2 Tue Apr 10, 2018 12:31 pm
No new posts converting a mainframe file with ASA ... Lynne Schuler All Other Mainframe Topics 5 Wed Apr 04, 2018 9:44 am

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