Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

On UNIX/Linux

  • Last Updated: May 12, 2026
  • 1 minute read
    • OpenAccess SDK
    • Version 9.0
    • Documentation

The following procedure assumes that you have created an ODBC data source called oa90_myDSN.

  1. From a command prompt, change to the driver installation directory.

  2. Enter oaencpwd.

  3. Enter Data Source Name: oa90_mydsn

  4. Choose which password to encrypt and store.

    [1]=Password (PWD)

    [2]=DBPassword (DBPWD)

    [3]=HPassword (HPWD)

    [4]=NewPassword (NPWD)

    Choice: [1] ==> 1

  5. Enter Password (PWD) (keystrokes are not shown):

    DSN=oa90_myDSN : Password (PWD) stored encrypted.

    Would you like to store a LogonID (UID) as well? [Y] [N]

    Choice: ==> Y

  6. Enter ``LogonID (UID):` my_logonid

    DSN=oa90_myDSN : LogonID (UID) stored.

Note

To re-encrypt a password after upgrading to OpenAccess SDK 9.0, follow these steps:

  1. Run the EncryptPassword utility and choose [2] Re-encrypt legacy password.
  2. Enter DSN name.
  3. Select the appropriate password type: PWD, DBPWD, HPWD, NPWD, or TSPWD.
  4. The tool automatically performs the following actions:
    • Reads the old encrypted password from the registry or INI file.
    • Decrypts the password using the legacy algorithm.
    • Re-encrypts the password using the new algorithm.
    • Writes the updated password back to the registry or INI file.
TitleResults for “How to create a CRG?”Also Available inAlert