환경설정 예제

본 장에서는 SNA LU 0와 SNA LU 6.2의 환경설정 예제를 설명한다.

1. SNA LU 0

다음은 SNA LU 0 프로세스를 실행하는 데 필요한 전체 환경설정의 예제이다.

*HOSTLINK
aaa           SHMKEY=98765,
              TMAX=Y

*SERVER
snalu0gw00    TMAXSVRNAME=snalu0gw00,
              TMAXSVRNO=0,
              SVRTYPE=LU0,
              HOSTID="X3",
              MSGSIZE=8192,
              TIMEWAIT=WAIT,
              LINKDOWN_TIMEOUT=60,
              SESSION_TIMEOUT=300,
              BUFFERING=YES,
              INBOUNDLU=DEDICATE,
              BIDLU=DEDICATE,
              LINKNAME=AAA

*SERVICE
snalu0gw00    BIDSVCNAME=BIDSVC,
              BIDSVCPOS=1,
              BIDSVCSIZE=10,
              ROPSVCNAME=BIDSVC,
              ROPSVCPOS=1,
              ROPSVCSIZE=10,
              OUTSVCNAME=OUTBOUND,
              OUTSVCPOS=1,
              OUTSVCSIZE=10,
              OUTERRPOS=20,
              OUTERRVAL="0001",
              RLYSVCNAME=BIDSVC,
              RLYSVCPOS=1,
              RLYSVCSIZE=10,
              TCLSVCNAME=BIDSVC,
              TCLSVCPOS=1,
              TCLSVCSIZE=10

*LOGGING
snalu0gw00    LOGPATH=aaa,
              LOGTYPE=HEX,
              LOGSVC=AAA

*CONVERSION
snalu0gw00   INBOUND=YES,
             INBOUND_KOR=YES,
             INBOUND_SKIP=50,
             OUTBOUND=YES,
             OUTBOUND_KOR=YES,
             OUTBOUND_SKIP=50

*DUMMYDATA
snalu0gw00   ZEROSIZE=YES,
             DUMMYPOS=1,
             DUMMYVAL="xxxx"

*USERHEADER
snalu0gw00   HSIZE=20,
             SVCPOS=1,
             SVCSIZE=10,
             LUTYPEPOS=2,
             LUTYPESIZE=6,
             LUNAMEPOS=2,
             LUNAMESIZE=8,
             WSNAMEPOS=10,
             WSNAMESIZE=8,
             ERRCODEPOS=1,
             ERRCODESIZE=4,
             TIMEWAITPOS=1

*LUINFO
TLU015       svrname=snalu0gw00,
             HOSTID=I9,
             WSNAME="A000001",
             LUKIND=INBOUND,
             LUTYPE=i
TLU016       svrname=snalu0gw00,
             HOSTID=I9,
             WSNAME="A000002",
             LUKIND=OUTBOUND,
             LUTYPE=BID
TLU017       svrname=snalu0gw00,
             HOSTID=I9,
             WSNAME="A000002",
             LUKIND=OUTBOUND,
             LUTYPE=NORMAL
TLU018       svrname=snalu0gw00,
             HOSTID=I9,
             WSNAME="A000002",
             LUKIND=OUTBOUND,
             LUTYPE=ROP
TLU019       svrname=snalu0gw00,
             HOSTID=I9,
             WSNAME="A000002",
             LUKIND=OUTBOUND,
             LUTYPE=ROP

2. SNA LU 6.2

다음은 SNA LU 6.2 프로세스를 실행하는 데 필요한 전체 환경설정의 예제이다.

*HOSTLINK
aaa                     SHMKEY=98765,
                        TMAX=Y

*SERVER
sna62rgw00              TMAXSVRNAME=sna62rgw00,
                        TMAXSVRNO=0,
                        SVRTYPE=LU62R,
                        MSGSIZE=8192,
                        REPSEND=Y,
                        LINKNAME=AAA
sna62sgw00              TMAXSVRNAME=sna62sgw00,
                        TMAXSVRNO=0,
                        SVRTYPE=LU62S,
                        MSGSIZE=8192,
                        FUNCTION=DPL,
                        LINKNAME=AAA

*SERVICE
sna62rgw00             OUTSVCNAME=BIDSVC,
                       OUTSVCPOS=1,
                       OUTSVCSIZE=10
sna62sgw00             RLYSVCNAME=BIDSVC,
                       RLYSVCPOS=1,
                       RLYSVCSIZE=10,
                       TCLSVCNAME=BIDSVC,
                       TCLSVCPOS=1,
                       TCLSVCSIZE=10

*LOGGING
sna62rgw00             LOGPATH=aaa,
                       LOGTYPE=HEX,
                       LOGSVC=AAA
sna62sgw00             LOGPATH=aaa,
                       LOGTYPE=HEX,
                       LOGSVC=AAA

*CONVERSION
sna62rgw00            INBOUND=YES,
                      INBOUND_KOR=YES,
                      INBOUND_SKIP=50,
                      OUTBOUND=YES,
                      OUTBOUND_KOR=YES,
                      OUTBOUND_SKIP=50
sna62sgw00            INBOUND=YES,
                      INBOUND_KOR=YES,
                      INBOUND_SKIP=50,
                      OUTBOUND=YES,
                      OUTBOUND_KOR=YES,
                      OUTBOUND_SKIP=50

*DUMMYDATA
sna62rgw00            DUMMYPOS=0,
                      DUMMYVAL="xxxx"
sna62sgw00            DUMMYPOS=0,
                      DUMMYVAL="xxxx"

*USERHEADER
sna62rgw00            HSIZE=20
sna62sgw00            HSIZE=20

*LUINFO
TLU015                svrname=sna62rgw00,
                      FQPLUNAME="KMTNET.CICSD1",
                      SESSION=20
TLU016                svrname=sna62rgw00,
                      FQPLUNAME="KMTNET.CICSD2",
                      SESSION=20
TLU017                svrname=sna62rgw01,
                      FQPLUNAME="KMTNET.CICSD3",
                      SESSION=20
TLU018                svrname=sna62sgw00,
                      FQPLUNAME="KMTNET.CICSD4",
                      TPNAME=A000001,
                      MODENAME=IBMRDB1,
                      SYNCMODE=NONE,
                      SESSION=20
TLU019                svrname=sna62sgw00,
                      FQPLUNAME="KMTNET.CICSD5",
                      TPNAME=A000002,
                      MODENAME=IBMRDB1,
                      SYNCMODE=NONE,
                      SESSION=20
TLU020                svrname=sna62sgw01,
                      FQPLUNAME="KMTNET.CICSD6",
                      TPNAME=A000003,
                      MODENAME=IBMRDB1,
                      SYNCMODE=NONE,
                      SESSION=20