Hello Sivaprakash,
A DSN in ODBC Datasource Administrator is just a bunch of Windows Registry settings.
You need to set these settings when the PB application starts (and maybe remove what it closes).
Here below what you need (check that key name and value in the first two RegistrySet correspond to the version on your DEV machine):
RegistrySet("HKEY_LOCAL_MACHINE\Software\ODBC\ODBCINST.INI\PostgreSQL ODBC Driver(UNICODE)", "Driver", RegString!, "PSQLODBC.dll")
RegistrySet("HKEY_LOCAL_MACHINE\Software\ODBC\ODBCINST.INI\PostgreSQL ODBC Driver(UNICODE)", "Setup", RegString!, "PSQLODBC.dll")
RegistrySet("HKEY_LOCAL_MACHINE\Software\ODBC\ODBCINST.INI\ODBC Drivers", "PostgreSQL ODBC Driver(UNICODE)", RegString!, "Installed")
Then you can keep the sqlca.odbc and sqlca.dbparm settings before the CONNECT.
Cheers,
Marco
Happiness Always
BKR Sivaprakash