Search code examples
parameter-passinginformatica-powercenter

informatica powercenter - write $ sign into parameter file using command task


Are there any ways to write the $ sign in a parameter file using a command task?

I have tried to use something like printf "\x24\x24PARAM_NAME=PARAM_VAL\n" >> parfile.parm
however this gives me the problem of having to escape the quotes and slashbacks, and the task fails no matter what I try.

thanks for the help


Solution

  • You can just use echo \$\$PARAM_NAME=PARAM_VAL >> parfile.parm