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, iSeries(TM) 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 work station entry to the subsystem description. If you do need to add a work station entry to the subsystem description, however, you can use the Add Work Station Entry (ADDWSE) command.
Before a work station is allowed to sign-on, it must be defined to a subsystem. In this case, the work station is the virtual terminal device (QPADEVnnnn) automatically created by the i5/OS(TM) licensed program. The work station name, work station type, or *ALL must be specified in the subsystem description. Use the Display Subsystem Description (DSPSBSD) command to see the list of work station entries defined for a subsystem. The following command can be used to add all work station types to a subsystem named QBASE:
ADDWSE SBSD(QBASE) WRKSTNTYPE(*ALL)
For more information on automatically creating virtual terminals, see Setting the Number of Automatically Created Virtual Terminals.
Note: The ADDWSE command is valid only when the subsystem description is not active.
Top | Virtual Terminal APIs | APIs by category |