Establishing an LU 6.2 connection using CICS

Note:
This example is for a connection to an OS/2 system. The steps are the same whatever platform you are using; change the values as appropriate.

Defining a connection

  1. At a CICS command line type:
    CEDA DEF CONN(connection name) (17)
         GROUP(group name) (18)
    
    For example:
    CEDA DEF CONN(OS2) GROUP(EXAMPLE)
    
  2. Press Enter to define the connection to CICS.

    A panel is displayed, as shown below.



    +--------------------------------------------------------------------------------+
    |  DEF CONN(OS2) GROUP(EXAMPLE)                                                  |
    |  OVERTYPE TO MODIFY                                        CICS RELEASE = 0520 |
    |   CEDA  DEFine                                                                 |
    |    Connection     : OS2                                                        |
    |    Group          : EXAMPLE                                                    |
    |    DEscription  ==>                                                            |
    |   CONNECTION IDENTIFIERS                                                       |
    |    Netname      ==> OS2LU                                                      |
    |    INDsys       ==>                                                            |
    |   REMOTE ATTRIBUTES                                                            |
    |    REMOTESystem ==>                                                            |
    |    REMOTEName   ==>                                                            |
    |   CONNECTION PROPERTIES                                                        |
    |    ACcessmethod ==> Vtam               Vtam | IRc | INdirect | Xm              |
    |    Protocol     ==> Appc               Appc | Lu61                             |
    |    SInglesess   ==> No                 No | Yes                                |
    |    DAtastream   ==> User               User | 3270 | SCs | STrfield | Lms      |
    |    RECordformat ==> U                  U | Vb                                  |
    |   OPERATIONAL PROPERTIES                                                       |
    | +  AUtoconnect  ==> No                 No | Yes | All                          |
    |   I New group EXAMPLE created.                                                 |
    |                                                                APPLID=MVSLU    |
    |                                                                                |
    |   DEFINE SUCCESSFUL                            TIME:  16.49.30  DATE: 95.065   |
    | PF 1 HELP 2 COM 3 END             6 CRSR 7 SBH 8 SFH 9 MSG 10 SB 11 SF 12 CNCL |
    +--------------------------------------------------------------------------------+
  3. On this panel, change the Netname field in the CONNECTION IDENTIFIERS section to be the LU name ((20)) of the target system. In the CONNECTION PROPERTIES section set the ACcessmethod field to Vtam and the Protocol to Appc.
  4. Press Enter to make the change.

Defining the sessions

  1. At a CICS command line type:
    CEDA DEF SESS(session name) (19)
         GROUP(group name) (18)
    
    For example:
    CEDA DEF SESS(OS2SESS) GROUP(EXAMPLE)
    
  2. Press Enter to define the group of sessions for the connection.

    A panel is displayed, as shown below.



    +--------------------------------------------------------------------------------+
    |  DEF SESS(OS2SESS) GROUP(EXAMPLE)                                              |
    |  OVERTYPE TO MODIFY                                        CICS RELEASE = 0520 |
    |   CEDA  DEFine                                                                 |
    |    Sessions     ==> OS2SESS                                                    |
    |    Group        ==> EXAMPLE                                                    |
    |    DEscription  ==>                                                            |
    |   SESSION IDENTIFIERS                                                          |
    |    Connection   ==> OS2                                                        |
    |    SESSName     ==>                                                            |
    |    NETnameq     ==>                                                            |
    |    MOdename     ==> #INTER                                                     |
    |   SESSION PROPERTIES                                                           |
    |    Protocol     ==> Appc               Appc | Lu61                             |
    |    MAximum      ==> 008 , 004          0-999                                   |
    |    RECEIVEPfx   ==>                                                            |
    |    RECEIVECount ==>                    1-999                                   |
    |    SENDPfx      ==>                                                            |
    |    SENDCount    ==>                    1-999                                   |
    |    SENDSize     ==> 04096              1-30720                                 |
    | +  RECEIVESize  ==> 04096              1-30720                                 |
    |   S CONNECTION MUST BE SPECIFIED.                                              |
    |                                                                APPLID=MVSLU    |
    |                                                                                |
    | PF 1 HELP 2 COM 3 END             6 CRSR 7 SBH 8 SFH 9 MSG 10 SB 11 SF 12 CNCL |
    +--------------------------------------------------------------------------------+
  3. On this panel, in the SESSION IDENTIFIERS section, specify the Connection name ((17)) in the Connection field and set the MOdename to #INTER. In the SESSION PROPERTIES section set the Protocol to Appc and the MAximum field to 008 , 004.
  4. Press Enter to make the change.

Installing the new group definition

To install the new group definition, type:

CEDA INS GROUP(group name) (18)

at a CICS command line, and press Enter.

Note:
If this connection group is already in use, severe errors will be reported. If this occurs you must take the existing connections out of service, retry the group installation, and then set the connections in service again using the following commands:
  1. CEMT I CONN
  2. CEMT S CONN(*) OUTS
  3. CEDA INS GROUP(Group name)
  4. CEMT S CONN(*) INS

What next?

The connection is now established. You are ready to complete the configuration. Go to WebSphere MQ for z/OS using CICS configuration.



© IBM Corporation 2002. All Rights Reserved