Posted: Tue Mar 10, 2015 1:41 pm Post subject: Txt File Empty with FileOutput Node (IIB 9.0.0.2)
Newbie
Joined: 10 Mar 2015 Posts: 4
Hi Everyone,
I'm developing an application that receives a DataObject from a MQ Queue. In my flow i'm building a semicolon-delimited String that i want to write in a txt file with FileOutput Node.
My Flow is:
MQ Input (DataObject Input Parser) -> Compute (Logic for build the string) -> FileOutput Node
I've tried with this approaches and i'm getting the same result: the file is written but it's empty:
1. Store the string in Environment.Variables.XXX (XXX is the container of this data, Character defined). This path is configured in FO node.
2. Create a DFDL Message model to parse the data, only having one variable (the string that i want to store). Write the data in Root.DFDL and point the FileOutput Node to this location.
None of above has worked and i didn't found anything (here, DW, IBM Documentation) about this issue.
Other things:
1. The filename is dynamic and i'm using LocalEnvironment to set the FO properties, without problem.
2. I have double checked permissions in the folder, granted all access to the OS user (I'm on Windows 7) and it's the same: the file is written but without content.
3. I've changed the Data Location to $Root/DataObject (original data retrived) and in this case the node writes the content of this context (in a XML manner).
4. I only need one record per file (the option that i'm using is "Record is whole file").
5. Compute node has the "LocalEnvironment and Message" computing option.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum