output “${……}” as characters.
search cancel

output “${……}” as characters.

book

Article ID: 45211

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

How do I 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.

 

 

Environment

Release:
Component: APIGTW

Resolution

Do the following step

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

02. They are stored in other variable. 

03. It is outputted after they are combined. 

 


for example: 

output ${ABCDEFG} as characters. 

01. set ${a} as ${ABCD 

02. set ${b} as EFG} 

03. output ${a}{b}