Selecting a virtual terminal pool
Because a physical terminal is allowed only one session at a time, CL/SuperSession creates virtual terminals. Virtual terminals simulate physical terminals for sessions between users and applications, but each virtual terminal can support many sessions on behalf of many users, and each user can have sessions on more than one virtual terminal.
A collection of virtual terminals (VTAM® APPLs) is called a virtual terminal pool. With virtual terminal pools, you can:
- Specify session characteristics
- Support virtual terminal sharing to make the best possible use of system and network resources
- Select a virtual terminal defined to the application
You need to specify a virtual terminal pool in your APPLDEF command if you are defining a MULTI type session.
The POOL parameter of the APPLDEF command associates an application definition with a virtual terminal pool. If you do not specify the POOL parameter in the APPLDEF command, then the session is defined as a PASS type session. As a result, terminal control is passed directly to the destination application. The CL/SuperSession is no longer in control of the session.
The following table is an example of APPLDEF pool definitions as defined in member KLS$VSMS of -THILEV-.SKLSCMDS.
| Type of Application | Pool |
|---|---|
| CUA operator facility | VIRTPARS |
| TSO | TSOLGNHR |
| TSO with CS V1.13 and above | TSOESA |
| CICS® with Autoinstall | VIRT3270 |
| CICS without Autoinstall | &DEFPOOL |
| NetView® or NCCF | VIRTPASS |
| IMS | &DEFPOOL |
| IIN | IINPOOL |
| OMEGAMON® | VIRT3270 |
| HCF | HCFPOOL |
| VM | VIRT3270 |
| VM/VSCS | VIRT3270 |
| CA-IDMS/DC | VIRT3270 |
| CA-ROSCOE | VIRT3270 |
| Most other applications | VIRT3270 |
For example, to define a SINGLE TSO application named TSOA, you would use the pool named TSOLGNHR. Your APPLDEF command might look like this:
APPLDEF TSOA -
DEST(your_network_name_for_TSO) -
DESC('TSO SYSTEM A') -
POOL(TSOLGNHR) -
MULTSESS=NO