Interacting With Applications › Identify Application Sessions › VTAM Name Variable
The variable that represents the VTAM name of the session in which the program is running is:
&APPL