EOF location?
- From: "HeyBub" <heybubNOSPAM@xxxxxxxxx>
- Date: Sat, 27 May 2006 16:00:15 -0500
Anyone know where the EOF is supposed to be located on a PC file?
In other words, if Windows reports a file is, say, 100 bytes long, is the
EOF (X'1A') supposed to be in the 100th or 101st byte?
I've got copy books with both conditions and I suspect this inconsistency is
screwing up PowerCOBOL's "#INCLUDE" commands. (I suspect this because I get
the dreaded "...error in .SVD file according to INCLUDE or COPY turnip...")
Diligent research reveals I've got 107 copy books of which 33 have the EOF
beyond the size reported by Windows and 74 files where the Windows-reported
length includes the EOF.
And shouldn't a copy book end with a CR or LF?
It's a mystery...
I'm going to have a lie-down.
.
- Follow-Ups:
- Re: EOF location?
- From: Pete Dashwood
- Re: EOF location?
- From: Richard
- Re: EOF location?
- Prev by Date: Re: Variable length Records procesing on IBM Mainframes
- Next by Date: Re: EOF location?
- Previous by thread: Variable length Records procesing on IBM Mainframes
- Next by thread: Re: EOF location?
- Index(es):
Relevant Pages
|