🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Gordy B. Sat, 21 Mar 1998 00:00
cobol programmer 'wanna be' needs help!!
#9
Author: Gordy B.
Date: Sat, 21 Mar 1998 00:00
31 lines
2018 bytes
I hope someone here can help me with this problem.  At school we use "visual
cobol 2.0" or something like that.  And it seems to be very forgiving.
However, at home I use micro focus personal cobol 2.0, which is not
asforgiving.

My Problem:
When I attempt to annimate (trace) my program, I continue to get the same
error each time I enter a read statement or a sort statment.  I am told that
[RT018] Read part record error:  eof before eor or file open in wrong mode.
First time it occurs, I'm looking up a table.  the compiler stops when it
reads the record for the 7th time and gives me that message.  Now i dont
know if this is significant, but there are 49 records in that file.  And one
thing that could be happening is that when the record is read, 143 bytes are
looked at(the record is 80 characters, and if you were to add 63 characters
to the first seven records all the records characters would be used).
Anyway I dont know if that is significant.  The second look-up i do , is
read 56 times, and there are 61 records.  Then when I progress to the
sort-file proceedure, the compiler stops on sort trans-sort , the first
statement in the paragragh, and gives me the eof before eor.
Hey, I know i don't no much, I'm in second year of cobol.  But I would
appreciate it if some of y'all could take the time to send me some
suggestions.  If you need more info, please e-mail me at mng2@texas.net ,
also you may send your supply to my e-mail address.
Thanx in advance for your consideration of this matter.

Sincerely confused,



Gordon Byrne
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads