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



In the CL program, on the OVRDBF commands, try OVRSCOPE(*JOB).

use usroopn

I mistakenly wrote in my post opnscope, but i meant i used OVRSCOPE(*JOB).

The file uses usropn, i first do the override then i open the file. I also
tried *SHARE but didn't work (of course).

We're on 7.2.


On Wed, Jun 27, 2018 at 5:33 PM, Glenn Gundermann <
glenn.gundermann@xxxxxxxxx> wrote:

Hi,

In the CL program, on the OVRDBF commands, try OVRSCOPE(*JOB).

Yours truly,

Glenn Gundermann
Email: glenn.gundermann@xxxxxxxxx
Work: (905) 486-1162 x 239
Cell: (416) 317-3144



On Wed, 27 Jun 2018 at 11:31, john erps <jacobus.erps@xxxxxxxxx> wrote:

Hi,

I'm having a strange problem using OVRDBF.
I want to generate an FTP script.
Pretty standard, did this many times in the past.

To generate the script, i execute an OVRDBF using QCMDEXC from a **free
RPGLE program, to point to the correct file and member.

When debugging i don't see any overrides active (opnscope is *JOB).
However, when i put those overrides in a CLLE program and i call that
from
the RPG program i do see the overrides with DSPOVR.

However, even when the overrides seem to be active they are not respected
when i open the file in my RPG program, as if the overrides don't exist.

All this is pretty standard, so i'm lost why it doesn't work now.
I don't get eny error messages, because the script is written to
QGPL/QRPGLESRC member PROOF (first member). Which is logical because no
overrides seem to be active and the file is compiled against QRPGLESRC).

I tried different things, like submitting the job, using "system" API
instead of QCMDEXC, etc.

The only difference with the past is that i'm using **free RPG now.

Does anybody know about issues regarding executing an OVRDBF with QCMDEXC
(opnscope *JOB) from **free RPG? A Bug?
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-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 RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-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 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.