cancel
Showing results for 
Search instead for 
Did you mean: 

How to create global variables in XI while writing USD.

Former Member
0 Kudos

Hi All,

in my scenario, one usd iam creating i want to create global variables like

trying to communicate with out side sqlserver so to create database connections as

globally i want to know where can i declare, please let me know the steps to where can i

create global variables.

some where i found these sections to create global variables

Global Variabls section

Initialization Section

Clean-Up Section

but where can i open these sections please let me know.

thanks in advance,

jasmine

Accepted Solutions (1)

Accepted Solutions (1)

prateek
Active Contributor
0 Kudos

In Message Mapping, you will find an option called as "Edit Java Sections". What is USD?

Regards,

Prateek

Former Member
0 Kudos

Hi Prateek,

will u please tell me where can i see the Java Section Option in Message Mapping

iam sorry to say i unable to find the option.

regards,

jasmine

Former Member
0 Kudos

Hi Prateek,

Thanks , the exact point what i required u gave. now i found that option.

thanks

jasmine

Former Member
0 Kudos

Hi Jasmine,

u can find the option"Edit Java sections" in the Message mapping beneath the design tab where you have several icons for Search message type , creating templates ,in that row the last icon towards right is for "Edit Java sections" where you can find the 3 sections .

Answers (2)

Answers (2)

former_member401749
Discoverer
0 Kudos

Hi Prateek,

The option is not available in my editor. How should I declare global variables.

SudhirT
Active Contributor
0 Kudos

Hi,

You can use this within the same mapping UDF's , You can declare it in Global Variable section and can initialize in Initialization section.