Original Message:
Sent: Wed February 07, 2024 11:03 PM
From: Satid Singkorapoom
Subject: SQLRPGLE not using Overridden file
Dear Ujwala
>>>> We tried to use Alias however it's still not working <<<
When you create an ALIAS, did you make sure to specify the member name of the file ? This is essential if the file has multiple members and you want to use a member that is not the first member of the file.
You should post both CREATE ALIAS and CREATE TABLE ... AS for us to see. Also give us the job log's error message when you encounter failure after switching to ALIAS.
CREATE <library>.<alias> FOR <library>.<file>(<member>)
And when you refer to the alias in SQL, try to always use fully qualified name <library>.<alias> if you are not proficient in using unqualified name which requires you to know how to deal with library list or current schema.
------------------------------
Chance favors only the prepared mind.
-- Louis Pasteur
------------------------------
Satid S.
Original Message:
Sent: Wed February 07, 2024 11:43 AM
From: Ujwala Kavathekar
Subject: SQLRPGLE not using Overridden file
https://www.ibm.com/docs/en/i/7.3?topic=dc-ovrdbf-does-not-apply-create-table-as-select
This is what we are exactly doing with Create table and it seems 'In IBM® i 7.3 with SI60199, the CREATE TABLE statement with an AS clause is changed such that it is no longer affected by the Override with Data Base File (OVRDBF) command.'
We tried to use Alias however it's still not working
------------------------------
Ujwala Kavathekar
Original Message:
Sent: Tue February 06, 2024 05:07 PM
From: Ujwala Kavathekar
Subject: SQLRPGLE not using Overridden file
Hello,
We have one SQLRPGLE program created on V6R1M0. In DSPPGM we can see these 3 Service Programs and is successfully using the overridden file in CL Program. (call from CL -> SQLRPGLE)
QRNXIE
QRNXIO
QLEAW
Now we need to change program and upgraded OS to V7R4M0. After compilation we can see these 4 Service Programs in DSPPGM and that SQLRPGLE is not using data from Overridden file.
QRNXIE
QRNXIO
QRNXUTIL
QLEAWI
In both cases Commitment Control *none is used.
Please help to resolve issue. Thank you!
------------------------------
Ujwala Kavathekar
------------------------------