|
Hi John,
The only other thing that comes to mind is if you are overwriting the wrong
file(s). Are you overwriting INPUT and OUTPUT?
These are used to overwrite the input and output for FTP:
OVRDBF FILE(INPUT) TOFILE(QFTPSRC) MBR(&CUST3A *CAT 'GETDAT')
OVRSCOPE(*JOB)
OVRDBF FILE(OUTPUT) TOFILE(QFTPSRC) MBR(&CUST3A *CAT 'FTPLOG')
OVRSCOPE(*JOB)
I use this to overwrite the output for a *dir (DISK* command
OVRDBF FILE(DIROUTPUT) MBR(&CUST3A *CAT &YYMMDD) OVRSCOPE(*JOB)
I run the FTP command.
I delete the overrides LVL(*JOB)
I CPYF the FTP session log to another log file *ADD to keep a history.
Yours truly,
Glenn Gundermann
Email: glenn.gundermann@xxxxxxxxx
Work: (905) 486-1162 x 239
Cell: (416) 317-3144
On Wed, 27 Jun 2018 at 12:54, john erps <jacobus.erps@xxxxxxxxx> wrote:
OVRSCOPE(*JOB).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
also
The file uses usropn, i first do the override then i open the file. I
tried *SHARE but didn't work (of course).wrote:
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>
**free
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
norespectedRPGLE program, to point to the correct file and member.from
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
the RPG program i do see the overrides with DSPOVR.
However, even when the overrides seem to be active they are not
exist.when i open the file in my RPG program, as if the overrides don't
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
affiliateQRPGLESRC).overrides seem to be active and the file is compiled against
QCMDEXC
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
(RPG400-L)(opnscope *JOB) from **free RPG? A Bug?
--
This is the RPG programming on the IBM i (AS/400 and iSeries)
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
(RPG400-L)link: http://amzn.to/2dEadiD--
This is the RPG programming on the IBM i (AS/400 and iSeries)
--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
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 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.