You can define global variables and the associated routine (coding block) in the Maintain Variables transaction.
Variables can be used in any content block
Give each variable a description in the logon language and then use the ‘Routine’ button to maintain the logic.
Each routine returns a single variable value that will be substituted at run-time as appropriate.
Variables can also be defined locally within the Email Data User-Exit. See the Examples section for more details.