View previous topic :: View next topic
|
Author |
Message |
satish_r84
New User
Joined: 31 Jul 2006 Posts: 6
|
|
|
|
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 |
|
|
DavidatK
Active Member
Joined: 22 Nov 2005 Posts: 700 Location: Troy, Michigan USA
|
|
|
|
Maybe if you could post your SELECT, FD, OPEN ect we might be able to see something.
Dave |
|
Back to top |
|
|
krisprems
Active Member
Joined: 27 Nov 2006 Posts: 649 Location: India
|
|
|
|
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 |
|
|
satish_r84
New User
Joined: 31 Jul 2006 Posts: 6
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
|