getLabel()

public String getLabel()

This method returns the session name that you typed into the Session Name field of the Connection section of the session configuration (a name such as 3270 Display or 5250 Display).

Figure 1. Example for getLabel()
<varupdate name="$label$" value="$HMLSessionUtil.getLabel()$" />