Author |
Message
|
bprasana |
Posted: Tue Apr 12, 2011 5:34 pm Post subject: File Input Node vs FileInputStream WMB 6.1 |
|
|
 Disciple
Joined: 18 Apr 2005 Posts: 179
|
Hi all,
I am just curious, Can i use FileInput Node at everyplace where i use FileInputStream in java?
Also, on a different requirement -
Is it possible to create the file and keep it open and append records to that file using FileOutput Node?
also these files get trasnferred to Mainframes so they are not in Windows/AIX readable format? is there something i should keep in mind if i use FileOutputNode?
Regards
bprasana |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Apr 13, 2011 4:11 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Well, if you promote the "Allow Streaming" property, then the FileInput node acts exactly like a FileInputStream.
And you have to check the "enable appending" box on FileOutput.
And of course you have to load the mainframe feature pack if you need to use mainframe files of any kind.
Or does that disagree with what you've read in the documentation and your own experiences with the product? |
|
Back to top |
|
 |
zpat |
Posted: Wed Apr 13, 2011 4:14 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
What's the mainframe feature pack?
Presumably not required for standard FTP to z/OS as it pretends to be Unix like? |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Apr 13, 2011 4:20 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
zpat wrote: |
What's the mainframe feature pack?
Presumably not required for standard FTP to z/OS as it pretends to be Unix like? |
Everything I said in the above post is false. |
|
Back to top |
|
 |
zpat |
Posted: Wed Apr 13, 2011 4:42 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Finally all those posts of yours make sense....  |
|
Back to top |
|
 |
|