Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Strange error message at compile time

Status
Not open for further replies.

JM81

Programmer
Nov 9, 2002
1
US
I'm trying to get a validation program working for my class. It took me a while, but I finally got rid of all the errors. But now, instead of showing me a list of errors, my program crashed and I get this error message:

JWN4008
C:\PROGRAM3\VALIDATION.MSG
THE SPECIFIED FILE FORMAT IS INVALID
THE LINE HAS MORE THAN THE MAXIMUM NUMBER OF
COLUMNS PER LINE

YES: IT IS READ AS TEXT WITH NO LINE NUMBER AND WITH 3176 AS COLUMNS PER LINE.
NO: PROCESSING CANCELLED

What does this error mean exactly? I've been staring at my code all day, but I can't find it!
 
Hi JM81,

It is possible that the FD for this file is invalid. Check for the following:

1. The record accessed is longer than the record description.
2. The record size specified is longer than allowed for the file type.
3. The file format specified does not match the file being accessed.

Dimandja
 
This is an editor message, not a compiler message.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top