TERMID
 TERMID 
TERMID returns the four-character CICS terminal ID from the CICS field EIBTRMID in the variable
TERMID.
Return Codes
0Normal return
2921 Error in obtaining terminal ID
2928 Error setting TERMID value
Example
'TERMID'
This example places the CICS terminal ID from the CICS field EIBTRMID in the variable TERMID.
Commands
374 CICS TS for VSE/ESA: REXX Guide