Unable to import metadata of flat files by using IA
Moderators: chulett, rschirm, roy
Unable to import metadata of flat files by using IA
Hi Experts,
Getting below error while trying to import metadata of flat files in information analyzer. Flat files are located on datastage server itself.
Error Message : "Failed while importing". Please see log files for details.
I browsed to webconsole to the below path and this is what I got in the Log views.
Webconsole --> Administration --> Log Management --> Log Views -->IA_With_CAS_Log --> View Log
Log Views:
An exception was received from the handler: ODBC function "
SQLPrimaryKeys" reported:SQLSTATE = 74: Native Error Code = 0:
Msg = 523 72
Fatal error message received from the native (C++) layer:
CC_OdbcMetadataHelper::describePrimaryKeys, file CC_OdbcMetadataHelper.
cpp, line 3187
Please share your inputs on how to fix this issue.
Getting below error while trying to import metadata of flat files in information analyzer. Flat files are located on datastage server itself.
Error Message : "Failed while importing". Please see log files for details.
I browsed to webconsole to the below path and this is what I got in the Log views.
Webconsole --> Administration --> Log Management --> Log Views -->IA_With_CAS_Log --> View Log
Log Views:
An exception was received from the handler: ODBC function "
SQLPrimaryKeys" reported:SQLSTATE = 74: Native Error Code = 0:
Msg = 523 72
Fatal error message received from the native (C++) layer:
CC_OdbcMetadataHelper::describePrimaryKeys, file CC_OdbcMetadataHelper.
cpp, line 3187
Please share your inputs on how to fix this issue.
Arvind
Found the below technote but it didn't resolve the reported issue.
http://www-01.ibm.com/support/docview.w ... wg21395196
http://www-01.ibm.com/support/docview.w ... wg21395196
Arvind
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Have you tried importing using Metadata Asset Manager?
Have you used the "discover flat file" option in the IA tasks menu, which builds/maintains the QETXT.INI file?
Have you used the "discover flat file" option in the IA tasks menu, which builds/maintains the QETXT.INI file?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
I have used "identify flat files" option in IA tasks menu which is populating QETXT.INI correctly.
I tried to import through metadata asset manager but got the same error as mentioned below.
Errorx [CDIMR3790E] An error occurred while importing data from bridge or connector (CAS/ODBCConnector__3.5). ([CDIMR3857I] Additional import error details may be found in the Import Log.) [CDIMR0071E] There was an error querying the PMR|3.txt table. ODBC function "SQLPrimaryKeys" reported: SQLSTATE = 74: Native Error Code = 0: Msg = 523 72+Details
com.ibm.mif.ChannelException: [CDIMR0071E] There was an error querying the PMR|3.txt table. ODBC function "SQLPrimaryKeys" reported: SQLSTATE = 74: Native Error Code = 0: Msg = 523 72
Caused by:com.ascential.asb.cas.shared.ConnectorServiceException: ODBC function "SQLPrimaryKeys" reported: SQLSTATE = 74: Native Error Code = 0: Msg = 523 72 OK
Any idea about this error? Please share your inputs.
I tried to import through metadata asset manager but got the same error as mentioned below.
Errorx [CDIMR3790E] An error occurred while importing data from bridge or connector (CAS/ODBCConnector__3.5). ([CDIMR3857I] Additional import error details may be found in the Import Log.) [CDIMR0071E] There was an error querying the PMR|3.txt table. ODBC function "SQLPrimaryKeys" reported: SQLSTATE = 74: Native Error Code = 0: Msg = 523 72+Details
com.ibm.mif.ChannelException: [CDIMR0071E] There was an error querying the PMR|3.txt table. ODBC function "SQLPrimaryKeys" reported: SQLSTATE = 74: Native Error Code = 0: Msg = 523 72
Caused by:com.ascential.asb.cas.shared.ConnectorServiceException: ODBC function "SQLPrimaryKeys" reported: SQLSTATE = 74: Native Error Code = 0: Msg = 523 72 OK
Any idea about this error? Please share your inputs.
Arvind
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Same error even after renaming the file to A3.txt
IA identified both the files 3.txt as well as A3.txt (through identify flat file feature). Then I clicked on identify next level option in IA and it also worked fine but when I clicked on "Import" button, I got the same error which was reported in the beginning of this thread.
IA identified both the files 3.txt as well as A3.txt (through identify flat file feature). Then I clicked on identify next level option in IA and it also worked fine but when I clicked on "Import" button, I got the same error which was reported in the beginning of this thread.
Arvind
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
When you ran through the identify flat file process, did you specify any field(s) as primary key? The error is being thrown by the SQLPrimaryKey() function in the ODBC API, the purpose of which is to identify whether a column is a primary key or not. It really should not throw an error if no primary key column exists.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 527
- Joined: Thu Apr 19, 2007 1:25 am
- Location: Melbourne
-
- Participant
- Posts: 1
- Joined: Wed Mar 14, 2012 12:50 pm
- Location: Toronto