If you can't do the 3-part naming, have you considered trying a DDM file?
Roger Harman
COMMON Certified Application Developer - ILE RPG on IBM i on Power
--
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> on behalf of Brian Piotrowski <bpiotrowski@xxxxxxxxxxxxxxx>
Sent: Wednesday, August 7, 2019 11:13 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: RE: Updating DB2 table from one IBM i to Another IBM i
Thanks. I just did that and it complained that the relational database couldn't be found. So I ran an "ADDRDBDIRE" and added the name and the IP address of the old production box.
It's still complaining that it can't be found, so it's probably a misconfiguration on my part. I'll have to review the settings.
Thanks for jogging my memory! 😃
/b;
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of dlclark@xxxxxxxxxxxxxxxx
Sent: Wednesday, August 7, 2019 2:08 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: Updating DB2 table from one IBM i to Another IBM i
"MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> wrote on 08/07/2019
02:00:32 PM:
From a pseudocode perspective I need to execute an "INSERT INTO
oldprod/table1 (SELECT col1, col2, col3 FROM newprod/table1)"
statement to move the data.
Have you tried the full oldprod/library/table1 qualified reference
format?
Sincerely,
Dave Clark
As an Amazon Associate we earn from qualifying purchases.