× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RE: Submit Job with OVRPRTF
  • From: "Bale, Dan" <DBale@xxxxxxxx>
  • Date: Wed, 14 Jun 2000 08:54:13 -0400

Your submitted job is a new job, totally separate from the job that
submitted it.  Overrides are not inheireted by the submitted job.  You must
do the override in the submitted job.

You should be able to do the override in the submitted RPG program.  Just
make certain the printer file is closed before you do the override.  In
other words, you must code a UC in positions 71-72 of the printer file's
F-spec (RPG-III; if RPG-IV, then code 'USROPN' in the F-spec keywords).  In
your *INZSR subroutine, perform the override, then open the printer file.

If you're doing this and it's still not working, then I'd suspect that you
are coding your OVRPRTF incorrectly.  Remember that you will not get an
error if you code the wrong file name on the OVRPRTF, and that other errors
easily go unnoticed.  If you're still having problems, reply with the
appropriate sections of your RPG code included.

hth,
- Dan Bale

> -----Original Message-----
> From: hartawan reksodiputro [SMTP:jeanhartawan@hotmail.com]
> Sent: Tuesday, June 13, 2000 10:33 PM
> To:   RPG400-L@midrange.com
> Subject:      Submit Job with OVRPRTF
> 
> Hello everybody,
> 
> I have a CL that will submit a call to RPG program. But before that I need
> 
> to override the PRTF. The problem is that the result is not effected by
> the 
> OVRPRTF, but when I try to change SBMJOB to just CALL interactively it 
> worked. I try to put the OVRPRTF inside the RPG program, I got the same 
> result. Then I use OVRSCOPE(*JOB) for the OVRPRTF command, still the same 
> result. Any suggestions?
> 
> TIA
> Jean
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.