typically run in the QSPL subsystem.) The following command can be used to add
all workstation types to a subsystem named QINTER:
ADDWSE SBSD(QINTER) WRKSTNTYPE(*ALL)
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—ASCII—Activating the QSYSWRK Subsystem
The QSYSWRK subsystem must be active. Use the Work with Subsystem
(WRKSBS) command to display the status of the subsystem.
The Telnet server must also be started. The interactive subsystem, QINTER, which
is used in previous examples in this chapter, needs to be started to run interactive
jobs for Telnet sessions. The spooling subsystem (QSPL) needs to be active to run
printer pass-through sessions.
Step 8—ASCII—Creating User Profiles for Telnet Users
At the server system, create one or more user profiles for Telnet users from other
systems. The default user profile is *SYS. The following example shows a sample
user profile:
CRTUSRPRF USRPRF(CLERK1)
PASSWORD(unique-password)
JOBD(CLERKLIB/CLERKL1)
TEXT('User profile for Clerks Group 1')
Step 9—Creating a Controller Description for a Virtual
Workstation
To create a controller description for a virtual workstation, use the Create Controller
Description (Virtual Work Station) CRTCTLVWS command as follows:
CRTCTLVWS CTLD(NVTCTL)
TEXT('VIRTUAL CONTROLLER FOR NVT DEVICES')
Step 10—Creating a Network Virtual Device
To create a network virtual device, use the Create Device Description (Display)
(CRTDEVDSP) command as follows:
CRTDEVDSP DEVD(NVT1) DEVCLS(*VRT)
TYPE(*NVT) MODEL(0) CTL(NVTCTL)
TEXT('NVT Display Device for Telnet')
Note: When an ASCII line mode session is negotiated, the AS/400 server system
tries to find an NVT workstation device on the system. If no NVT workstation
device is available, or if no customer application is active and using the NVT
workstation device, the Telnet connection ends.
Keyboard Mapping:
When in Telnet ASCII line mode, there is no keyboard
mapping.
Chapter 6. Telnet Server 215