简体   繁体   English

Informatica Power Center 工作流管理器

[英]Informatica Power Centre workflow manager

I am trying to load data from source to target in informatica but I am getting error when I start workflow:- workflow我正在尝试在 informatica 中将数据从源加载到目标,但在启动工作流时出现错误:-工作流
error1:-错误1:-

Severity Timestamp Node Thread Message Code Message INFO 01-09-2022 6.12.46 PM node01 MAPPING DBG_21349 No load constraints for Target [target_info].严重性时间戳节点线程消息代码消息信息 01-09-2022 6.12.46 PM node01 MAPPING DBG_21349 目标 [target_info] 没有负载约束。 It does not reference any primary table from the same active source or transaction generator.它不引用来自同一活动源或事务生成器的任何主表。

error2-错误2-

Severity Timestamp Node Thread Message Code Message ERROR 01-09-2022 6.12.46 PM node01 PRE-SESS CMN_1022 Database driver error... CMN_1022 [ [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified Database driver error... Function Name: Connect Database driver error... Function Name: Connect Database Error: Failed to connect to database using user [dbc] and connection string [].] Severity Timestamp Node Thread Message Code Message ERROR 01-09-2022 6.12.46 PM node01 PRE-SESS CMN_1022 数据库驱动程序错误... CMN_1022 [[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified Database driver错误... Function 名称:连接数据库驱动程序错误... Function 名称:连接数据库错误:使用用户 [dbc] 和连接字符串 [] 连接数据库失败。]

I am not able to understand, its a ODBC connection error or mapping level issue.我无法理解,它是 ODBC 连接错误或映射级别问题。 please help me to solve this.请帮我解决这个问题。 I am sharing screenshot of the error log also.我也在分享错误日志的截图。

error log错误日志

You need to setup ODBC connection information.您需要设置 ODBC 连接信息。 As per session log, i do not see proper connection info set for target.根据 session 日志,我没有看到为目标设置正确的连接信息。 Session failed when it is trying to connect to target DB. Session 在尝试连接到目标数据库时失败。

  1. To set ODBC, you need to first setup odbc.ini file located at $INFA_HOME/ODBC7.1/odbc.ini .要设置 ODBC,您需要首先设置位于$INFA_HOME/ODBC7.1/odbc.ini的 odbc.ini 文件。 You need to enter details like host/port/db name in proper format.您需要以正确的格式输入主机/端口/数据库名称等详细信息。 Name the connection to mytarget(or whatever you prefer).将连接命名为 mytarget(或您喜欢的任何名称)。
    how to set this up can be found in this link - Informatica: wrong odbc.ini file referred by Workflow mappings如何设置可以在此链接中找到 - Informatica:工作流映射引用的错误 odbc.ini 文件

  2. Create new informatica connection of type ODBC(name it as myconnection).创建 ODBC 类型的新 informatica 连接(将其命名为 myconnection)。 Supply user/password and mytarget as connection string.提供用户/密码和 mytarget 作为连接字符串。
    ![连接信息

  3. in the session, set this target to this connection object myconnection.在 session 中,将此目标设置为此连接 object myconnection。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM