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



This works for me to
OVRPRTF FILE(NO028) OUTQ(PE) SAVE(*YES)

// LOAD NO028
// FILE NAME-SPOST,LABEL-POST?WS?D,RETAIN-S
// FILE NAME-SPOSTS,LABEL-POST?WS?S,RETAIN-S
// FILE NAME-PROF,LABEL-PROF,DISP-SHR
// FILE NAME-TRBHST,DISP-SHR
// PRINTER NAME-NO028
// RUN

jim

----- Original Message ----- From: "Jerry Adams" <Jerry@xxxxxxxxxxxxxxx>
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Sent: Thursday, July 31, 2008 3:39 PM
Subject: RE: OVRPRTF Command in OCL for RPG II Report


I mean that it still wanted to print to the system list device (QPRTDEV system value). Not to the printer I specified for the DEV( ) keyword. I was sure that would work, too, Bill.

Jerry C. Adams
IBM System i Programmer/Analyst
B&W Wholesale
office: 615-995-7024
email: jerry@xxxxxxxxxxxxxxx


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Reger, Bill
Sent: Thursday, July 31, 2008 2:32 PM
To: Midrange Systems Technical Discussion
Subject: RE: OVRPRTF Command in OCL for RPG II Report

We use TOFILE(*LIBL/QSYSPRT) in OCL's all the time. What do you mean "that did not help"?

Bill

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.