SSMA for Db2 cannot connect to Db2 running on AIX.

Ikuo Takekawa/竹川 育夫 0 Reputation points
2025-11-20T02:22:21.9466667+00:00

SSMA for Db2 cannot connect to Db2 running on AIX.

connection string is:

Provider=DB2OLEDB;Password=[password];Persist Security Info=True;User ID=[UserId];Initial Catalog=[DB Name];Data Source=[DB Name];Authentication=Server_Encrypt_Pwd;Network Address=[Server Name];Network Port=[Port No];Default Schema=[UserID];DBMS Platform=DB2 for LUW;Package Collection=NULLID;Use Early Metadata=false;

Am I missing something or doing something wrong?

Or is there something else besides the connection string that could be causing the problem?

Spec:

SSMA for Db2 v10.4

Install PC Windows 11

DB2/AIX64 11.5.8.0

SQL Server Migration Assistant
SQL Server Migration Assistant
A Microsoft tool designed to automate database migration to SQL Server from Access, DB2, MySQL, Oracle, and SAP ASE.
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Q&A Assist
    2025-11-20T02:22:57.99+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    It seems like you are experiencing connectivity issues with SSMA for Db2 when trying to connect to a Db2 database running on AIX. Here are a few things to check that might help resolve the issue:

    1. Network Address and Port: Ensure that the Network Address and Network Port specified in your connection string are correct and that the Db2 server is reachable from your Windows machine. You can use the ping command to check connectivity and telnet to verify that the port is open.
    2. Db2 Configuration: Make sure that the Db2 instance on AIX is configured to accept connections on the specified port. You can check the port configuration by running the command db2 get dbm cfg | findstr SVCENAME on the AIX server to confirm the service name and port.
    3. User Permissions: Verify that the user specified in the connection string has the necessary permissions to connect to the database.
    4. Connection String Format: While your connection string looks mostly correct, ensure that the Data Source and Initial Catalog are properly set. Sometimes, the Data Source should be the database alias rather than the database name itself.
    5. Firewall and Security Settings: Check if there are any firewalls or security settings on the AIX server or your local machine that might be blocking the connection.
    6. SSMA Version Compatibility: Ensure that the version of SSMA for Db2 you are using is compatible with the version of Db2 on AIX. You mentioned using SSMA for Db2 v10.4 and Db2/AIX64 11.5.8.0, which should generally be compatible, but it's worth checking the documentation for any known issues.

    If you've checked all these aspects and are still facing issues, consider looking into the logs for any specific error messages that might provide more insight into the problem.


    References:

    0 comments No comments

  2. Ikuo Takekawa/竹川 育夫 0 Reputation points
    2025-11-20T02:36:00.6966667+00:00

    I understand that there are no problems with points 1 through 5. My question is specifically about point 6.

    As additional information, when I press the connect button, the message "Connection to DB2 established successfully" appears, followed by the message "Error occurred while collecting data.

    • An SQL error has occurred."

  3. Ikuo Takekawa/竹川 育夫 0 Reputation points
    2025-11-20T05:52:19.6966667+00:00

    More additional information.

    An investigation into the event monitor revealed an SQLCODE -805.It says that the package NULLID.MSCS001 does not exist.I searched SYSCAT.PACKAGES and it certainly wasn't there.

    What is NULLID.MSCS001 and how can I get it?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.