|
You need to set the Override Scope (OVRSCOPE) to *CALLLVL or *JOB. Default
Value for Override Scope is *ACTGRPDFN.
Mit freundlichen Grüßen / Best regards
Birgitta Hauser
"Shoot for the moon, even if you miss, you'll land among the stars." (Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them
and keeping them!"
„Train people well enough so they can leave, treat them well enough so they
don't want to.“ (Richard Branson)
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxx> On Behalf Of a4g atl
Sent: Freitag, 25. Mai 2018 19:28
To: midrange-l@xxxxxxxxxxxx
Subject: Problem with OVRPRTF in SQLRPGLE program
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 To subscribe,
unsubscribe,
or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link:
http://amzn.to/2dEadiD
--
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: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD
As an Amazon Associate we earn from qualifying purchases.
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.