Subsystem Information

A server program should run in the same subsystem that other server programs are running. For controlling resource use, such as main storage, a separate subsystem for running all server programs is usually best. This is also advantageous for allowing performance tuning, such as the number of page faults. Generally, IBM® i applications run in subsystem QBASE.

If the subsystem under which you want the server program to run was created with the system defaults, you will not have to add a workstation entry to the subsystem description. If you do need to add a workstation entry to the subsystem description, however, you can use the Add Work Station Entry (ADDWSE) command.

Before a workstation is allowed to sign on, it must be defined to a subsystem. In this case, the workstation is the virtual terminal device (QPADEVnnnn) that is automatically created by the IBM i licensed program. The workstation name, workstation type, or *ALL must be specified in the subsystem description. Use the Display Subsystem Description (DSPSBSD) command to see the list of workstation entries defined for a subsystem. The following command can be used to add all workstation types to a subsystem named QBASE:

ADDWSE SBSD(QBASE) WRKSTNTYPE(*ALL)

For more information about automatically creating virtual terminals, see Step 1: Setting the Number of Automatically Created Virtual Terminals.

Note: The ADDWSE command is valid only when the subsystem description is not active.



[ Back to top | >Virtual Terminal APIs | APIs by category ]