|
Frank,
It depends on your override scope and how you are using activation
groups. The IBM override scope default is *ACTGRPDFN. If you take the
default and any of the programs you are invoking run in named activation
groups your overrid won't be effective. If they all run in the same
activation group things should be working as you expect.
The following is from IBM's help.
*ACTGRPDFN
The scope of the override is determined by the
activation group of the program that calls this
command. When the activation group is the default
activation group, the scope equals the call level of
the calling program. When the activation group is not
the default activation group, the scope equals the
activation group of the calling program.
*CALLLVL
The scope of the override is determined by the current
call level. All open operations done at a call level
that is the same as or higher than the current call
level are influenced by this override.
*JOB
The scope of the override is the job in which the
override occurs.
-----Original Message-----
From: fkany@xxxxxxxxxxxxxxxxxx [mailto:fkany@xxxxxxxxxxxxxxxxxx]
Sent: Thursday, October 23, 2003 9:17 AM
To: MIDRANGE-L@xxxxxxxxxxxx
Subject: OVRDBF
If a CL program uses OVRDBF FILE(X_LIBRARY/X_FILE) TOFILE(QTEMP/X_FILE)
before CALLing PGM(RPG_1) then RPG_1 calls RPG_2 then RPG_2 calls RPG_3
which actually uses X_FILE, is RPG_3 using X_LIBRARY/X_FILE or
QTEMP/X_FILE?
I believe it should be using QTEMP/X_FILE, but I would just like to have
this confirmed.
TIA,
Frank
_______________________________________________
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: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.