We have a Production iSeries and a Development iSeries. We want to be able to select data from our Production System and Transfer it to a programmers library on our Development System. When we were on a single system we used SQL/Cobol. We have been successful getting to the database on each system through the use of the SQL Connect statement, but can only Connect to one database at a time. The problem is where to store the data as we change connections.
Any thoughts ?
Thank You,
Bill
Software/Hardware used:
ASKED:
December 18, 2007 7:13 PM
UPDATED:
March 8, 2010 8:31 PM
I may be missing something but ;
If the 2 can “talk” to each other have you tried DDM(s) ?
Bicmac46,
Thank You, Yes we have tried DDM. It works great if we are copying the whole file from 1 system to the other, such as using the CPYF command. But when we use SQL against a DDM defined file we get SQL7011 not a table, view or physical file.
Thanks,
Bill
Have you explored the parameters of the CPYF command (using DDM) that allow you to select records? They won’t match SQL for functionality but they still may do the trick.