on 04-04-2006 4:36 PM
Hello All -
I have a scenario where the file output will be stored in a directory called OUT with filename<dateandtimestamp>.xml
Is it possible to generate the same filename<dateandtimestamp>.RDY (with zero contents) into a different directory? If so how can i achieve this?
Thanks,
Tirumal
Hi,
Easiest way is to execute Script from Receiver File Adapter and do the required tasks inside the scripts
If you want to do in XI-
If you want to generate zero bytes you need to alter your payload. I think for this you my need to use Modules in the receiver side. But same time if you want to write two files in two different directory- Not worked on this scenario. But give a try with Adapter Modules.
Regards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You have two options, one is use system command in file adapter to create the file after the message is processed in required directory. Second is in mapping create one blank message with no data and in receiver determination send it to two different receiver(different file adapter) and create the file.
Thanks,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Prateek -
In both the methods is it possible to have the same filename, reason why i am asking this question is probably both the filenames might differ in the filenames with the milliseconds different in both the files.
Lets say OrdersOut20060404-110902-855.xml
and OrdersOut20060404-110902-955.RDY, now both the filenames are differnt.
Is there a way to ignore the milliseconds part of it, in that case then both the files will be identical except for the extensions which will be XML and RDY.
Thanks,
Tirumal
Prateek -
In both the methods is it possible to have the same filename, reason why i am asking this question is probably both the filenames might differ in the filenames with the milliseconds different in both the files.
Lets say OrdersOut20060404-110902-855.xml
and OrdersOut20060404-110902-955.RDY, now both the filenames are differnt.
Is there a way to ignore the milliseconds part of it, in that case then both the files will be identical except for the extensions which will be XML and RDY.
Thanks,
Tirumal
Prateek -
In both the methods is it possible to have the same filename, reason why i am asking this question is probably both the filenames might differ in the filenames with the milliseconds different in both the files.
Lets say OrdersOut20060404-110902-855.xml
and OrdersOut20060404-110902-955.RDY, now both the filenames are differnt.
Is there a way to ignore the milliseconds part of it, in that case then both the files will be identical except for the extensions which will be XML and RDY.
Thanks,
Tirumal
hi,
you want the file to be created in 2 different folders simultaneosuly.. IS this what your requirement is??
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.