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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
This topic is locked: you cannot edit posts or make replies. session stuck in TPX with status ACL amitc23 CA Products 1 Tue Dec 13, 2016 12:53 pm


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