Posted by Grant Foraker on October 10, 2013 at 10:40:20:
In Feb, wrote a DocProc for a TXT archive in DocMgr. Customer is finally planning on implementation.
The final piece is to flag the Archive record as printed.
OPEN (3) ARCHIVENAME$
EXTRACT (3,DocRec) KEY = JobSerial$
LET JobStatus$ = PRINTED$
WRITE (3,DocRec) KEY = JobSerial$
The customer is using Spooler redirection as many programs have the old QSPOOL ID hardcoded. QSPOOL SP5 has become DocMgr SP5.
The redirection goes SP5 --> LTE, which is the printer associated with the new SP5.
In this scenario DocMgr is placing the printer ID (LTE) in ARCHIVENAME$ instead of SP5 and I get the following error.
10/09/13 10:41:06 P00 DOCPROC ERROR #: 53 INVALID ACCESS TO SPECIFIED FILE
VSN: 612.472 LUN: 3 FILE: LTE . DIR:
As a workaround, I've hardcoded the OPEN to the specific file and directory. Ok as there's only one user using the DocProc.
Post a Followup
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.