I'll assume yes, that there is an OVRDBF. But it's hard to track down as
the actual compile is fairly deep in the call stack. (I'll get it in debug
to give a definitive answer)
I've tried tests of creating an OVRDBF, but that works fine in testing.
I've also tried tests of locking MYFILE exclusively in another session, but
that also works fine.
My testing has been on both v7.2 and v7.1
On Tue, Jun 2, 2015 at 3:35 PM, Buck Calabro <kc2hiz@xxxxxxxxx> wrote:
On 6/2/2015 1:30 PM, Doug Davie wrote:
My RPGLE program uses this:of
DCL-F MYFILE DISK(*EXT) USAGE(*INPUT) KEYED
(yes, PRDLIB/MYFILE does indeed exist)
I submit my compile to batch and the program is created.
PRDLIB is not in my library list forthe compile.
DSPPGMREF does indeed show PRDLIB/MYFILE getting used.
Now I have another more involved process that runs in batch, and as part
that batch process the CRTBNDRPG command is issued with the exact sameprocess
parms I used previously, using the exact same member. In this batch
the PRDLIB/MYFILE *FILE is actually being used and is open.Is there an OVRDBF for MYFILE in the batch process that does the failing
This subsequent compile produces:
RNF2120 - External descriptions for file 'PRDLIB... not found; file is
I've also tried this format:
FMYFILE IF E K DISK EXTDESC('PRDLIB/MYFILE')
with the same results.
This actually started off as an SQLRPGLE, which produced:
SQL1001 30 17 External file definition for MYFILE not found.
Why can't the compiler find PRDLIB/MYFILE ?
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.