[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

SQR Error Message 6004



Hello.

Has anyone ever encountered SQR Error 6004?  I am getting this error
('Encountered unknown SPF code (0) while reading the printer file') when
running two of my reports from a C program which forks off SQR reports.  If
I run the reports manually from the command line there is no error.

I did a search of the archives and learned that error codes 6000-6002 are
related to file permissions/file locking - does anyone know what 6004 is
related to?  My first thought was that it was a locking problem (two reports
both trying to lock the same tmp file - I use a tmp file to flush the SQR
buffer) but the problem only happens with two specific reports out of 20
(all of which are using the same tmp file - the tmp file is never actually
created ie nothing is printed while the tmp file is the active output
location).  I wrote two test SQR's which opened the same tmp file (using
new-report)  and I didn't have a problem so that kind of shot down my file
locking theory.

Any help (or nudge towards the correct resource) would be much appreciated.

John Milardovic