× 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.



Check the attributes of the 2 spool files as one may be 132 and one 80.
The 132 column will auto rotate. Most likely the RPG program print file
was compiled with a column width of 132 even though you only output 80
characters. If that is the case, CHGPRTF can fix that. RPGIII will run
in the *DFTACTGRP activation group while the CL if a CLLE will run in
QILE activation group. Make sure you get the override level correct in
the CL. DSPPGMREF on the RPGIII to see what printer file is used or
look at the attributes of the spool file to see what print file was
used.



-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of jmmckee
Sent: Wednesday, February 02, 2011 7:59 PM
To: Midrange Systems Technical Discussion
Subject: OVRPRTF question

Is there a difference between a WRKQRY with an 80 character output line
and an RPG III program with an 80 character line? The first one, sent
to a Xerox remote outq, prints portrait. The second prints landscape.
This is an old RPG III program, used as a print service program. It
reads from a file and prints data to selected printers. Hard to test
the thing without impacting users.

A second question, related to the above: Original compile time table
holding the skeleton OVRPRTF command only includes the first parameter
on PAGESIZE). I put a second OVRPRTF after that with PAGESIZE(66 80).
No change. Moved it in front of the original. Still no change. Output
is always landscape. The skeleton does not have the SECURE parameter.
Which is why I am wondering if there is a difference between WRKQRY and
RPG III.

Because of the nature of this old program, I was reluctant to change the
skeleton. But, I'm not clear on why the original override works,
whether it is first or second, and the added override does not appear to
work.

Obviously, I am missing something.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.