Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic output file names

Status
Not open for further replies.

Samji

Programmer
Jul 14, 2005
29
IN
Need some directions for acheiving dynamic output file names.
Version:Mercator 5.0
Required to use only command server.

Scenarion: Have one input card and two output cards.
Using Zip adapter in the output.
- Final zipped output should be
Message-YYYY-MM-DDTHH-MM-SSSS.zip
- Files inside zip
Output1-YYYY-MM-DDTHH-MM-SSSS.txt
Output2-YYYY-MM-DDTHH-MM-SSSS.txt

I have used zip adapter in the output.
using map designer, card settings..i get only fixed names.

How to acheive dynamic names as described above using command server. I am not sure how to use run command.

Any directions will be helpfull. Thanks in advance.
 
Have you tried using PUT with the zip adapter and creating the variable file name in that?
 
Thanks Janhes,

I will try using PUT, but I think we have some limitations using sink adapter(in our design). I will check and get back.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top