I have 2 programs that have the following SQLConnect call
SQL_SUCCESS = SQLConnect( hdbc:'*LOCAL'
:SQL_NTS :*null
:SQL_NTS :*null:SQL_NTS)
where "hdbc" is declared as "10I 0 inz"

Either program works fine by itself, but when I run both programs in the same job, only the SQLConnect in the first program executed works. The other program fails at that point, with an SQL0950:
Message . . . . : Relational database not in relational database directory.
Cause . . . . . : A request for relational database was made. However the relational database name was not found in the relational database directory.

Clearly, the two calls are fighting with each other.

Why, and what do I do about it?

This thread ...


Return to Archive home page | Return to MIDRANGE.COM home page