terminal (or terminal_pattern) specifies the name of the terminal with which the attributes are to be associated.
This variable is applicable to the TERMINAL control statement (see TERMINAL statement).
This specifies the name of the terminal with which the attributes that follow are to be associated. The terminal can be an LU name.
Generic terminal names may be specified, enabling groups of terminals to be defined. This method enables a profile to be associated with many terminals using only a single statement, and is therefore useful in reducing the number of control statements required to generate the IBM Session Manager system.
Creating generic terminal groups is achieved by using the special characters '*' and '+' when specifying the terminal. An '*' means 'any number of any character', while a '+' means 'one of any character'. Any combination of alphanumeric characters, asterisks and plus signs is acceptable. For example:
TERMINAL T* PROF PROFILEA
TERMINAL TM001 PROF PROFILEB
TERMINAL 0* PROF PROFILEC
TERMINAL 0048 PROF PROFILED
associates profile PROFILEA with all terminals which have an id beginning with a 'T', except for the terminal TM001, which uses the profile PROFILEB; PROFILEC with all terminals which have an id beginning with '0', except terminal 0048 which uses the profile PROFILED. A second example:
TERMINAL ++M* PROF PROFILEE
TERMINAL ++9* PROF PROFILEE
causes all terminals which have an 'M' in the third position to use profile PROFILEE and causes all terminals which have a '9' in the third position to use profile PROFILEE.
If a terminal signing on to IBM Session Manager matches both a generic and a specifically defined terminal name on a TERMINAL statement, the specific definition takes precedence. When a terminal signs on to IBM Session Manager and it matches more than a single TERMINAL generic name specification, it cannot be determined which definition will be used.