Step 5—VTxxx—Creating Virtual Controllers and Devices
You can create virtual controllers and devices. If you create your own virtual
devices, by allowing the system to automatically select the device name, you must
be aware of the following:
v The virtual controller must be named QPACTLnn, where nn is a decimal number 01
or greater.
v The virtual device should be named QPADEVxxxx, where xxxx is an alphanumeric
character from 0001 to ZZZZ.
Note: Starting with Version 4 Release 2, the xxxx are no longer only numeric
characters, but also alphanumeric characters from 0001 to ZZZZ, allowing
a maximum of 1,679,615 unique names (devices).
If you want to use more than 32500 devices, which is the maximum value
for the QAUTOVRT system, you can set the QAUTOVRT system value to
*NOMAX to allow additional devices to be created.
v The Telnet server reuses available existing virtual devices that were auto-created
by selecting virtual devices of the same device type and model. When there are
no more device type and model matches, but there are still available virtual
devices, then the device type and model will be changed to match the client
device and model negotiated. This is true only for auto-created (QPADEVnnn)
virtual devices. Typically, the auto-created virtual device will use the AS/400
system values for keyboard type, character set, and code page. Optionally, these
display device attributes may be more specifically defined through the exit
program or device specified client subnegotiation. Devices can also be selected
via the exit program interface as opposed to being negotiated.
v The Device Type for a virtual device with VTxxx emulation is V100.
Step 6—VTxxx—Defining Workstations to Subsystems
When you use Telnet to sign-on to an AS/400 server, the sign-on screen may not
be displayed on your workstation. Before a user can sign on to the AS/400 server,
the workstation must be defined to the subsystem. If the workstation has not been
defined to the subsystem, you need to add a workstation entry to the subsystem
description under which you want your job to run on the AS/400 server. The
workstation in this case is the virtual display device automatically created by the
Telnet server (QPADEVxxxx). The workstation name or the workstation type must
be specified in the subsystem description on the AS/400 server. Use the Display
Subsystem Description (DSPSBSD) command to see the workstation entries
defined to a subsystem. (This only applies to display devices. Printer devices
typically run in the QSPL subsystem.)
Note: The Add Work Station Entry (ADDWSE) command can be done when the
subsystem is active. However, the changes may or may not take effect
immediately. You may need to end and restart the subsystem.
Step 7—VTxxx—Activating the QSYSWRK Subsystem
The QSYSWRK subsystem must be active. Use the Work with Subsystem
(WRKSBS) command to display the status of the subsystem.
200 OS/400 TCP/IP Configuration and Reference V4R4