Posted by Tom Fulton on September 21, 2010 at 14:55:28:
In Reply to: need help to figure out why I'm getting EXCP=2 when I (IMHO) don't think COMET posted by Bob A on September 21, 2010 at 14:35:20:
Change the line POSITION (C1ADIST) KEY=CNBR$ to Inquire (C1ADIST,C1ADIST.FMT)KEY=CNBR$,EXCP=NEXTLINE where the next line is NEXTLINE:
Compile & try again.
I believe you're counting on EXCP becoming reset after it receives the first EOF. EXCP doesn't change from the 2 value until the next time an EXCP occurs. With my code the value of EXCP will be 32 when you've done the read to set
the proper position of the pointer.
Hope this helps.
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.