|
Hi,
If you make an OVRPRTF with SPLFOWN(*JOB) all
will be
find.
----- Original Message -----
Sent: Thursday, November 24, 2005 12:09
PM
Subject: [Easy400Group] CGIDEV2
problem
Hello,
I'm writing a few programs that will allow
users to obtain pdf files from spools via a web interface.
Using
CGIDEV2, i've created an HTML form where they choose the printing they
want. When they submit the form, I'm calling a CL program that: 1)
override the spool file (I'm changing the outq and the spool name) 2) call
an RPGLE which write this spool file 3) use a utility called CVT2CMD. This
utility copies the spool file into a PDF file.
When I call the CL
program from my 5250 session, all work well. When this CL program is called
by my HTML form, an error occurs in point 3): spool file not found. In
fact, the spool file has been created in the outq but under a job name
that is not the same as the job of the CL.
For the CL program, i've
got 296160/QTMHHTTP/GESDASWEBA. For the spool,
231314/QTMHHTP1/QPRTJOB.
As the CVT2CMD requires the job name to copy
the spool (like the CPYSPLF command), I let the default value * which does
not correspond to the spool job name.
Can someone explain me why my
spool is created with an other job name? How can i resolve my
problem?
Thanks
SPONSORED LINKS
YAHOO! GROUPS LINKS
|