Cristiano Bregola
2014-05-20 16:06:47 UTC
The configuration that we are trying is the following:
- RedHat Enterprise Linux 5.1
- Microfocus Server Express 5.1
- Informix Dynamic Server 11:50
The server has a database instance with the database "DbA";
We have another server on the network with another instance with a database "DbB";
from a cobol program, we need to work on the default local database DbA and perform a query (or other sql activity) on a database DbB on the remote server;
the sql statement that we use and that works from dbaccess is as follows:
select * from ***@DbB1_tcp:table_arch
the same sql statement, executed within a COBOL program through the clauses ......... EXEC SQL ............END-EXEC. reports a generic sql error -22283 or -908
We're doing something wrong?
Thanks
- RedHat Enterprise Linux 5.1
- Microfocus Server Express 5.1
- Informix Dynamic Server 11:50
The server has a database instance with the database "DbA";
We have another server on the network with another instance with a database "DbB";
from a cobol program, we need to work on the default local database DbA and perform a query (or other sql activity) on a database DbB on the remote server;
the sql statement that we use and that works from dbaccess is as follows:
select * from ***@DbB1_tcp:table_arch
the same sql statement, executed within a COBOL program through the clauses ......... EXEC SQL ............END-EXEC. reports a generic sql error -22283 or -908
We're doing something wrong?
Thanks