Microsoft KB Archive/145954

= How to set up 3270 device emulation to AS/400 =

Article ID: 145954

Article Last Modified on 3/31/2004

-

APPLIES TO


 * Microsoft SNA Server 4.0
 * Microsoft SNA Server 4.0 Service Pack 4
 * Microsoft Host Integration Server 2000 Standard Edition
 * Microsoft Host Integration Server 2000 Service Pack 1

-



This article was previously published under Q145954



SUMMARY
5250 device emulation is recommended for initiating interactive terminal sessions to an AS/400. However, it is possible for an AS/400 to communicate through a 3270 data stream.

This article describes how to configure an SNA Server and an AS/400 to allow 3270 device emulators to initiate a terminal session.



MORE INFORMATION
Before you configure an SNA Server and an AS/400, disable the auto-configuration option on the AS/400. If this option is not disabled, the AS/400 creates an APPC controller that conflicts with the controller you are creating. If this occurs, de-activate (Vary Off) the auto-configured controller and remove it. If you do not want to disable the auto-configuration option, follow these steps:
 * 1) Make sure that you complete the AS/400 configuration first.
 * 2) Make sure that the controller is varied on before you try to activate the SNA Server connection.
 * 3) If there is an active connection, re-enable auto-configuration.

AS/400 configuration
 Create a remote workstation controller. The SNA Server is detected as a LAN-attached 3174 controller by the AS/400. At a command prompt, type the following one-line command:

CRTCTLRWS CTLD TYPE(3174) MODEL(0) LINKTYPE(*LAN)

SWTLINLST EXCHID(05DFFFFF) ADPTADR

  is the name for the controller. Any name can be specified.  is the name of the AS/400 line description for the LAN connection.  is the network interface card (NIC) address of the SNA Server.  Create 3270 devices. Each 3270 device corresponds to one emulation session and one display LU in SNA Server Admin. At a command prompt, type the following one-line command:

CRTDEVDSP DEVD DEVCLS(*RMT) TYPE(3278) MODEL(0) LOCADR(02) CTL

  is the name for the device. Any name can be specified.</li>  is the name of the controller in step 1.</li></ul> </li> Repeat typing the command on step 2. Increase LOCADR until you have created the desired number of devices.</li> Vary on the controller and devices and verify that they are ready for use. Type the following command:

WRKCFGSTS *CTL

  is the name of the controller in step 1.</li></ul> </li> The controller and attached devices are displayed in a state of Varied Off. Use option 1 to Vary On the controller.</li> Wait for a moment, and then press F5 to refresh the display. Make sure that the status of the controller is Active and that all of the devices are Vary On Pending.</li></ol>

SNA Server 4.0 and Host Integration Server 2000 configuration
<ol> Run Manager and add an 802.2 link service.

Note Do not use the AS/400 Configuration Wizard.</li> Configure the 802.2 connection (associated with the 802.2 link service) by using the following properties:

Remote End: Host System

Activation: On Server Startup (recommended but any of the options should work)

Allowed Directions: Outgoing Calls

</li> Use the Address tab and the System Identification tab to add the following parameters:

Remote Network Address:  (Enter the NIC address of the AS/400. This address can be found in the ADPTADR parameter of the AS/400 line description.)

Local Node ID and Remote Node Name fields:

</li> Click the 802.2 connection, and then insert all the required 3270 LUs off the connection.

The LU numbers correspond to the LOCADR values in the AS/400 device descriptions.</li> Assign LUs to corresponding pools and users by right-clicking the LU and using the Assign option. This step is optional.</li> Save the configuration.

The LUs should be available as soon as the connection is started successfully.</li></ol>

Additional query words: prodsna HIS 2000

Keywords: kbhowto kbusage KB145954

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.