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

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -