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?


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-2025 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.