IBM AS/400e Computer Hardware User Manual


 
Configuration Examples
This topic contains several examples for changing the workstation gateway server
configuration.
Starting the Server Automatically when TCP/IP Starts Example
To automatically start the workstation gateway server when the Start TCP/IP
(STRTCP) CL command runs, change the Workstation Gateway attributes as
follows:
CHGWSGA AUTOSTART(*YES)
The next time the STRTCP command runs, the WSG server is also started.
Changing the Number of Client Sessions per Server Job
Example
This command indicates that the next time you start the workstation gateway server,
it handles up to 30 client sessions. If you have a small system, specify a larger
number to reduce the amount of resource dedicated to the server. To reduce
bottlenecking of workstation gateway server sessions through a server, specify a
smaller number. Bottlenecking is more likely to occur if your AS/400 system is a
smaller model.
CHGWSGA NBRCLT(30)
Using Server Mapping Tables Example
You can use any tables that you already created for Telnet. However, the AS/400
system supports only SBCS tables and not DBCS tables this way. For more
information about mapping tables, see Appendix C. Mapping Tables Associated with
TCP/IP Function.
This command indicates that the next time you start the workstation gateway server,
it has the following characteristics:
v The ASCII-to-EBCDIC and EBCDIC-to-ASCII conversion is not done with a
CCSID value, but instead the outgoing and incoming mapping tables are used.
v A copy of the information found in the table object named TSTWSGO is used for
mapping outgoing data in workstation gateway server. The table object is found
in one of the libraries in the library list.
v A copy of the information found in the table object named TSTWSGI is used for
mapping incoming data in workstation gateway server. The table object is found
in one of the libraries in the library list.
CHGWSGA TBLWSGOUT(*LIBL/TSTWSGO)
TBLWSGIN(*LIBL/TSTWSGI)
Using a CCSID When MIME Code Page Not Available—Example
The following example specifies the ASCII CCSID for China, taken from Table 31 on
page 329. Because a MIME standard does not yet support China, Korea, and
Taiwan, the AS/400 system does not automatically recognize the CCSID values for
those countries. Therefore, these countries must specify their CCSID to run the
workstation gateway server.
CHGWSGA CCSID(01381)
Chapter 10. Workstation Gateway Server 337