The text of a manual · part 34 of 35
5250 Terminal Emulation Programmer's Reference Guide: Appendix E: AS/400 Line Generations
Pages 295 to 308 of 318, from 5250 Terminal Emulation Programmer's Reference Guide
The original document is the PDF (1.3 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 6400
Page 295
Appendix E
AS/400 Line Generations "
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
"
Overview This appendix contains these examples: "
Multipoint line configuration example
"
5394 description example
"
Device description example
"
Sample configuration for an RC3250 Controller
5250 Terminal Emulation Programmer’s Reference Guide
E-1
Page 296
APPENDIX E
"
AS/400 Line Generations
Multipoint Line Configuration Example The next page shows an example of a multipoint line configuration running an RS-232/V24 interface from the AS/400. " "
"
The left column is the description of the parameter. The “>“ symbol means this value was changed from the default value supplied by IBM. The far right column shows the possible values for the parameter. When the dots continue past the last entry, this means there are more values for this parameter than can fit on the display. To display the remaining values and a short description, place a “?” in the first position of the field and press enter.
The following chart contains helpful comments about some parameters. Parameter Resource name
Comments You need to supply the resource name. The name varies with each system installed.
Data link role
The setting must be *PRI (primary).
Connection type
The type can be *NONSWTPP if you wish. This will limit you to only 16 LUs without changing the line description. There is no advantage to making the line a *NONSWTPP; the AS/400 will allocate the same amount of resources.
NRZI
The setting for NRZI must match the parameter set for the controller. Disabled = *NO and Enabled = *YES. The maximum frame size should be 521. The line description works at the data link level, so this will include the 4 bytes of SDLC information.
Maximum frame size
E-2
5250 Terminal Emulation Programmer’s Reference Guide
Page 297
APPENDIX E
"
AS/400 Line Generations
A similar device description must be provided for each radio terminal. Comments on specific screen lines are in the following chart. Line 3
Description The name following “LIND” uniquely describes the line and enables links to it from “CRTCTLRWS” and “CRTDEVDSP.” Note the same number appearing after “CTLD” in line 16, “LINE” in line 18, and “CTL” in lines 24 and 28.
3
The name following “RSRCNAME” names the physical line.
5
The number following “EXCHID” specifies the device type and serial number for the host computer.
8
“MAXFRAMES” can be “521” or “261,” but must match the number set on the controller.
16
The number following “CTLD” links the controller to the line defined beginning with line 3.
18
The number following “LINE” links the controller to the line defined beginning with line 3.
19
The number following “STNADR” is a number assigned by the programmer.
23
The number following “DEVD” links the device to the controller defined beginning with line 3.
24
The number following “CTL” links the device to the controller defined beginning with line 3.
28
“LOCADR” is the unique local address for the device.
5250 Terminal Emulation Programmer’s Reference Guide
E-3
Page 298
APPENDIX E
"
AS/400 Line Generations
MAIN
AS/400 Main Menu
System:
S1010535
Select one of the following: 1. User tasks 2. Office tasks 3. General system tasks 4. 5. 6. 7. 8. 9.
Files, libraries, and folders Programming Communications Define or change the system Problem handling Display a menu
10. User support and education 11. PC Support tasks 90. Sign off Selection or command ===> crtlinsdlc F3=Exit
F4=Prompt
F9=Retrieve
F12=Cancel
F23=Set initial menu (C) COPYRIGHT IBM CORP. 1980, 1990.
E-4
5250 Terminal Emulation Programmer’s Reference Guide
F13=User support
Page 299
APPENDIX E
"
AS/400 Line Generations
Create Line Desc (SDLC) (CRTLINSDLC) " NOTE:
The line description describes the local system and its link characteristics.
Type choices, press Enter Line description ................... >
RFLINE
Name
Resource Name ...................... >
LIN011
Name
Online at IPL ......................
*YES
*YES, *NO
Data link role ......... ......... >
*PRI
*NEG, *PRI, *SEC
Physical interface ................
*RS232V24 *RS232V24, *V35, *X21, ...
Connection type .................... >
*MP
*NONSWTPP, SWTPP, *MP, SHM, ...
Switched network backup ..........
*NO
*YES, *NO
Exchange identifier ...............
*SYSGEN
05600000-056FFFFF, *SYSGEN
NRZI data encoding ................
*YES
*YES, *NO
Number of attached controllers .. >
4
Line Speed ......................... >
19200
600, 1200, 2400, 4800, ...
Modem type supported ..............
*NORMAL
*NORMAL, *V35, *IBMWRAP ...
Maximum frame size ................
521
265, 521, 1033, 2057
Duplex ..............................
*HALF
*HALF, *FULL
Nonproductive receive timer ......
320
160-4200 (0.1 seconds)
Idle timer .........................
30
5-300 (0.1 seconds)
+ for more values
.. 1-256
More ...
F3=Exit
F4=Prompt
F5=Refresh
F12=Cancel
F13=How to use this display
F24=More keys 5250 Terminal Emulation Programmer’s Reference Guide
E-5
Page 300
APPENDIX E
"
AS/400 Line Generations
5394 Description Example The next page shows an example of a 5394 Control Unit description used on an AS/400. " "
"
The left column is the description of the parameter. The “>“ symbol means this value was changed from the default value supplied by IBM. The far right column shows the possible values for the parameter. When the dots continue past the last entry, this means there are more values for this parameter than can fit on the display. To display the remaining values and a short description, place a “?” in the first position of the field and press enter.
Note that the value for “Attached nonswitched line” is the name of the line description entered on page E-5. The controller type is a 5394, but can also be a 5294. The frame size is the same as on the controller. Also, because the example is connecting to a nonswitched line, the exchange identifier is not required. " NOTE:
E-6
A control unit description is required for each SDLC address.
5250 Terminal Emulation Programmer’s Reference Guide
Page 301
APPENDIX E
MAIN
"
AS/400 Main Menu
AS/400 Line Generations
System:
S1010535
Select one of the following: 1. User tasks 2. Office tasks 3. General system tasks 4. 5. 6. 7. 8. 9.
Files, libraries, and folders Programming Communications Define or change the system Problem handling Display a menu
10. User support and education 11. PC Support tasks 90. Sign off Selection or command ===> crtctlrws F3=Exit
F4=Prompt
F9=Retrieve
F12=Cancel
F13=User support
F23=Set initial menu (C) COPYRIGHT IBM CORP. 1980, 1990.
5250 Terminal Emulation Programmer’s Reference Guide
E-7
Page 302
APPENDIX E
"
AS/400 Line Generations
Create Ctl Desc (Remote WS) (CRTCTLRWS) " NOTE:
The controller description describes the remote system and its link characteristics. One description is required for each SDLC address.
Type choices, and press Enter. Controller description ........ >
RFCTL01
Name
Controller type ................ >
5394
3174, 3274, 5251, 5294 ...
Controller model ............... >
1
0, 1, 0001, 2, 0002, 12, 0012 ...
Link type ....................... >
*SDLC
*IDLC, *LAN, *NONE, *SDLC ...
Online at IPL ...................... *YES
*YES, *NO
Switched connection ............... *NO
*NO, *YES
Switched network backup .......... *NO
*NO, *YES
Attached nonswitched line .... >
RFLINE
Name
Maximum frame size ............ >
517
265-1994, 261, 265, 517 ...
Exchange identifier ............... 00100000-FFFFFFFF Station address .................... 01
01-FE
Text ‘description’ ................ Norand controller address 01 Bottom
F3=Exit
F4=Prompt
F5=Refresh
F13=How to use this display
E-8
F10=Additional parameters F24=More keys
5250 Terminal Emulation Programmer’s Reference Guide
F12=Cancel
Page 303
APPENDIX E
"
AS/400 Line Generations
Device Description Example The next page shows an example of a device description used on the AS/400. " "
"
The left column is the description of the parameter. The “>“ symbol means this value was changed from the default value supplied by IBM. The far right column shows the possible values for the parameter. When the dots continue past the last entry, this means there are more values for this parameter than can fit on the display. To display the remaining values and a short description, place a “?” in the first position of the field and press enter.
This device description would communicate with radio terminal #0 if it was attached to the first address in the RC3250 Controller or RC3240 Controller. This is determined by the “Local location address” field in this device description. The address is in hexadecimal form. The following chart contains helpful comments about some other parameters. Parameter Attached controller
Device type Device model " NOTE:
Comments The “Attached controller” field is the name of the controller that we just created. The device type is always the same for every device. The device model is always the same for every device.
One device description is required for each radio terminal.
5250 Terminal Emulation Programmer’s Reference Guide
E-9
Page 304
APPENDIX E
"
AS/400 Line Generations
MAIN
AS/400 Main Menu
System:
S1010535
Select one of the following: 1. User tasks 2. Office tasks 3. General system tasks 4. 5. 6. 7. 8. 9.
Files, libraries, and folders Programming Communications Define or change the system Problem handling Display a menu
10. User support and education 11. PC Support tasks 90. Sign off Selection or command ===> crtdevdsp F3=Exit
F4=Prompt
F9=Retrieve
F12=Cancel
F23=Set initial menu (C) COPYRIGHT IBM CORP. 1980, 1990.
E-10
5250 Terminal Emulation Programmer’s Reference Guide
F13=User support
Page 305
APPENDIX E
"
AS/400 Line Generations
Create Device Desc (Display) (CRTDEVDSP) Type choices, press Enter. Device description ............. >
RFDEV00
Name
Device class .................... >
*RMT
*LCL, *RMT, *VRT
Device type ..................... >
5291
3101, 3151, 3161, 3162 ...
Device model .................... >
1
0, 1, 2, 4, 11, 12, 23 ...
Local location address ........ >
00
00-FE
Online at IPL ...................
*YES
*YES, *NO
Attached controller ........... >
RFCLT01
Name
Drop line at signoff .......... >
*NO
*YES, *NO
Allow blinking cursor .........
*YES
*YES, *NO
Printer ..........................
Name
Text ‘description’ .............
*BLANK More...
F3=Exit
F4=Prompt
F5=Refresh
F12=Cancel
F13=How to use this display
F24=More keys
5250 Terminal Emulation Programmer’s Reference Guide
E-11
Page 306
APPENDIX E
"
AS/400 Line Generations
MAIN
AS/400 Main Menu
System:
S1010535
Select one of the following: 1. User tasks 2. Office tasks 3. General system tasks 4. 5. 6. 7. 8. 9.
Files, libraries, and folders Programming Communications Define or change the system Problem handling Display a menu
10. User support and education 11. PC Support tasks 90. Sign off Selection or command ===> wrkcfgsts *lin rfline F3=Exit
F4=Prompt
F9=Retrieve
F12=Cancel
F23=Set initial menu (C) COPYRIGHT IBM CORP. 1980, 1990.
E-12
5250 Terminal Emulation Programmer’s Reference Guide
F13=User support
Page 307
APPENDIX E
"
AS/400 Line Generations
Work with Configuration Status System: Position to .
.
.
.
S1010535
Starting characters
Type options, press Enter. 1=Vary on
2=Vary off
5=Work with job
8=Work with description
9=Display mode status . . . Opt
Lin/Ctl/Dev/Mod
Status
1
L15394
VARIED OFF
L15394
-------------Job------------
VARIED OFF
L152910
VARIED OFF
Parameters or command
Bottom
===> F3=Exit
F4=Prompt
F5=Refresh
F12=Cancel
F23=More options
F24=More keys (C) COPYRIGHT IBM CORP. 1980, 1990.
Sample Configuration Following is an example of the matching parameters for an AS/400 5250 configuration with an RC3250 Controller.
5250 Terminal Emulation Programmer’s Reference Guide
E-13
Page 308
APPENDIX E
"
AS/400 Line Generations
Line description . . . . . . . . . . . . . . . . . . . . . . . > RFLINE Resource Name . . . . . . . . . . . . . . . . . . . . . . . > LIN011 Online at IPL . . . . . . . . . . . . . . . . . . . . . . . . .
*YES
Data link role . . . . . . . . . . . . . . . . . . . . . . . . .
*PRI
Physical interface . . . . . . . . . . . . . . . . . . . . .
*RS232V24
Connection type . . . . . . . . . . . . . . . . . . . . . .
*MP
Switched network backup . . . . . . . . . . . . . .
*NO
Exchange identifier . . . . . . . . . . . . . . . . . . . . . . . *SYSGEN NRZI data encoding . . . . . . . . . . . . . . . . . . . . . . *YES Number of attached controllers . . . . . . . . . . > 4
RC3250 Configuration Option
In this case
RS232 or V.35
RS232
Enabled or Disabled . . Enabled SDLC Address . . . . . . . 1-4 possible EXT or 300-38400 . . . . Any speed
Line Speed . . . . . . . . . . . . . . . . . . . . . . . . . . . > 19200 Modem type supported . . . . . . . . . . . . . . . . . . . *NORMAL Maximum frame size . . . . . . . . . . . . . . . . . . . . . 521 Duplex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . *HALF Nonproductive receive timer . . . . . . . . . . . . . . . 320 Idle timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
5394 or 5294 . . . . . . . . 5394
Controller description . . . . . . . . . . . . . . . . . . > RFCTL01 Controller type . . . . . . . . . . . . . . . . . . . . . . . > 5394 Controller model . . . . . . . . . . . . . . . . . . . . . . > 1 Link type . . . . . . . . . . . . . . . . . . . . . . . . . . . . > *SDLC Online at IPL . . . . . . . . . . . . . . . . . . . . . . . . . . . . *YES Switched connection . . . . . . . . . . . . . . . . . . . . . . *NO Switched network backup . . . . . . . . . . . . . . . . . *NO Attached nonswitched line . . . . . . . . . . . . . . > RFLINE Maximum frame size . . . . . . . . . . . . . . . . . . > 517 Exchange identifier . . . . . . . . . . . . . . . . . . . .
261 or 517 . . . . . . . . . . 517 SDLC Address . . . . . . . 1-4 possible
Station address . . . . . . . . . . . . . . . . . . . . . . . . . . 01 Device description . . . . . . . . . . . . . . . . . . . . > RFDEV00 Device class . . . . . . . . . . . . . . . . . . . . . . . . . > *RMT Device type . . . . . . . . . . . . . . . . . . . . . . . . . . > 5291 Device model . . . . . . . . . . . . . . . . . . . . . . . . > 1
Radio Terminal Configuration 00-63 . . . . . . . . . . . . . . . 00, 16, 32,
Local location address . . . . . . . . . . . . . . . . . > 00 Online at IPL . . . . . . . . . . . . . . . . . . . . . . . . . . . . *YES Attached controller . . . . . . . . . . . . . . . . . . . . > RFCLT01 Drop line at signoff . . . . . . . . . . . . . . . . . . . . > *NO Allow blinking cursor . . . . . . . . . . . . . . . . . . . . . *YES
E-14
5250 Terminal Emulation Programmer’s Reference Guide or 48