Hi Chris,
Sorry, I was on vacation and couldn't respond. I checked my programs again, Sub Program, CONNECTDB and Main Program. Sub Program will connect to CONNECTDB (which has DB details). CONNECTDB is giving me error as 19703. Below is the statement where its throwing error. It connect's to Oracle database.
EXEC SQL
CONNECT :WS-ORA-UIP-V USING :WS-ORA-SID-V
END-EXEC.
WS-ORA-UIP-V = UID\PWD and WS-ORA-SID-V=DBNAME
My directives are set to $set sql(dbman=odbc targetdb=ORACLE)
Thank You,
Ramesh