简体   繁体   English

Informatica目标文件

[英]Informatica target file

I have a workflow which writes data from a table into a flatfile. 我有一个工作流,它将数据从表写入平面文件。 It works just fine, but I want to insert a blank line inbetween each records. 它工作正常,但我想在每条记录之间插入空白行。 How can this be achieved ? 如何实现呢? Any pointer ? 有指针吗?

Here, you can create 2 target instances. 在这里,您可以创建2个目标实例。 One with the proper data and in other instance pass blank line. 一个带有正确的数据,在其他情况下则通过空行。 Set Merge Type as " Concurrent Merge " in session properties. 在会话属性中将“合并类型”设置为“ 并发合并 ”。

Multiple possibilities - 多种可能性-

  1. You can prepare appropriate dataset into a relational table, and afterwards, dump data from that into a flat file. 您可以将适当的数据集准备到关系表中,然后再将其中的数据转储到平面文件中。 For preparation of that data set, you can insert blank rows into that relational target. 为了准备该数据集,可以将空白行插入到该关系目标中。

  2. Send a blank line to a separate target file (based on some business condition using a router or something similar), after that you can use merge files option (in session config) to get that data into a single file. 将空行发送到单独的目标文件(基于某些使用路由器的业务条件或类似条件),然后,您可以使用合并文件选项(在会话配置中)将数据获取到单个文件中。

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

相关问题 Informatica映射以创建大型机文件布局的目标文件 - Informatica Mapping to create Target File of Mainframe File Layout 使用Informatica检查源平面文件中的值是否在目标表中 - Check if value in source flat file exists in target table with Informatica Informatica权限和帐户以将目标文件写入另一个服务器文件夹 - Informatica permission and account to write target file to another server folder 如何基于列值在Informatica中生成动态目标​​文件 - How To Generate Dynamic Target File In Informatica Based On Column Value Informatica目标表关键字 - Informatica Target Table Keyword 填充Informatica目标表 - Informatica target table populating Informatica-替换目标中的字符 - Informatica - replace characters in target 使用变换从单个平面文件中获取所需目标(请参见图片) - INFORMATICA Using transformation to get desired target from a single flat file (see pictures) Informatica ETL:如何从导出的 xml 文件中确定目标数据库名称 - Informatica ETL: How to determine the target database name from the exported xml file 如何在informatica中创建带有时间戳的存档文件格式的平面文件,该文件应包含相同的目标位置? - How to create an Archive file form flatfile with timestamp in informatica which should contain same target location?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM