Hi all,
11.2.0.3.11
aix6
Sorry I can not find the Pro*C forum. Can you help how to locate the forum?
We have pro*c program which has a hard-code userid and password inside it code.
This is an old program and no one knows how to revise it to make the password hidden or to make it variable.
Because everytime the db password changed after 90 days, the program gets aborted and need to be compiled replacing the new password.
void main()
{
EXEC SQL BEGIN DECLARE SECTION;
char *usr = "scott/tiger";
int size1;
int size2;
blob b1;
blob b2;
EXEC SQL END DECLARE SECTION;
EXEC SQL WHENEVER SQLERROR DO sqlerror();
EXEC SQL CONNECT :usr;
How do I make a Pro*C connection login variable?
Thanks,
mk