The default scoping is at the activation group level.  Try adding OVRSCOPE(*JOB).

Roger Harman
COMMON Certified Application Developer – ILE RPG on IBM i on Power

Date: Mon, 3 Aug 2015 12:11:04 -0400
Subject: Override for printer file not working?
From: blhowie66@xxxxxxxxx
To: midrange-l@xxxxxxxxxxxx

Hello all,

I'm having an issue where I'm trying to hold a spool file that is created
by an interactive job. I can set it up using QCMDEXC from within my
interactive program and that works, but this unfortunately allows for no
error recovery (if for some reason the spool file isn't there, etc.). So
I'm trying to set it up with just a straight call to a CL program whose
only job is to run the OVRPRTF command and have a MONMSG after it. Doing
it that way does NOT work.

Anyone have this happen? Is it some issue with calling a separate program
to do it? Any help would be appreciated. Thanks!

Bill Howie
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,
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives

This thread ...


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

This mailing list archive is Copyright 1997-2019 by 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].