RATE THIS ANSWER
0
Click to Vote:
0
0
Use the WRKRDBDIRE (Work with Relational Database Directory Entries) command to define the data source.
/EXEC SQL
+ CONNECT TO :remotedb USER :userprf USING :passwrd
+ SET CONNECTION remotedb
*** your select statements should work now
/END-EX
Last Answered:
Jun 30 2009 6:03 PM GMT by Satsho 
1215 pts.