Posted: Tue Jun 06, 2017 4:05 am Post subject: Copying file created on fileoutput node in to mqsiarchiv dir
Newbie
Joined: 06 Jun 2017 Posts: 1
Hello All,
I am trying to copy a file into mqsiarchive folder using FileOutput Node.It should be copied into mqsiarchive folder at the first time itself.As per its functionality it is writing into archive folder if the same file is exist in the output file path.
Is there any way to achive this requirement. Please advice me if you guys have done it before.
Posted: Tue Jun 06, 2017 4:40 am Post subject: Re: Copying file created on fileoutput node in to mqsiarchiv
Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
VickyMaddy wrote:
Is there any way to achive this requirement.
What requirement? It sounds like you want to output a file into a target directory with the FileOutput node and, even if there isn't a file of that name already, copy it into the mqsiarchive directory.
This begs the question - why bother to write the file out? Typically a file is written from IIB to a target directory for a 3rd party of some kind to process it. This isn't going to go well if the file's immediately moved.
Perhaps you need to elaborate a bit on what exactly you're trying to do, and why this has led you to consider the mqsiarchive directory as a target. _________________ Honesty is the best policy.
Insanity is the best defence.
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