[英]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 - 多种可能性-
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.
为了准备该数据集,可以将空白行插入到该关系目标中。
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.