Appendix A. iSeries, eServer i5, or System i5 Configuration Examples

To connect to an iSeries®, eServer™ i5, or System i5®, you need to specify configuration information in the workstation profile that accurately corresponds to the information specified in the iSeries, eServer i5, or System i5 (referred to as the device description).

For example, the LAN attachment via IEEE 802.2 in the following figure shows how the configuration information specified in the workstation profile corresponds to the configuration information in the iSeries, eServer i5, or System i5.

Figure 1. LAN Attachment via IEEE 802.2
(Figure showing correspondence of iSeries)

iSeries Device Description

To configure 5250 display or printer sessions, the following values must be set in the iSeries device description:

iSeries Device Description Display Session Printer Session
24 x 80 27 x 132
Device category *DSP *DSP *PRT
Device class *VRT *VRT *VRT
Device type 3197 3477 3812
Device model C1 FC 1
Keyboard language type USB+ USB+ -
Character identify code 697 037+ 697 037+ -
+ For SBCS, depends on the host code page selection.

5250 Sessions through One Link

If you want all your 5250 sessions to connect through one link to an iSeries, eServer i5, or System i5, use the same PC Location Name and the same Link Parameters for all the sessions.

Tip

Enter DSPNETA from a 5250 session to display iSeries, eServer i5, or System i5 network attributes.

System i5, iSeries, eServer i5, or System Mode Description

PC400 initially uses mode description QPCSUPP on the iSeries, eServer i5, or System i5. If the PC Support/400 program or iSeries Access is installed on the iSeries, eServer i5, or System i5, QPCSUPP need not be created. If mode description QPCSUPP does not exist on the iSeries, eServer i5, or System i5, create the mode description:

  1. Enter the following command on the command line of the main menu of the iSeries, eServer i5, or System i5:
      CRTMODD

    The Creating Mode Description panel appears.

                       Creating Mode Description (CRTMODD)
     
    Type the selected items, and push the Enter key.
     
    Mode Description.................            Name
    Maximum Session.................. 8           1-512
    Maximum number of interaction.... 8           1-512
    Number of Local Control Sessions. 4           0-512
    Number of Pre-joined Sessions.... 0           0-512
    Inbound Pacing Value............. 7           0-63
    Outbound Pacing Value............ 7           0-63
    Maximum Length of Request Unit... *CALC           241-16384, *CALC
    Text Description ................ *BLANK
     
     
     
     
     
                                                                            End
     F3=Exit    F4=Prompt         F5=Reshow    F10=Add parameter   F12= Cancel
     F13=How to use this panel                 F24=More key
     
  2. Type the necessary values in each field, according to the following table.
    Field Name Input Value
    Mode description QPCSUPP
    Maximum session 64
    Maximum number of interactions 64
    Number of local control sessions 0
    Number of pre-joined sessions 0
    Inbound pacing value 7
    Outbound pacing value 7
    Maximum length of request unit *CALC
    Text description This field is optional
  3. After you type all the values, press the Enter key.

    This completes the creation of the mode description QPCSUPP.

iSeries, eServer i5, or System i5 Device Description for Asynchronous Attachment Example

If you want to use an asynchronous dial attachment, the iSeries, eServer i5, or System i5 requires that you specify configuration parameters for the controller/line/devices to be used.

The following sample is a typical configuration on the iSeries, eServer i5, or System i5 for an asynchronous dialed connection through an ASCII Workstation Controller.

  1. Enter the following command on the command line of the iSeries, eServer i5, or System i5 main menu:
      WRKCFGSTS *CTL CTL03

    where CTL03 is the name of your controller.

    The Work with Configuration Status panel appears.

                         Work with Configuration Status
     
     
     Position to . . . . . _____________  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   Description         Status         -------------Job--------------
     8_    CTL03               ACTIVE
     __      ADLCTST           VARY ON PENDING
     __      ASYNC             VARY ON PENDING
     __      ASYNCD            VARY ON PENDING
     __      EZASYNC           VARY ON PENDING
     __      ASYNCP0           VARY ON PENDING
     __      ASYNRTR           ACTIVE
     
                                                                             BOTTOM
     Parameters or command
      ===>
     
     F3=Exit F4=Prompt F12=Cancel F23=More options F24=More keys
     
  2. Enter 8 in the Opt field to work with the controller description for CTL03.

    The Work with Controller Descriptions panel appears.

                         Work with Controller Descriptions
     
     
     Position to . . . . . _____________  Starting characters
     
     Type options, press Enter
        2=Change 3=Copy 4=Delete 5=Display 6=Print 7=Rename
        8=Work with status 9=Retrieve source 12=Print device addresses
     
     Opt   Controller    Type  Text
     2_    CTL03         6141  CREATED BY AUTO-CONFIGURATION
     
     
     
     
     
     
                                                                             BOTTOM
     Parameters or command
      ===>
     F3=Exit F4=Prompt F5=Refresh F6=Create F9=Retrieve F12=Cancel
     F14=Work with status
     
  3. Enter 2 in the Opt field to change the controller description for CTL03.

    The Change Controller Description panel appears.

                         Change Ctl Desc (local WS) (CHGCTLLWS)
     
     
     Controller Description . . . . . . : CTL03
     Option . . . . . . . . . . . . . . : *BASIC
     Category of controller . . . . . . : *LWS
     
     Controller type  . . . . . . . . . : 6141
     Controller model . . . . . . . . . : 1
     Resource name  . . . . . . . . . . : CTL03
     TDLC line  . . . . . . . . . . . . : QTDL429000
     Online at IPL  . . . . . . . . . . : *YES
     Auto-configuration controller  . . : *YES
     Text . . . . . . . . . . . . . . . : CREATED BY AUTO-CONFIGURATION
     Device wait timer  . . . . . . . . : 10
     
     
     
     
     Press Enter to continue.
      ===>
                                                                             BOTTOM
     F3=Exit  F4=Prompt  F5=Refresh  F12=Cancel  F13=How to use this display
     F24=More keys
  4. Type the values in each field, according to the following table.
    Field Name Input Value
    Controller description CTL03
    Resource name CTL03
    Online at IPL *YES
    Device wait timer 10
    Auto-configuration controller *YES
    Text description This field is optional

    The Work with Controller Descriptions panel appears.

                         Work with Controller Descriptions
     
     
     Position to . . . . . _____________  Starting characters
     
     Type options, press Enter
        2=Change 3=Copy 4=Delete 5=Display 6=Print 7=Rename
        8=Work with status 9=Retrieve source 12=Print device addresses
     
     Opt   Controller    Type  Text
      8_   CTL03         6141  Created by auto-configuration
     
     
     
     
     
     
     
                                                                             BOTTOM
     Parameters or command
      ===>
     F3=Exit F4=Prompt F5=Refresh F6=Create F9=Retrieve F12=Cancel
     F14=Work with status
     
  5. Enter 8 in the Opt field to work with the configuration status.

    The Work with Configuration Status panel appears.

                         Work with Configuration Status
     
     
     Position to . . . . . _____________  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   Description         Status         -------------Job--------------
     __    CTL03               ACTIVE
     __      ADLCTST           VARY ON PENDING
     __      ASYNCPERTH        VARY ON PENDING
     __      ASYNCD            VARY ON PENDING
     __      EZASYNC           VARY ON PENDING
     __      ASYNCP0           VARY ON PENDING
     8_      ASYNRTR           ACTIVE
     
                                                                             BOTTOM
     Parameters or command
      ===>
     
     F3=Exit F4=Prompt F12=Cancel F23=More options F24=More keys
     
  6. Enter 8 in the Opt field next to ASYNRTR to work with the display device description.

    The Work with Device Descriptions panel appears.

                         Work with Device Descriptions
     
     
     Position to . . . . . _____________  Starting characters
     
     Type options, press Enter
        2=Change 3=Copy 4=Delete 5=Display 6=Print 7=Rename
        8=Work with status 9=Retrieve source
     
     Opt   Controller    Type  Text
      2_   ASYNRTR       5150  FOR PC400
     
     
     
     
     
     
     
                                                                             BOTTOM
     Parameters or command
      ===>
     F3=Exit F4=Prompt F5=Refresh F6=Create F9=Retrieve F12=Cancel
     F14=Work with status
     
  7. Enter 2 in the Opt field to change the device description.

    The Change Device Description panel appears.

                    Change Device Desc (Display) (CHGDEVDSP)
     
     Type choices, press Enter.
     
     Device description . . . . . . . . > ASYNRTR     Name
     Port number  . . . . . . . . . . .   4           0-17, *SAME
     Switch setting . . . . . . . . . .   0           0-6, *SAME
     Online at IPL  . . . . . . . . . .   *YES        *SAME, *YES, *NO
     Keyboard language type . . . . . .   USI         *SAME, *SYSVAL, *NONE, AGB...
    
    Character identifier:
       Graphic character set  . . . . .   *KBDTYPE    1-32767, *KBDTYPE, *SYSVAL...
       Code page  . . . . . . . . . . .               1-32767
     Allow blinking cursor  . . . . . .   *YES        *SAME, *YES, *NO
     Print device . . . . . . . . . . .   *SYSVAL     Name, *SAME, *SYSVAL
     Output queue . . . . . . . . . . .   *DEV        Name, *SAME, *DEV
       Library  . . . . . . . . . . . .               Name, *LIBL, *CURLIB
     Printer file . . . . . . . . . . .   QSYSPRT     Name, *SAME
       Library  . . . . . . . . . . . .     *LIBL     Name, *LIBL, *CURLIB
                                                                            More...
     Press Enter to continue.
      ===>
     F3=Exit  F4=Prompt  F5=Refresh  F10=Additional parameters  F12=Cancel
     F13=How to use this display     F24=More keys
     

    This completes the creation of the controller and display device descriptions for an asynchronous dial attachment.

iSeries, eServer i5, or System i5 VT Asynchronous Attachment Example

The following sample is a typical configuration on the iSeries, eServer i5, or System i5 for a VT asynchronous dialed connection through an ASCII Workstation Controller. For more details on iSeries, eServer i5, or System i5 for VT asynchronous attachments, refer to AS/400 ASCII Workstation Reference.

  1. Enter the following command on the command line of the iSeries, eServer i5, or System i5 main menu:
      CRTDEVDSP

    The Create Device Description panel appears, in a first and second screen, as shown for the configuration of a VT100 device in the following screens. When filling in the panel, make sure that the name of the attached controller (arbitrarily shown as CTL05 here) matches the name of the twinaxial controller configured on your iSeries, eServer i5, or System i5.

                        Create Device Desc (Display) (CRTDEVDSP)
     
     Type choices, press Enter.
     
     Device description . . . . . . . > VT100         Name
     Device class . . . . . . . . . . > *LCL          *LCL, *RMT, *VRT, *SNPT
     Device type  . . . . . . . . . . > V100          3101, 3151, 3161, 3162...
     Device model . . . . . . . . . . > *ASCII        0, 1, 2, 4, 5, 12, 23 ...
     Emulated twinaxial device  . . . > *TYPE         3196A2, 3197D2, *TYPE
     Port number  . . . . . . . . . . > 1             0-17
     Emulating ASCII device . . . . . > *NO           *NO, *YES
     Physical attachment  . . . . . . > *MODEM        *DIRECT, *PTT, *MODEM...
     Online at IPL  . . . . . . . . . > *YES          *YES, *NO
     Attached controller  . . . . . . > CTL05         Name
     Keyboard language type . . . . . > USB           *SYSVAL, AGB, AGI, ALI...
     Inactivity timer . . . . . . . . > *NOMAX        1-30, *ATTACH, *NOMAX...
     Line speed . . . . . . . . . . . > 19200         *TYPE, *CALC, 150, 300...
     Word length  . . . . . . . . . . > 8             *TYPE, *CALC, 7, 8
     Type of parity . . . . . . . . . > *NONE         *TYPE, *CALC, *EVEN, *ODD...
     Stop bits  . . . . . . . . . . . > 2             *TYPE, 1, 2
                                                                            More...
     F3=Exit   F4=Prompt   F5=Refresh   F10=Additional parameters   F12=Cancel
     F13=How to use this display        F24=More keys
     
     
                        Create Device Desc (Display) (CRTDEVDSP)
     
     Type choices, press Enter.
     
     Text 'description' . . . . . . . > 'dec vt100 device description test'
     
     
                                Additional Parameters
     Character identifier:
       Graphic character set  . . . . > *KBDTYPE      1-32767, *SYSVAL, *KBDTYPE
       Code page  . . . . . . . . . .                 1-32767
     Print device . . . . . . . . . . > *SYSVAL       Name, *SYSVAL
     Output queue . . . . . . . . . . > *DEV          Name, *DEV
       Library  . . . . . . . . . . .                 Name, *LIBL, *CURLIB
     Printer file . . . . . . . . . . > QSYSPRT       Name
       Library  . . . . . . . . . . . >   *LIBL       Name, *LIBL, *CURLIB
     
     
     
                                                                     Bottom
     F3=Exit   F4=Prompt   F5=Refresh   F10=Additional parameters   F12=Cancel
     F13=How to use this display        F24=More keys
     
  2. For a similar configuration for a VT220:

    Use the same command, CRTDEVDSP, on the command line of the iSeries, eServer i5, or System i5 main menu. Again, the same kind of panels appear. You must make sure that the name of the attached controller matches the name of the twinaxial controller configured on your iSeries, eServer i5, or System i5.

                        Create Device Desc (Display) (CRTDEVDSP)
     
    Type choices, press Enter.
     
    Device description . . . . . . .   VT220         Name
    Device class . . . . . . . . . . > *LCL          *LCL, *RMT, *VRT, *SNPT
    Device type  . . . . . . . . . . > V220          3101, 3151, 3161, 3162...
    Device model . . . . . . . . . . > *ASCII        0, 1, 2, 4, 5, 12, 23
    Emulated twinaxial device  . . . > *TYPE         3196A2, 3197D2, *TYPE
    Port number  . . . . . . . . . . > 2             0-17
    Emulating ASCII device . . . . . > *NO           *NO, *YES
    Physical attachment  . . . . . . > *MODEM        *DIRECT, *PTT, *MODEM...
    Online at IPL  . . . . . . . . . > *YES          *YES, *NO
    Attached controller  . . . . . . > CTL05         Name
    Keyboard language type . . . . . > USB           *SYSVAL, AGB, AGI, ALI...
    Inactivity timer . . . . . . . . > *NOMAX        1-30, *ATTACH, *NOMAX...
    Line speed . . . . . . . . . . . > 19200         *TYPE, *CALC, 150, 300...
    Word length  . . . . . . . . . . > 8             *TYPE, *CALC, 7, 8
    Type of parity . . . . . . . . . > *NONE         *TYPE, *CALC, *EVEN, *ODD...
    Stop bits  . . . . . . . . . . . > 1             *TYPE, 1, 2
                                                                           More...
    F3=Exit   F4=Prompt   F5=Refresh   F10=Additional parameters   F12=Cancel
    F13=How to use this display        F24=More keys
     
                         Create Device Desc (Display) (CRTDEVDSP)
     
     Type choices, press Enter.
     
     Text 'description' . . . . . . . > 'dec vt220 device description test'
     
     
                                Additional Parameters
     
     Character identifier:
       Graphic character set  . . . . > *KBDTYPE      1-32767, *SYSVAL, *KBDTYPE
       Code page  . . . . . . . . . .                 1-32767
     Print device . . . . . . . . . . > *SYSVAL       Name, *SYSVAL
     Output queue . . . . . . . . . . > *DEV          Name, *DEV
       Library  . . . . . . . . . . .                 Name, *LIBL, *CURLIB
     Printer file . . . . . . . . . . > QSYSPRT       Name
       Library  . . . . . . . . . . . >   *LIBL       Name, *LIBL, *CURLIB
     
     
     
                                                                             Bottom
     F3=Exit   F4=Prompt   F5=Refresh   F10=Additional parameters   F12=Cancel
     F13=How to use this display        F24=More keys