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



Are you doing the SQL inside of Ashford?

Ed Waldschmidt
IT Project Manager|PHD, Inc.
9009 Clubridge Drive
260.479.2283
*********************************************
[cid:1__=0ABBF515DFC231328f9e8a93df93869091@local]




http://www.phdinc.com/
[cid:image002.jpg@01D201BD.96D3B7F0]<https://www.phdinc.com/resources/socialmedia/>

From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxx> On Behalf Of Art Tostaine, Jr.
Sent: Friday, May 25, 2018 3:03 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: Re: Problem with OVRPRTF in SQLRPGLE program

When you execute TL Ashfords program you are passing it the Label device
name. Is that the same as the override?

Art

On Fri, May 25, 2018 at 2:35 PM, Rob Berendt <rob@xxxxxxxxx<mailto:rob@xxxxxxxxx>> wrote:

Are you opening the printer file as user controlled? Otherwise if it's
already opened it may be a bit late to override it.
Have you tried displaying cmd in debug? Gut says it looks good though.
Unless one of your variables is wonky, such as output queue or it's
library.


Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com<http://www.dekko.com>





From: "a4g atl" <a4ginatl2@xxxxxxxxx<mailto:a4ginatl2@xxxxxxxxx>>
To: midrange-l@xxxxxxxxxxxx<mailto:midrange-l@xxxxxxxxxxxx>
Date: 05/25/2018 01:28 PM
Subject: Problem with OVRPRTF in SQLRPGLE program
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx<mailto:midrange-l-bounces@xxxxxxxxxxxx>>



Not sure which forum to post to but here's my problem.

I have embedded the following CL command in an RPG program. The program is
on our production system but it is called from our test box using
SBMRMTCMD.

The program works but the OVRPRTF seems to be ignored and definitely does
not work.

OVRPRTF BCLABELS OUTQ(*LIBL/LBOXTLDR) FORMTYPE(*STD) SECURE(*YES)
OPNSCOPE(*JOB)

Cmd = 'OVRPRTF ' + %trim(PRT_File) + ' OUTQ('

+ %trim(Prt_OutqL)

+ '/'

+ %trim(Label_Outq)

+ ') FORMTYPE(*STD) SECURE(*YES) OPNSCOPE(*JOB)';



CmdLen = %len(%trim(Cmd));

callp QcmdExc (Cmd : CmdLen );



I am monitoring the job in debug and the command is executed with no
errors. When I do a DSPJOB option 15, the OVRPRTF is not showing. Yes, I
have the correct job.

Anyone have any ideas on what the issue is?

TIA

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

Please contact support@xxxxxxxxxxxx<mailto:support@xxxxxxxxxxxx> for any subscription related
questions.

Help support midrange.com<http://midrange.com> by shopping at amazon.com<http://amazon.com> with our affiliate
link: http://amzn.to/2dEadiD<http://amzn.to/2dEadiD>


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

Please contact support@xxxxxxxxxxxx<mailto:support@xxxxxxxxxxxx> for any subscription related
questions.

Help support midrange.com<http://midrange.com> by shopping at amazon.com<http://amazon.com> with our affiliate
link: http://amzn.to/2dEadiD<http://amzn.to/2dEadiD>




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

Please contact support@xxxxxxxxxxxx<mailto:support@xxxxxxxxxxxx> for any subscription related questions.

Help support midrange.com<http://midrange.com> by shopping at amazon.com<http://amazon.com> with our affiliate link: http://amzn.to/2dEadiD<http://amzn.to/2dEadiD>
Disclaimer Confidentiality Notice: This email, and any attachments and/or documents linked to this email, are intended for the addressee and may contain information that is privileged, confidential, proprietary, or otherwise protected by law. Any dissemination, distribution, or copying is prohibited unless otherwise specified. This notice serves as a confidentiality marking for the purpose of any confidentiality or nondisclosure agreement. If you have received this communication in error, please contact the original sender.

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.