• Aucun résultat trouvé

Relationship between AS/400 and VTAM/NCP for a Switched Line 54

Dans le document A As/400, 5/38 AND (Page 75-83)

RAOL0025 LINE ADDRESS=(25,HALF) ANSWER-ON

RMTNETID(USIBMRA) RAOP13 PU ADDR=Ol

RMTCPNAME(RAB) ~

t

CPNAME=RALYAS4A

STNADR(Ol) 4 - - - - + - - - - + - - - ' DISCNT=NO

RMTLOCNAME(RAOTNNCO) (a) MODETAB=MTGS3X

LCLLOCNAME (RAOAS4A) + - - . . . - - 1 - - - - -.. DLOGMOD=MODS361 . CTL(P24025D)

MODE(MODS361) 4 - - - + - - - 1

I

VTAM/NCP MODETAB MACRO LOCADDR(OO)

APPN LCLLOCLIST MTGS3X MODTAB

'--++

MODS361 MODEENT

Figure 39. Defining a switched link between AS/400 and VTAMINCP

54

AS/400, S/38 and PS/2 as T2.1 Nodes in a··Subarea Network

4.4 Definitions on the S/38 (RAL V38A)

When you configure an S/38 to communicate with the AS/400 behind the S/370 subarea network you need to create the following:

• A line description from the S/38 to the host.

• A control unit description for the S/370 on the S/38.

• A device description for the AS/400 on the S/38.

• A mode description for the device.

• A communications entry in the subsystem you are using for the device.

For information on setting up OSPT on the S/38 refer to 5138 CPF Programmer's Guide.

4.4.1 Create Line Description

To configure the S/38 to the network you must first create a line description from the S/38 to the S/370 host. You can do this by entering the CL command CRTLINO

+

CMO 4 to prompt the parameters.

Create Line Description (CRTLIND) Prompt +++

Enter the following:

Label:

Line description name:

OU number of line port:

Line type:

Connection type("'SWT "'PP "'MP):

Data rate:

Switched network backup?

Speed select feature?

NRZI decoding ("'NO "'YES):

S/38 provided clock("'NO *YES):

Autocall feature ("'NO "'YES):

Autoanswer feature ("'NO "'YES):

S/38 answer tone ("'NO "'YES):

Physical wire connection Normal wire type (2 4):

Backup type, if SWNBKU (2 4):

Data comm equipment group:

Non-IBM modem ("'NO "'YES):

Switched connection type:

Speed rate type ("'FULL "'HALF):

Create Line Description (CRTLIND) Prompt +++

Answer mode (*MANUAL *AUTO):

Data terminal ready delay:

Idle detection time:

SSC receive timeout timer:

Nonproductive receive time:

Number of error retries:

Online at CPF start(*YES *NO):

Nonswitched control units:

SSC SWitched control units:

Station address:

Exchange identifier in hex:

Line code (*ESCDIC *ASCII):

Remote job entry (*NO *YES):

SSC switched line disconnect?

3279 device emulation?

X.25 network type: Figure 41. Create Line Description (continued)

15

Create Line Description (CRTLIND) Prompt X.25 default window size:

X.25 maximum PIU size:

X.25 logical channel entries Logical channel group nbr:

Logical channel channel nbr:

Logical channel type:

PVC control unit name:

Figure 42. Create Line Description Prompt (continued) Press Enter to create your line description.

56

AS/400, S/38 andPS/2 as T2.1 Nodes in a Subarea Network

4.4.2 Create Host Controller Description

The next step is to create a controller description to describe the communi-cation characteristics of the 8/370 remote system. Enter command CRTCUD and CMD 4 for prompting.

Create Control Unit Desc (CRTCUD) Prompt +++

Enter the following:

Label:

Control unit description name: CUD R P24929C3

Control unit type: TYPE R PU2

Model number: MODEL R 9

Control unit address: CTLADR R 9961 Switched line (*NO *YES): SWITCHED *NO

Nonswitched line name: LINE L24929

Speed select feature? SELECT *NO

Switched telephone number: TELNBR *NONE Switched initial connection: INLCNN *ANS Exchange identifier in hex: EXCHID *NONE

BSC local identifier: LCLID *NONE

BSC remote identifiers: RMTID *NONE + for more

SSCP identifier: SSCPID

SSCP identifier checking? SSCPIDCHK *NO Online at CPF start(*YES *NO): ONLINE *YES Switched line names: LINLST

+ for more Switched network backup? SWNBKU *NO Allow delayed connection? DLYFEAT *NO

Figure 43. Create Control Unit Desc Prompt

The name of the controller description in Figure 43 is P24020C3.

Control unit type is PU2, after exchange identification the host will know that the 8/38 is a T2.1 node and supports dependent and independent LUs on the same controller.

Control unit address is 0061, where 61 has to match the line port in the attached line description.

Create Control Unit Desc (CRTCUD) Prompt +++

Attached device names: DEV + for more BSC device delay in sec: DEVDLY 129 BSC program delay in sec: PGMDLY 129 Remote job entry (*NO *YES): RJE *NO

RJE host: RJEHOST *NONE

RJE host 'signon'/'logon': RJELOGON .*NONE 3279 device emulation? EML3279 *NO Maximum length PIU: MAXLENPIU 521

Data compression: DTACPR *NO

Device wait timeout value:

o

EVWA IT *TYPE

Link type: LINKTYPE *NONE

Controller code: CODE

X.25 address: X25ADR

X.25 default packet size: DFTPKTSIZE *LIND X.25 default window size: DFTWDWSIZE *LIND

X.25 LLC protocol: NETPCL *QLLC

X.25 response timer: NETRSPTMR

Figure 44. Create Control Unit Desc (continued)

Press Enter to create this controller description.

Create Control Unit Desc (CRTCUD) Prompt X.25 reverse charging

Incoming calls:

Outgoing calls:

X.25 closed user group 10:

X.25 connection password:

X.25 user facilities:

Public authority (*NORMAL *ALL *NONE):

Text 'description':

3 on L24G2G' Conment:

NETRVSCRG

NETCUGID NETCNNPWD NETUSRFCL PUBAUT TEXT

Figure 45. Create Control Unit Desc (continued)

*NO

*NO

*NONE

*NONE

*NONE

*NORMAL

'SNA Host control unit P24G2GC

For more information on the other parameters see SI38 Control Language Ref-erence Manual.

58

AS/400, S/38 and PS/2 as T2.1 Nodes in a Subarea Network

\ )

)

4.4.3 Create Device Description

The device description contains the characteristics of the logical device (LU) on the S/38 that the remote system will communicate with. This device (LU) will be used to communicate with the AS/400 behind the subarea network. Use the command CRTDEVD

+

CMD 4 for prompting.

Figure 46. Create Device Description Prompt

The device description name in Figure 46 is RAONN. This is an arbitrary name and doesn't have to match any other parameters.

The device address is 000061, where the first two digits indicates the inde-pendent Lu support. It is possible to create more devices with "00" as the first two digits to the same controller. Digits three and four have to match the first two digits of controller description address and digits five and six have to match the port address of the line to be used.

P24020C3 is the name of the controller to which this device is attached.

Create Device Description (CRTDEVD) Prompt +++

Print file name: PRTFILE QSYSPRT

Library name: *LIBL

Work stn controller address: WSCADR *NONE Work stn controller keyboard: WSCKBD *NONE Allow blink (*YES *NO): ALWSLN *YES sse contention resolution: CONTN

loca 1 LU name: LCLLU RAOTNNCS

Remote LU name: RMTLU RAOAS4A

System validation password: SYSVLDPWD *NONE

Secure LU: SEeURELU *NO

Font identification: FONT

Form feed: FORMFEED *CONT

anulation device type: EMlDEVTYP 3277 anulation keyboard type: EMLKBDTYP *UPPER

Maximum length RU: MAXlENRU 256

Auxiliary device AUXDEV

Auxiliary device type: *NONE

Auxiliary device address:

+ for more

Network device address: NETDEVADR *NONE Figure 47. Create Device Description Prompt (continued)

In Figure 47 you are required to define your local and remote LU names. The local LU name is RAOTNNCO and must match the LU name defined in the NCP LU macro to communicate with the S/38. The remote LU name defines the location (LU) with which it wants to communicate and therefore must match the local location name which resides in the local location list of the AS/400.

Because the communication will use the host as an intermediate system the remote LU name must also match the LU name for the AS/400 in the VTAM switched major node.

Create Device Description (CRTDEVD) Prompt Character Identifier

Graphic character set:

Code page:

Public authority (*NORMAl *ALL *NONE):

Text 'description':

RAlYAS4A' Conment:

eHRID

*SYSVAl PUBAUT

*NORMAl

TEXT 'Device Description for

Figure 48. Create Device Description Prompt (continued)

For more information on the other parameters see 5/38 Control Language Ref-erence Manual.

Press Enter to create the device description.

60

AS/400, S/38 and PS/2 as T2.1 Nodes in at·Subarea Network

(

\

4.4.4 Create Mode Description

The mode description describes the session characteristics and number of ses-sions that will be used to negotiate the allowable values between the local and remote locations. A mode with the same name must exist at both end points.

Device description name:

Mode name:

Maximum number of sessions:

Number of prebound sessions:

Maximum source sessions:

Maximum conversations:

Inbound pacing value:

Outbound pacing value:

Maximum length RU:

Add Comnunications Entry (ADDCMNE) Prompt Enter the following:

Subsystem description name:

Library name:

Device name:

Job description name:

Library name:

Default user profile name:

Mode name:

Max concurrently active jobs:

SSSD

Figure 50. Add Communications Entry Prompt

To be able to use this device description for communications to the AS/400 you must add a communications entry in a subsystem on the S/38. We are using the subsystem name QSNADS for the device RAONN. To add your device to the subsystem you use the CL command ADDCMNE. You must make sure the subsystem is not active. If it is active you can enter the TRMSBS command.

This will terminate your subsystem so you can make the necessary changes.

Once you have added your communications entry you activate the subsystem again by using the STRSBS command. For more details on how to setup a communication environment on the S/38 see 5138 Control Program Facility Pro-grammers Guide.

Dans le document A As/400, 5/38 AND (Page 75-83)