output “${……}” as characters.

Document ID : KB000045211
Last Modified Date : 14/02/2018
Show Technical Document Details

Issue:

Want to output “${……}” as characters. 

In Gateway ,  xxx of ${xxx}means a variable. 

So, $ {xxx} can't be indicated as characters.

for example:

I want to output the following message. 

[Massage = ${ABCDEFG} + AAAA]

However,  actual output is as the following.

[Massage =   + AAAA] 

Because it is handled as a variable, $ {ABCDEFG} isn't outputted as  characters.

 

Workaround:

Do the following step

01. The variable is divided so that it may not be recognized with the variable. 

02. They are stored in respectively other variable. 

03. It is outputted after they are combined. 

 

for example: 

output ${ABCDEFG} as characters. 

01. set ${a} add ${ABCD 

02. set ${b} add EFG} 

03. output ${a}{b}