You should override the printer file (OVRPRTF) specifying SPLFOWN(*JOB)

Giovanni
----- Original Message ----- 
From: "lpt_fr" <[EMAIL PROTECTED]>
To: <[email protected]>
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
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
> 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/wbFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Easy400Group/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to