[ Previous | Next | Contents | Search ]
3270 Host Connection Program 2.1 and 1.3.3 for AIX: Guide and Reference

VTAM/NCP Node Definition Examples

These examples define nodes on a Virtual Telecommunications Access Mode Network Control Program (VTAM/NCP) operating system for:

SNA Local Channel Attachment Example

This example shows how to define an SNA local channel subsystem on the VTAM operating system. For more information about the mainframe I/O channel definition, refer to the mainframe documentation.

Note: This example is based on the LOGMODE table for SNA sessions defined in "Setting Up the Host LOGMODE Table for HCON" .
*******************************************************
* Local SNA Majornode (VTAMSNA)                       *
*                                                     *
*******************************************************
VTAMSNA LBUILD TYPE=LOCAL
PU330   PU     CUADDR=330,PUTYPE=2,PACING=1,VPACING=1,     C
               SSCPFM=USSSCS,ISTATUS=ACTIVE,               C
               MODE=MODE6000
*-----------------------------------------------------*
*RISC System/6000 display sessions example (LU type 2)*
*-----------------------------------------------------*
LU3301  LU     LOCADDR=2,DLOGMODE=MOD23270
LU3302  LU     LOCADDR=3,DLOGMODE=MOD33270
LU3303  LU     LOCADDR=4,DLOGMODE=MOD43270
LU3304  LU     LOCADDR=5,DLOGMODE=MOD53270
*-----------------------------------------------------*
*RISC System/6000 printer session example (LU type 1) *
*-----------------------------------------------------*
LU3305  LU     LOCADDR=6,DLOGMODE=LU13270
*-----------------------------------------------------*
*RISC System/6000 printer session example (LU type 3) *
*-----------------------------------------------------*
LU3306  LU     LOCADDR=7,DLOGMODE=LU33270
*-----------------------------------------------------*
          .
          .
          .

Non-SNA Local Channel Attachment HCON Example

This example shows how to define a non-SNA local channel subsystem on the VTAM operating system. For more information about the mainframe I/O channel definition, refer to the mainframe documentation.

Note: This example is based on the LOGMODE table for SNA sessions defined in "Setting Up the Host LOGMODE Table for HCON" .
*******************************************************
* Local non-SNA Majornode (VTMNSNA)                   *
*                                                     *
*******************************************************
VTMNSNA LBUILD
*------------------------------------------------------*
* RISC System/6000 display sessions example, Model 2-5 *
*------------------------------------------------------*
NSB02   LOCAL CUADDR=B02,TERM=3277,                         C
              FEATUR2=(MODEL2,EDATS),ISTATUS=ACTIVE,        C
              DLOGMOD=DS23279,MODETAB=MODE6000
*
NSB03   LOCAL CUADDR=B03,TERM=3277,                         C
              FEATUR2=(MODEL2,EDATS),ISTATUS=ACTIVE,        C
              DLOGMOD=DS33279,MODETAB=MODE6000
*
NSB04   LOCAL CUADDR=B04,TERM=3277,                         C
              FEATUR2=(MODEL2,EDATS),ISTATUS=ACTIVE,        C
              DLOGMOD=3279DS4,MODETAB=MODE6000
*
NSB05   LOCAL CUADDR=B05,TERM=3277,                         C
              FEATUR2=(MODEL2,EDATS),ISTATUS=ACTIVE,        C
              DLOGMOD=DS53279,MODETAB=MODE6000
*
*------------------------------------------------------*
* RISC System/6000 printer session example             *
*------------------------------------------------------*
NSB06   LOCAL CUADDR=B06,TERM=3286,                         C
              FEATUR2=(MODEL2,EDATS),ISTATUS=ACTIVE,        C
              DLOGMOD=NSNAPRT,MODETAB=MODE6000
                .
                .
                .

Remote Non-SNA Binary Synchronous Communication Attachment Example

This example shows how to define an network control program (NCP) major node for a remote binary synchronous communication (BSC) 3174/3274 subsystem or equivalent.

Note: This example is based on the LOGMODE table for SNA sessions defined in "Setting Up the Host LOGMODE Table for HCON" .
********************************************************
* Remote Leased BSC host definition                    *
*              - 3174/3274 BSC attachment              *
********************************************************
CL100   CLUSTER   CUTYPE=3271,GPOLL=40407F7F,                C
                  XMITLIM=1,FEATUR2=(MODEL2,EDATS),          C
                  MODETAB=MODE6000,ISTATUS=ACTIVE
*------------------------------------------------------*
* Display session example, model 2-5                   *
*------------------------------------------------------*
CL1001  TERMINAL  TERM=3277,ADDR=60604040,                   C
                  POLL=40404040,DLOGMODE=DS23279
*
CL1002  TERMINAL  TERM=3277,ADDR=6060C1C1,                   C
                  POLL=4040C1C1,DLOGMODE=DS33279
*
CL1003  TERMINAL  TERM=3277,ADDR=6060C2C2,                   C
                  POLL=4040C2C2,DLOGMODE=DS43279
*
CL1004  TERMINAL  TERM=3277,ADDR=6060C3C3,                   C
                  POLL=4040C3C3,DLOGMODE=DS53279
*------------------------------------------------------*
* Printer session example                              *
*------------------------------------------------------*
CL1005  TERMINAL  TERM=3277,ADDR=6060C4C4,                   C
                  POLL=4040C4C4,DLOGMODE=NSNAPRT
                    .
                    .
                    .

Remote Leased SDLC Attachment Example

This example illustrates a typical synchronous data link control (SDLC) leased line definition in an NCP.

Note: This example is based on the LOGMODE table for SNA sessions defined in "Setting Up the Host LOGMODE Table for HCON" .
****************************************************************
* Leased SDLC line host definition at 9600 bps for             *
*     - standalone RISC System/6000 SDLC attachment            *
*     - 3174/3274 SDLC attachment                              *
****************************************************************
HFNLSD1 GROUP   LNCTL=SDLC,
                DIAL=NO,                                         C
                TYPE=NCP,                                        C
                CLOCKNG=EXT,                                     C
                DUPLEX=FULL,                                     C
                NEWSYNC=NO,                                      C
                NRZI=YES,                                        C
                SPEED=9600,                                      C
                PUTYPE=2,                                        C
                OWNER=H2VTAM
THF01   LINE    ADDRESS=001,                                     C
                RETRIES=(7),                                     C
                SPAN=(5200)
        SERVICE ORDER=(THF01C,THF01D,THF01E,THF01F)
*--------------------------------------------------------------*
* Physical Unit Definition                                     *
*--------------------------------------------------------------*
THF01C  PU      ADDR=C3,MAXDATA=265,MAXOUT=7,PASSLIM=3,          C
                IRETRY=NO,VPACING=(2,1),SSCPFM=FSS,              C
                SPAN=(5200),ISTATUS=ACTIVE,PACING=(1,1),         C
                MAXLU=48,MODETAB=MODE6000
*--------------------------------------------------------------*
* Logical Unit Definitions (Display sessions)                  *
*--------------------------------------------------------------*
THF01C02  LU     LOCADDR=2,DLOGMOD=MOD23270
THF01C03  LU     LOCADDR=3,DLOGMOD=MOD33270
THF01C04  LU     LOCADDR=4,DLOGMOD=MOD43270
THF01C05  LU     LOCADDR=5,DLOGMOD=MOD53270
*--------------------------------------------------------------*
* Logical Unit Definitions (Printer sessions)                  *
*--------------------------------------------------------------*
THF01C06  LU     LOCADDR=6,DLOGMOD=LU13270
THF01C07  LU     LOCADDR=7,DLOGMOD=LU33270
                   .
                   .
                   .

Remote Switch SDLC Attachment Example

The switched SDLC link definition has two components:

An example NCP component of an SDLC switched line definition follows.

Note: This example is based on the LOGMODE table for SNA sessions defined in "Setting Up the Host LOGMODE Table for HCON" .
*******************************************************
* NCP definition for a switched SDLC line             *
*******************************************************
HFNSSD GROUP  LNCTL=SDLC,                               C
              DIAL=YES,                                 C
              TYPE=NCP
THF12  LINE   ADDRESS=012,                              C
              ANSTONE=NO,                               C
              ANSWER=ON,                                C
              CALL=IN,                                  C
              CLOCKNG=EXT,                              C
              DISCNT=NO,                                C
              DUPLEX=HALF,                              C
              ISTATUS=ACTIVE,                           C
              MAXPU=1,                                  C
              MEWSYNC=NO,                               C
              NRZI=YES,                                 C
              SPEED=2400,                               C
              SPAN=(8000),                              C
              TRANSFR=5
THF12A  PU    PUTYPE=2,                                 C
              MAXLU=32,                                 C
              SPAN=(8000)

The associated VTAM switched major node component of the same SDLC switched line definition follows:

*-----------------------------------------------------*
* Physical Unit Definition                            *
* IDBLK = 071 for RISC System/6000                    *
*       = 017 for 3X74 controller or equivalent       *
*       = 05C for RT/PC                               *
*-----------------------------------------------------*
THX303     PU  ADDR=C1,MAXDATA=265,MAXOUT=3,PASSLIM=3,  C
               IRETRY=NO,VPACING=3,SSCPFM=FSS,          C
               SPAN=(5200),DISCNT=NO,ISTATUS=ACTIVE,    C
               PACING=(1,1),MAXLU=48,MAXPATH=2,         C
               MODETAB=MODE6000,PUTYPE=2,IDBLK=071,     C
               IDNUM=00000
*-----------------------------------------------------*
* Logical Unit Definitions (Display sessions)         *
*-----------------------------------------------------*
THX30302   LU  LOCADDR=2,DLOGMOD=MOD23270
THX30303   LU  LOCADDR=3,DLOGMOD=MOD33270
THX30304   LU  LOCADDR=4,DLOGMOD=MOD43270
THX30305   LU  LOCADDR=5,DLOGMOD=MOD53270
*-----------------------------------------------------*
* Logical Unit Definitions (Printer sessions)         *
*-----------------------------------------------------*
THX30306   LU  LOCADDR=6,DLOGMOD=LU13270
THX30307   LU  LOCADDR=7,DLOGMOD=LU33270
             .
             .
             .

Token-Ring Attachment Example

The definitions for a Token-Ring attachment are similar to those for a switched line. Two components, the NCP and VTAM areas, are involved.

An example NCP component of a Token-Ring connection definition for a 4MB connection follows.

Note: This example is based on the LOGMODE table for SNA sessions defined in "Setting Up the Host LOGMODE Table for HCON" .
*******************************************************
* NCP definition for a token-ring connection          *
*******************************************************
HANLEC1  GROUP  ECLTYPE=PHYSICAL,                       C
                LNCTL=SDLC,                             C
                TYPE=NCP
*
THAT0    LINE   ADDRESS=(209,FULL),                     C
                PORTADD=0,                              C
                LOCADD=400001551042,                    C
                RCVBUFC=4095
*
THAT0PP  PU     XID=NO
*
THAT0PL  LU     LOCADDR=2,ISTATUS=ACTIVE
                   .
                   .
                   .

The associated VTAM switched major node component of the same Token-Ring connection definition follows:

*-----------------------------------------------------*
* Physical Unit Definition                            *
*-----------------------------------------------------*
THAT0C     PU  ADDR=04,PUTYPE=2,IDBLK=071,IDNUM=00000,  C
               MAXPATH=1,SSCPFM=USSSCS,SPAN=(5200),     C
               USSTAB=USSHATS,MODETAB=MODE6000,         C
               MAXDATA=265,MAXOUT=1,VPACING=0
*-----------------------------------------------------*
* Logical Unit Definitions (Display sessions)         *
*-----------------------------------------------------*
THAT0C02   LU  LOCADDR=2,DLOGMOD=MOD23270,SPAN=(5200)
THAT0C03   LU  LOCADDR=3,DLOGMOD=MOD33270,SPAN=(5200)
THAT0C04   LU  LOCADDR=4,DLOGMOD=MOD43270,SPAN=(5200)
THAT0C05   LU  LOCADDR=5,DLOGMOD=MOD53270,SPAN=(5200)
*-----------------------------------------------------*
* Logical Unit Definitions (Printer sessions)         *
*-----------------------------------------------------*
THAT0C06   LU  LOCADDR=6,DLOGMOD=LU13270,SPAN=(5200)
THAT0C07   LU  LOCADDR=7,DLOGMOD=LU33270,SPAN=(5200)
             .
             .
             .

[ Previous | Next | Contents | Search ]