SSMA for DB2 - unparsed SQL error

karthik poondisridhar 1 Reputation point


I am trying to convert a native DB2 stored procedure (Language SQL) to MS SQL. When I try to view the procedure in the UI it appears to be in EBCDIC format, when I convert it I get error 246522-ssma-db2-image1.jpg246478-ssma-db2-output1.jpg

Could you please let me know how to resolve this?

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.
495 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. CathyJi-MSFT 21,096 Reputation points Microsoft Vendor

    Hi @karthik poondisridhar ,

    Unparsed SQL" means that it didn't recognize the statement you tried to convert. May be some parameters are not supported in MS SQL server. The error message that you offered is too less for analysis. Suggest you choose the stored procedure one by one to check which one has this issue. Please also check the Parameters and Type Mapping tags on SSMA to find some related information for analysis. You may find which parameter is not recognized.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".