Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 24 of 46

DCS 300 User's Manual, pages 231 to 240

Pages 231 to 240 of 460

The original document is the PDF (2.2 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Intermec DCS-300

Page 231

Using Peer-to-Peer Applications

9

Communicating With APPC Applications You can use APPC applications to communicate between the DCS 300 and any other device on an SNA network. Before you write APPC applications, you should have some familiarity with APPC/LU 6.2 because APPC applications use APPC/LU 6.2 verbs to communicate with the server. APPC applications, acting as remote requester applications, initiate the connection to the server. The server waits for the connection to be initiated. The remote applications can be receive, send, interactive, or batch applications. Receive applications Receive applications only receive data. A receive application must act as a receive requester. It must send the server a valid application name when it connects. The application name must be identical to the name configured for it in the server. Send applications Send applications only send data. A send application must act as a send requester. It can send transactions to the server without being configured in the server because the server will never send anything to it. The source application ID field in the transaction header is always blank. Note: The server’s APPC receive NetComms only receive data in a maximum of 1120 byte chunks (96 bytes transaction header + 1024 bytes data). If more than 1120 bytes are received, an error is reported. Interactive applications A typical interactive application consists of the application, a send connect, and a receive connect. Batch applications Batch applications are requester applications that receive batched data from the server. This data is collected while the application is not active and is stored in the Hot Standby file. The batch NetComm takes the Hot Standby file and sends the data upline faster than the normal interactive retrieval of data. Batch applications are ideal for applications that collect data only periodically and do not need to remain interactive. Batch applications are never interactive; they merely collect data.

9-23

Page 232

DCS 300 User’s Manual

APPC Verbs APPC/LU 6.2 verbs allow the DCS 300 to communicate over an SNA network to other devices supporting APPC/LU 6.2. The server uses APPC to route the data between remote applications and itself. In an SNA network there are two parts to communications: the server and the host. The server takes care of communications on its side, but you must make sure you build the APPC verbs into your applications to handle communications on the host side. Intermec recommends that you have some familiarity with the APPC/LU 6.2 protocol. These are the primary verbs that you can use to communicate with the server. For a description of their functions, see the DCS 300 Technical Reference Manual. MC_ALLOCATE

MC_SEND_DATA

MC_SEND_ERROR

MC_CONFIRM

CONFIRM

CONFIRM

MC_CONFIRMED

FLUSH

FLUSH

MC_DEALLOCATE

DEALLOCATE

ABEND

MC_RECEIVE_AND_WAIT

NONE

RECEIVE_ALLOCATE

MC_REQUEST_TO_SEND

IMS Applications Older IMS applications, before version 4.0, do not support the MC_CONFIRMED or MC_SEND_ERROR verbs. Since IMS applications do not support these verbs, applications must send an acknowledge transaction back to partner programs by setting the acknowledge flag in the server’s transaction header to “A.”

NetComm Pairs This table shows how your application links with a server NetComm. The NetComms are created when you configure your remote application on the server. NetComm

Remote Application

Send Server

Host Receive Requester

Receive Server

Host Send Requester

Batch File Transfer

Host Batch File Transfer

IMS Send Server

IMS Host Receive Requester (before version 4.0)

IMS Receive Server

IMS Host Send Requester (before version 4.0)

To see the verb flow diagrams, see the DCS 300 Technical Reference Manual.

9-24

Page 233

10 Using Terminal Sessions

Page 234

DCS 300 User’s Manual

Page 235

Using Terminal Sessions

10

Now that you have configured the DCS 300 to communicate with your LAN and you have configured your server to communicate with your Intermec network, you are ready to tie the entire data collection network together using an application. This chapter explains how to set up VT, ANSI, 5250, or 3270 terminal sessions on your server. You can use these terminal sessions for running screen mapping as explained in Chapter 11, “Using Screen Mapping.”

Chapter Checklist Done?

‰ ‰

Task

Page

Configure the host for terminal sessions

10-5

Configure the VT terminal sessions on the DCS 300.

10-6

Or,

‰

Configure the 5250 terminal sessions on the DCS 300.

10-13

Or,

‰ ‰ ‰ ‰

Configure the 3270 terminal sessions on the DCS 300.

10-18

Save and activate the configuration.

10-21

Start a terminal session.

10-22

(Optional) Map terminal keyboards to the DCS 300 keyboard

10-23

When you understand these sections and perform these tasks, you can start using the server.

10-3

Page 236

DCS 300 User’s Manual

About Terminal Sessions You can establish VT, ANSI, 5250, or 3270 terminal sessions between the DCS 300 and your host. Use these sessions on the server to access your host directly from the server. By accessing your host, you can verify your host connection and you can start remote applications. You can also use these sessions as screen mapping sessions. For help, see Chapter 11, “Using Screen Mapping.” IBM Host

Ethernet

TCP/IP Host

IBM Host

Token ring

Twinax/Coax/SDLC

DCS 300

Data Collection Network 0300U.038

10-4

Page 237

Using Terminal Sessions

10

Configuring the Host for Terminal Sessions For VT, ANSI, 5250 or 3270 terminal sessions, there are relationships between emulation modes and network adapter cards. This section outlines the network administrator tasks for the special relationships between emulation modes and cards. This table lists the emulation modes and the network adapter cards they support. Emulation Mode

Ethernet

Token Ring

Coaxial

Twinaxial

SDLC

VT100/220/320

Yes

Yes

No

No

No

ANSI

Yes

Yes

No

No

No

5250

Yes

Yes

No

Yes

Yes

3270

Yes

Yes

Yes

No

Yes

Setting Up 5250 Terminal Sessions Using SDLC If you are setting up 5250 terminal sessions over an SDLC link, your network administrator can manually create the controller on the host or set up the AS/400 so that it will automatically create a controller. Your network administrator can also automatically or manually create a device that goes with the controller. When configuring the SDLC adapter card, you need to know these parameters: • the station address

• whether the attached line is a switched (dialed) or non-switched (leased) line

• the maximum frame size

Setting Up 3270 Terminal Sessions Using Ethernet If you are setting up 3270 terminal sessions over an Ethernet network, your network administrator needs to create a controller remote workstation and then a device to go with the controller on the host. The device definition provides the local location address (NAU) for the DCS 300. You need to know this parameter when configuring the DCS 300.

10-5

Page 238

DCS 300 User’s Manual

Setting Up 3270 Terminal Sessions Using SDLC If you are setting up 3270 terminal sessions over an SDLC link, your network administrator needs to create a controller and then a display on the host. When configuring the SDLC adapter card, you need to know these parameters:

10-6

• the station address (2-digit hexadecimal number)

• the attached non-switched line, which is the line that is connected directly to the DCS 300

• the maximum frame (I) size

• the local location address (NAU) for the DCS 300, which is the display that your network administrator creates

Page 239

Using Terminal Sessions

10

Creating Terminal Sessions This section explains how to define the communications parameters for the VT, ANSI, 3270, and 5250 terminal sessions between the DCS 300 and your host. You can use these sessions to access the host from the server or you can use them for screen mapping sessions. One terminal session on the server can communicate with one terminal emulator session running on the host. However, the terminal session on the server can receive transactions from multiple devices. Before you proceed, make sure you have performed these tasks: •

Install the DCS 300.

•

Install and configure the connection points and downline devices.

•

Configure the network adapter cards.

To create a terminal session 1. From the main menu, choose Terminal Session. 2. Choose Host Connection. The Terminal Session List dialog box appears.

3. Add, edit, or delete terminal sessions. For help, see “Adding a VT/ANSI Terminal Session,” “Adding a 5250 Terminal Session, ” or “Adding a 3270 Terminal Session” later in this chapter. 4. Choose Close to close the dialog box and return to the main menu.

10-7

Page 240

DCS 300 User’s Manual

Adding a VT/ANSI Terminal Session •

From the Terminal Session List dialog box, choose VT/ANSI. The Terminal Session Definition dialog box appears.

Field

Description

Value

Default

Session name

A meaningful name for this terminal session.

1 to 8 alphanumeric characters

None

Mode

The type of terminal mode that you want to use for this terminal session.

VT100, VT220, VT320, ANSI

VT220

Host Name

The name of the TCP/IP host to which the terminal session connects. For help adding a host, see “Adding a TCP/IP Host” in the next section.

Predefined

None

Number of sessions

The number of terminal sessions that you want to run on the server.

1 to 228

1

Port number

The port number that this session uses to communicate with the telnet daemon on the host.

0 to 65535

23

Note: Telnet uses port number 23.

10-8