any reasons for EXCP=02 other than EOF (End-of-file)?


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Bob A on August 16, 2010 at 08:04:30:

I seem to be getting an EOF on the first record.

first tried: FILE (LUN) POS=BOF
even tried: CLOSE (LUN) & OPEN (LUN) "LUNNAME"

to force the program to point to BOF

yet, when I issue: SAVE.LUN.KEY$ = KEY(LUN,EXCPSUB=EXCPSUB.KEY)

I get EXCP=02 on the first KEY statement... which I know because I dump the EXCP along with the returned key, and it is, in fact, the first of 9 keys/records in the file.

I also tried to check the file with QTILITY, and I can look at all the keys with MAINT and FDUMP.

Also, FILECHK and KEYCHK don't report problems.

the only thing out of the ordinary is that FILECHK won't "list key map", it just says that there are no errors.

Any ideas what else could be causing the EXCP=02 on the first read since all the QTILITY programs I can think of say that the key tree is fine.

Thanx

Bob "A"

P.S. we're running 2008/Build 391


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]