× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi All,

Not sure if this belongs in this list, but I'll start here.

We're having problems with one of our PLCs connecting to our new Power9 box (long story, but there's a PMR open with IBM on it). However, the PLC can still connect to our old Power7 box successfully, but there's no updated data on it (since it's the old box). So with that, I need to temporarily transfer data from our Power9 to the Power7 until this PMR is resolved. I was hoping to do it through an SQL statement to save the trouble of running a backup/restore job since it's running so frequently. Basically I have this (IP addresses are arbitrary - the real ones are something else):

NEWPROD (IP 10.10.10.2)
TABLE1 -> Data

OLDPROD (IP 10.10.10.1)
TABLE1 -> Data

(NEWPROD was an Option 21 backup/restore of OLDPROD, so all library/member structures are identical).

I know there must be a way to transfer data through an SQL statement, but I'm having trouble trying to remember what I need to do.

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.

I'll probably just write a trigger statement to transfer the data once it sees a change. But if someone would be so kind as to give me a hand on what I need to do I would appreciate it.

Thx.

/b;



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.