I have 4 providers IMDARLA, IMDASQL, IBMDA400, IBM OLE DB IBMDBCL1.
I am using a connection string:
Provider=IBMDASQL.DataSource.1;Password=*****;Persist Security Info=True;User ID=*****;Data Source=10.32.8.169;Initial Catalog=D10760bt
it connects successfully then errors. here is a copy of the log:
[Generic: Mandatory] [4008/1] [2016-09-02 12:10:39]: SQL Server Migration Assistant for DB2 v7.0.0
[Generic: Mandatory] [4008/12] [2016-09-02 12:14:10]: Db2 connection provider: oledb provider.
[Generic: Mandatory] [4008/12] [2016-09-02 12:14:10]: Db2 connection mode: ConnectionString.
[Gui: Error] [4008/12] [2016-09-02 12:14:40]: LowLevelAdapter.ReadSource : Read Source error: Microsoft.SSMA.Framework.Generic.Collectors.CollectorException: Error occurred while collecting data. ---> System.Data.OleDb.OleDbException: SQL0204: ENV_INST_INFO
in SYSIBMADM type *FILE not found.
Cause . . . . . : ENV_INST_INFO in SYSIBMADM type *FILE was not found. If the member name is *ALL, the table is not partitioned. If this is an ALTER TABLE statement and the type is *N, a constraint or partition was not found. If this is not an ALTER
TABLE statement and the type is *N, a function, procedure, trigger or sequence object was not found. If a function was not found, ENV_INST_INFO is the service program that contains the function. The function will not be found unless the external name
and usage name match exactly. Examine the job log for a message that gives more details on which function name is being searched for and the name that did not match. Recovery . . . : Change the name and try the request again. If the
object is a node group, ensure that the DB2 Multisystem product is installed on your system and create a nodegroup with the CRTNODGRP CL command. If an external function was not found, be sure that the case of the EXTERNAL NAME on the CREATE FUNCTION statement
exactly matches the case of the name exported by the service program.
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr)
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForMultpleResults(tagDBPARAMS dbParams, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
at System.Data.OleDb.OleDbCommand.ExecuteScalar()
at Microsoft.SSMA.Framework.Generic.DbUtilities.SsmaDbCommand.Execute[T](ExecutionDelegate`1 executionMethod)
at Microsoft.SSMA.Framework.Generic.DbUtilities.SsmaDbCommand.ExecuteScalar()
at Microsoft.SSMA.Framework.Db2Mf.Generic.Db2MfObjectCollector.Db2MfObjectCollector.GetServerVersionText(IDbConnection connection)
at Microsoft.SSMA.Framework.Db2Mf.Generic.Db2MfObjectCollector.Db2MfObjectCollector.LoadServerVersion(XMetabase xMetabase, IDbConnection connection, Boolean isLoadingFirst, IUIProgressBarProvider progressBarProvider)
at Microsoft.SSMA.Framework.Db2Mf.Generic.Db2MfObjectCollector.Db2MfObjectCollector.CreateMetabaseAndCollectData(IDbConnection connection, String xmlConnectionParameters, XNode xFilter, IUIProgressBarProvider progressBarProvider, IUIStopOperationProvider
stopOperationProvider, ICollectionContext context)
--- End of inner exception stack trace ---
at Microsoft.SSMA.Framework.Db2Mf.Generic.Db2MfObjectCollector.Db2MfObjectCollector.CreateMetabaseAndCollectData(IDbConnection connection, String xmlConnectionParameters, XNode xFilter, IUIProgressBarProvider progressBarProvider, IUIStopOperationProvider
stopOperationProvider, ICollectionContext context)
at Microsoft.SSMA.Framework.Db2Mf.Generic.Db2MfObjectCollector.Db2MfObjectCollector.CollectData(String xmlConnectionParameters, SecureString password, ICollectionContext context, IDbConnection implicitConnection, XNode xFilter)
at Microsoft.SSMA.Framework.Generic.Collectors.Default.DefaultObjectCollector.CollectData(String connectionParameters, SecureString password, ICollectionContext context)
at Microsoft.SSMA.Framework.Generic.Workspaces.Default.MetabaseWorkspaceItem.Connect(String connectionParameters, SecureString password)
at Microsoft.SSMA.GUI.Product.Db2MfToMsSql.LowLevel.AppConnectToSourceDb2Mf.ConnectToSourceStart(Object guiContext)
[Gui: Error] [4008/12] [2016-09-02 12:14:40]: Exception: Error occurred while collecting data.
site: Microsoft.SSMA.Framework.Generic.Collectors.XMetabase CreateMetabaseAndCollectData(System.Data.IDbConnection, System.String, Microsoft.SSMA.Framework.Generic.XTree.XNode, Microsoft.SSMA.Framework.Generic.UserInterface.IUIProgressBarProvider, Microsoft.SSMA.Framework.Generic.UserInterface.IUIStopOperationProvider,
Microsoft.SSMA.Framework.Generic.Collectors.ICollectionContext)
source: Microsoft.SSMA.Framework.Db2Mf.Generic
at Microsoft.SSMA.Framework.Db2Mf.Generic.Db2MfObjectCollector.Db2MfObjectCollector.CreateMetabaseAndCollectData(IDbConnection connection, String xmlConnectionParameters, XNode xFilter, IUIProgressBarProvider progressBarProvider, IUIStopOperationProvider
stopOperationProvider, ICollectionContext context)
at Microsoft.SSMA.Framework.Db2Mf.Generic.Db2MfObjectCollector.Db2MfObjectCollector.CollectData(String xmlConnectionParameters, SecureString password, ICollectionContext context, IDbConnection implicitConnection, XNode xFilter)
at Microsoft.SSMA.Framework.Generic.Collectors.Default.DefaultObjectCollector.CollectData(String connectionParameters, SecureString password, ICollectionContext context)
at Microsoft.SSMA.Framework.Generic.Workspaces.Default.MetabaseWorkspaceItem.Connect(String connectionParameters, SecureString password)
at Microsoft.SSMA.GUI.Product.Db2MfToMsSql.LowLevel.AppConnectToSourceDb2Mf.ConnectToSourceStart(Object guiContext)
[Gui: Error] [4008/12] [2016-09-02 12:14:40]: Inner Exception #1: SQL0204: ENV_INST_INFO in SYSIBMADM type *FILE not found.
Cause . . . . . : ENV_INST_INFO in SYSIBMADM type *FILE was not found. If the member name is *ALL, the table is not partitioned. If this is an ALTER TABLE statement and the type is *N, a constraint or partition was not found. If this is not an ALTER
TABLE statement and the type is *N, a function, procedure, trigger or sequence object was not found. If a function was not found, ENV_INST_INFO is the service program that contains the function. The function will not be found unless the external name
and usage name match exactly. Examine the job log for a message that gives more details on which function name is being searched for and the name that did not match. Recovery . . . : Change the name and try the request again. If the
object is a node group, ensure that the DB2 Multisystem product is installed on your system and create a nodegroup with the CRTNODGRP CL command. If an external function was not found, be sure that the case of the EXTERNAL NAME on the CREATE FUNCTION statement
exactly matches the case of the name exported by the service program.
site: Void ExecuteCommandTextErrorHandling(System.Data.OleDb.OleDbHResult)
source: IBMDA400 Command
error code: -2147467259
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr)
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForMultpleResults(tagDBPARAMS dbParams, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
at System.Data.OleDb.OleDbCommand.ExecuteScalar()
at Microsoft.SSMA.Framework.Generic.DbUtilities.SsmaDbCommand.Execute[T](ExecutionDelegate`1 executionMethod)
at Microsoft.SSMA.Framework.Generic.DbUtilities.SsmaDbCommand.ExecuteScalar()
at Microsoft.SSMA.Framework.Db2Mf.Generic.Db2MfObjectCollector.Db2MfObjectCollector.GetServerVersionText(IDbConnection connection)
at Microsoft.SSMA.Framework.Db2Mf.Generic.Db2MfObjectCollector.Db2MfObjectCollector.LoadServerVersion(XMetabase xMetabase, IDbConnection connection, Boolean isLoadingFirst, IUIProgressBarProvider progressBarProvider)
at Microsoft.SSMA.Framework.Db2Mf.Generic.Db2MfObjectCollector.Db2MfObjectCollector.CreateMetabaseAndCollectData(IDbConnection connection, String xmlConnectionParameters, XNode xFilter, IUIProgressBarProvider progressBarProvider, IUIStopOperationProvider
stopOperationProvider, ICollectionContext context)
Will SSMA work with AS400 version 7.1? if so what do I need to do to connect and see the database.
Justin
Justin.raper@pmsnm.org