Article ID: 112159 - Last Review: October 26, 2007 - Revision: 3.2 Configuring SNA Server to Talk to AS/400 Over SDLCThis article was previously published under Q112159 On This PageSUMMARY
This article describes how to configure SNA Server to communicate with an
AS/400 over an Synchronous Data Link Control (SDLC) switched (dial-up)
line, to support 5250 emulation.
NOTE: The end of this article includes sample AS/400 configuration screens. MORE INFORMATION
These instructions assume all of the following:
SAMPLE CONFIGURATION SETTINGSThe following AS/400 configuration screens are shown below, along with their corresponding configuration setting for SNA Server (see comments which are preceded with "****" below). This includes the AS/400 network attributes screen, SDLC (switched) line description, APPC controller, and virtual device description. Many of the configuration settings are not relevant for communications to function, though are shown here for completeness.AS/400: Display Network Attributes
System: OLYMPIA
Current system name . . . . . . . . . . . . . . : OLYMPIA
Pending system name . . . . . . . . . . . . . :
Local network ID . . . . . . . . . . . . . . . . : APPN
**** Must match the remote network name on the SNA Server connection.
Local control point name . . . . . . . . . . . . : OLYMPIA
**** Must match the remote control point name on the SNA Server connection.
Default local location . . . . . . . . . . . . . : OLYMPIA
Default mode . . . . . . . . . . . . . . . . . . : BLANK
APPN node type . . . . . . . . . . . . . . . . . : *ENDNODE
Maximum number of intermediate sessions . . . . : 200
Route addition resistance . . . . . . . . . . . : 128
Server network ID/control point name . . . . . . : APPN REDHOOK
Alert status . . . . . . . . . . . . . . . . . . : *OFF
Alert logging status . . . . . . . . . . . . . . : *NONE
Alert primary focal point . . . . . . . . . . . : *NO
Alert default focal point . . . . . . . . . . . : *NO
Alert backup focal point . . . . . . . . . . . . :
Network ID . . . . . . . . . . . . . . . . . . : *NONE
Alert focal point to request . . . . . . . . . . :
Network ID . . . . . . . . . . . . . . . . . . : *NONE
Alert controller description . . . . . . . . . . : *NONE
Alert hold count . . . . . . . . . . . . . . . . : 0
Alert filter . . . . . . . . . . . . . . . . . . : *NONE
Library . . . . . . . . . . . . . . . . . . . :
Message queue . . . . . . . . . . . . . . . . . : QSYSOPR
Library . . . . . . . . . . . . . . . . . . . : QSYS
Output queue . . . . . . . . . . . . . . . . . . : QPRINT
Library . . . . . . . . . . . . . . . . . . . : QGPL
Job action . . . . . . . . . . . . . . . . . . . : *FILE
Maximum hop count . . . . . . . . . . . . . . . : 16
DDM request access . . . . . . . . . . . . . . . : *OBJAUT
PC Support request access . . . . . . . . . . . : *OBJAUT
Default ISDN network type . . . . . . . . . . . :
Default ISDN connection list . . . . . . . . . . : QDCCNNLANY
AS/400: Change Line Desc (SDLC) (CHGLINSDLC)
Line description . . . . . . . . LIND > NEWLINE
Resource names . . . . . . . . . RSRCNAME > LIN011
+ for more values
Online at IPL . . . . . . . . . ONLINE > *NO
Data link role . . . . . . . . . ROLE > *NEG
Physical interface . . . . . . . INTERFACE > *RS232V24
Connection type . . . . . . . . CNN > *SWTPP
Vary on wait . . . . . . . . . . VRYWAIT > *NOWAIT
Autocall unit . . . . . . . . . AUTOCALL > *NO
Exchange identifier . . . . . . EXCHID > 05600001
NRZI data encoding . . . . . . . NRZI > *YES
**** Must match the encoding setting configured in the SNA Server
connection (located under the Advanced settings).
Maximum controllers . . . . . . MAXCTL > 1
Clocking . . . . . . . . . . . . CLOCK > *MODEM
Line speed . . . . . . . . . . . LINESPEED > 9600
Modem type supported . . . . . . MODEM > *NORMAL
Switched connection type . . . . SWTCNN > *BOTH
Autoanswer . . . . . . . . . . . AUTOANS > *YES
**** With Autoanswer=YES, the AS/400 is answering the phone, so the SNA
Server connection should be set to "Allowed directions = Outgoing." Also,
SNA Server should be configured as "Remote end = Peer."
Autodial . . . . . . . . . . . . AUTODIAL > *NO
Calling number . . . . . . . . . CALLNBR > *NONE
Station address . . . . . . . . STNADR > C1
Connect poll retry . . . . . . . CNNPOLLRTY > 10
Maximum frame size . . . . . . . MAXFRAME > 521
Duplex . . . . . . . . . . . . . DUPLEX > *HALF
**** Matches the SNA Server SDLC connection duplex setting (located under
the advanced settings).
Inactivity timer . . . . . . . . INACTTMR > 300
Poll response delay . . . . . . POLLRSPDLY > 0
Nonproductive receive timer . . NPRDRCVTMR > 320
Idle timer . . . . . . . . . . . IDLTMR > 30
Connect poll timer . . . . . . . CNNPOLLTMR > 30
Poll cycle pause . . . . . . . . POLLPAUSE > 0
Frame retry . . . . . . . . . . FRAMERTY > 7
Data Set Ready drop timer . . . DSRDRPTMR > 20
**** During our testing, the AS/400 default was too short. This may have to
be set to 20 or more, depending on the modem used.
Autoanswer type . . . . . . . . AUTOANSTYP > *DTR
Remote answer timer . . . . . . RMTANSTMR > 60
Text 'description' . . . . . . . TEXT > 'SHOW DEMO LINE -
DIAL IN LINE'
Additional Parameters
Modem data rate select . . . . . MODEMRATE > *FULL
Error threshold level . . . . . THRESHOLD > *OFF
Modulus . . . . . . . . . . . . MODULUS > 8
Maximum outstanding frames . . . MAXOUT > 7
Clear To Send timer . . . . . . CTSTMR > 25
Link speed . . . . . . . . . . . LINKSPEED > 9600
Cost/connect time . . . . . . . COSTCNN > 128
Cost/byte . . . . . . . . . . . COSTBYTE > 128
Security for line . . . . . . . SECURITY > *NONSECURE
Propagation delay . . . . . . . PRPDLY > *TELEPHONE
User-defined 1 . . . . . . . . . USRDFN1 > 128
User-defined 2 . . . . . . . . . USRDFN2 > 128
User-defined 3 . . . . . . . . . USRDFN3 > 128
Recovery limits: CMNRCYLMT
Count limit . . . . . . . . . > 2
Time interval . . . . . . . . > 5
AS/400: Change Ctl Desc (APPC) (CHGCTLAPPC)
Controller description . . . . . CTLD > TRUTH
Online at IPL . . . . . . . . . ONLINE *NO
APPN-capable . . . . . . . . . . APPN *YES
Switched line list . . . . . . . SWTLINLST SHOW
+ for more values
Character code . . . . . . . . . CODE *EBCDIC
Maximum frame size . . . . . . . MAXFRAME 521
**** Inherited from the SDLC line definition. For best performance, this
setting should match the Max BTU Length setting on the SNA Server SDLC
connection (located under the Advanced settings).
Remote network identifier . . . RMTNETID APPN
**** Must match the network name configured on SNA Server (set using Admin
when zooming on the server name), as well as the network name configured on
the Local APPC LU.
Remote control point . . . . . . RMTCPNAME TRUTH
**** Must match the local control point name configured on SNA Server (set
using Admin when zooming on the server name), as well as the LU name of the
Local APPC LU.
Exchange Identifier . . . . . . EXCHID 00000000-FFFFFFFF
**** Must match the Local Node ID on the SNA Server.
SSCP identifier . . . . . . . . SSCPID *SAME
Initial connection . . . . . . . INLCNN *ANS
Dial initiation . . . . . . . . DIALINIT *SAME
Connection number . . . . . . . CNNNBR *SAME
Predial delay . . . . . . . . . PREDIALDLY 6
Redial delay . . . . . . . . . . REDIALDLY 120
Dial retry . . . . . . . . . . . DIALRTY 2
Switched disconnect . . . . . . SWTDSC *YES
**** If this is YES, then the AS/400 will drop the link when there are no
active APPC sessions, so the SNA Server connection should be configured to
activate On Demand. Otherwise, if SWTDSC is set to NO, the SNA Server
connection should be configured to activate On Server Startup.
Disconnect timer: DSCTMR
Minimum connect timer . . . . 600
**** AS/400 default is 170 sec. AS/400 drops the connection after this time-out when there are no active APPC sessions.
Disconnection delay timer . . 0
Station address . . . . . . . . STNADR C1
**** Inherited from the line description. Must match the poll address
configured in the SNA Server connection (located in the Advanced dialog).
SDLC poll priority . . . . . . . POLLPTY *NO
SDLC poll limit . . . . . . . . POLLLMT 0
SDLC out limit . . . . . . . . . OUTLMT *POLLLMT
SDLC connect poll retry . . . . CNNPOLLRTY 7
SDLC NDM poll timer . . . . . . NDMPOLLTMR *CALC
APPN CP session support . . . . CPSSN *YES
APPN node type . . . . . . . . . NODETYPE *ENDNODE
APPN transmission group number TMSGRPNBR 1
APPN minimum switched status . . MINSWTSTS *VRYONPND
Autodelete device . . . . . . . AUTODLTDEV 1440
User-defined 1 . . . . . . . . . USRDFN1 *LIND
User-defined 2 . . . . . . . . . USRDFN2 *LIND
User-defined 3 . . . . . . . . . USRDFN3 *LIND
Recovery limits: CMNRCYLMT
Count limit . . . . . . . . . 2
Time interval . . . . . . . . 5
Text 'description' . . . . . . . TEXT 'Show controller for Demo
dial-in.'
AS/400: Change Device Desc (APPC) (CHGDEVAPPC)
Device description . . . . . . . DEVD > TRUTH03
**** This device name corresponds with the SNA Server Local APPC LU name
(in this case, TRUTH), plus a two-digit device number, generated by the
AS/400 (but not configured in SNA Server).
Online at IPL . . . . . . . . . ONLINE *NO
Mode . . . . . . . . . . . . . . MODE *NETATR
+ for more values
Message queue . . . . . . . . . MSGQ QSYSOPR
Library . . . . . . . . . . . *LIBL
Local location address . . . . . LOCADR 00
Single session: SNGSSN
Single session capable . . . . *NO
Number of conversations . . .
Locally controlled session . . . LCLCTLSSN *SAME
Pre-established session . . . . PREESTSSN *SAME
Text 'description' . . . . . . . TEXT 'AUTOMATICALLY CREATED
BY QLUS'
Mode description . . . . . . . . MODD > QPCSUPP
**** This should not be changed; this is the default mode name for IBM PC
Support clients (and SNA Server).
Class-of-service . . . . . . . . COS #CONNECT
Maximum sessions . . . . . . . . MAXSSN 64
**** This is the number of sessions supported by the QPCSUPP mode, and
should match the SNA Server session limit configured on the QPCSUPP mode
entry, configured using the SNA Server setup program (zoom on Local or
Remote LU, zoom on Partners button, then select the Modes button).
Maximum conversations . . . . . MAXCNV 64
**** This should match the MAXSSN setting above.
Locally controlled sessions . . LCLCTLSSN 16
Pre-established sessions . . . . PREESTSSN 0
Inbound pacing value . . . . . . INPACING 7
Outbound pacing value . . . . . OUTPACING 7
Maximum length of request unit MAXLENRU *CALC
Text 'description' . . . . . . . TEXT 'created by <name>'
APPLIES TO
| Article Translations
|
Back to the top
