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
 

 

Permanent Error file status 30

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

New User


Joined: 31 Jul 2006
Posts: 6

PostPosted: Wed Dec 20, 2006 3:56 am    Post subject: Permanent Error file status 30
Reply with quote

Hi All,

i am getting file status 30, which is a permanent error, so can any one of you suggest what is the solution for it.

when tried in google it says it's a permanent error.

but i have error handling in program, after which i get OPEN ERROR ON filename FILE-STAT IS 30....

Please let me know the solution for it.

Regards
Satish
Back to top
View user's profile Send private message

DavidatK

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Wed Dec 20, 2006 4:02 am    Post subject: Re: re file status 30....
Reply with quote

Maybe if you could post your SELECT, FD, OPEN ect we might be able to see something.

Dave
Back to top
View user's profile Send private message
krisprems

Active Member


Joined: 27 Nov 2006
Posts: 649
Location: India

PostPosted: Wed Dec 20, 2006 4:13 pm    Post subject:
Reply with quote

The I/O statement was unsuccessfully executed as the result of a boundary violation for a sequential file or as the result of an I/O error, such as a data check parity error, or a transmission error.
Back to top
View user's profile Send private message
satish_r84

New User


Joined: 31 Jul 2006
Posts: 6

PostPosted: Wed Dec 20, 2006 9:52 pm    Post subject: re file status 30...
Reply with quote

Hi Dave,

The FD section is as follows.

FD TRIGGER-FILE
DATA RECORD IS TRIGGER-RECORD.

01 TRIGGER-RECORD.
05 FILLER PIC X(2) VALUE SPACES.

Regards
Satish
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Dec 21, 2006 12:02 am    Post subject:
Reply with quote

Hello,

Suggest that there be no VALUE in the FD.

I'd also suggest making the record longer - maybe a total length of 16. Just make the additional bytes filler. I recall various problems with really short records in the past.

Is this the initial creation of the file? Please include the SELECT, the OPEN, and the JCL for this file.
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 OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 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
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm


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