ibm mq - Is Modifying the content of a file possible in mqfte using ant task? -
i have substitute letter "a" letter "c" in content of txt file.
let test.txt txt file. content follows:
ace apple
i need content in destination folder :
cce cpple.
is possible in mqfte using ant tasks?
the short answer "yes."
the longer answer can ant can scripted, including calling other scripts. approach use post-destination call edit file after arrives. call won't fire if file transfer fails. if transfer succeeds post-destination call fire , run task or script edit file. remember if configure run monitor, fire on every file transfer. if want run ad-hoc transfer need submit command line since gui not support pre/post calls.
Comments
Post a Comment