定義例

ここでは,TP1/NET/OSI-TPを使用した全二重の場合のシステム定義の例を示します。

TP1/NET/OSI-TPのシステム構成例を図5-5に,この構成に沿った定義例をそのあとに示します。

なお,TP1/NET/OSI-TPでは,全二重の場合のシステム定義のコーディング例を次のファイルで提供しています。

全二重の場合のシステム定義の例
  • /BeTRAN/examples/mcf/OSITP/conf/mngr1
  • /BeTRAN/examples/mcf/OSITP/conf/com_c1
  • /BeTRAN/examples/mcf/OSITP/conf/com_d1

また,半二重の場合のシステム定義では,全二重の場合に指定するmcftalccnの定義に次の指定を追加します。

      -d ”control=polarized”

図5-5 TP1/NET/OSI-TPのシステム構成例

[図データ]

TP1/NET/OSI-TPのMCFマネジャ環境定義例

# ----- ファイル1 MCFマネジャ環境定義 ---------------- #
mcfmenv    -m  "name       =TPmngr"
#
mcfmcomn   -p  100
#
mcfmcname  -s  "mcfsvname  =_muTPrsp                         ¥
               syssvname  =mcfutp"
mcfmcname  -s  "mcfsvname  =_muTPint                         ¥
               syssvname  =mcfutp"
#
mcfmuap    -t  "sndtim=0                                     ¥
               sndrcvtim=0                                  ¥
               recvtim=0"
#
mcfmsts    -v  60
# ----- ファイル1 MCFマネジャ環境定義 終わり --------- #

TP1/NET/OSI-TPのMCF通信構成定義の例(共通定義)

# ----- ファイル2 MCF通信構成定義 共通定義 ----------- #
mcftenv    -s  01                                            ¥
          -a  APCNF01
mcftcomn   -j  32768
mcfttred   -m  10
mcfttim    -t  "btim = 1                                     ¥
               mtim = 180                                   ¥
               rmtim = 0"
mcfttrc    -t  "size = 204800                                ¥
               disk = yes                                   ¥
               bufcnt = 100                                 ¥
               trccnt = 3"                                  ¥
          -m  del
mcftbuf    -g  "groupno=1                                    ¥
               length =2048                                 ¥
               count  =35                                   ¥
               extend =1"
mcftbuf    -g  "groupno=2                                    ¥
               length =2048                                 ¥
               count  =35                                   ¥
               extend =1"
mcftbuf    -g  "groupno=4                                    ¥
               length =32768                                ¥
               count  =10"                                  ¥
# ----- ファイル2 MCF通信構成定義 共通定義 終わり ---- #

TP1/NET/OSI-TPのMCF通信構成定義の例(固有定義)

# ----- ファイル3 MCF通信構成定義 固有定義 ----------- #
# -------------------------------------------------------- #
###コネクション定義開始###
mcftalccn  -c  cotp01                                        ¥
          -p  tp                                            ¥
          -n  x'0a81008202000283020002'                     ¥
          -q  x'148100820200028302000284084900000000000002' ¥
          -g  "sndbuf =1                                    ¥
               rcvbuf =2"                                   ¥
          -e  "msgbuf=4                                     ¥
               count=1"                                     ¥
          -m  "mode=xnfas"                                  ¥
          -i  auto                                          ¥
          -u  ht                                            ¥
          -w  "nomltim=00"                                  ¥
          -b  "bretry   =yes                                ¥
               bretrycnt=2                                  ¥
               bretryint=10"                                ¥
          -t  int                                           ¥
          -z  "slot=3"                                      ¥
          -y  int                                           ¥
          -o  x'28ce2a060201'                               ¥
          -j  x'28ce2a060101'
# -------------------------------------------------------- #
###論理端末定義###
mcftalcle  -l  otm01                                         ¥
          -t  any
# -------------------------------------------------------- #
###コネクション定義終了###
mcftalced

# -------------------------------------------------------- #
###コネクション定義開始###
mcftalccn  -c  cotp02                                        ¥
          -p  tp                                            ¥
          -n  x'0a81008202000283020002'                     ¥
          -q  x'148100820200028302000284084900000000000002' ¥
          -g  "sndbuf =1                                    ¥
               rcvbuf =2"                                   ¥
          -e  "msgbuf=4                                     ¥
               count=1"                                     ¥
          -m  "mode=xnfas"                                 ¥
          -i   auto                                         ¥
          -u   ht                                           ¥
          -w  "nomltim=00"                                  ¥
          -b  "bretry   =yes                                ¥
               bretrycnt=2                                  ¥
               bretryint=10"                                ¥
          -t  int                                           ¥
          -z  "slot=3"                                      ¥
          -y  int                                           ¥
          -o  x'28ce2a060201'                               ¥
          -j  x'28ce2a060101'
# -------------------------------------------------------- #
###論理端末定義###
mcftalcle  -l  otm02                                         ¥
          -t  any
# -------------------------------------------------------- #
###コネクション定義終了###
mcftalced

# -------------------------------------------------------- #
###コネクション定義開始###
mcftalccn  -c  cotp03                                        ¥
          -p  tp                                            ¥
          -n  x'0a81008202000283020003'                     ¥
          -q  x'148100820200028302000384084900000000000002' ¥
          -g  "sndbuf =1                                    ¥
               rcvbuf =2"                                   ¥
          -e  "msgbuf=4                                     ¥
               count=1"                                     ¥
          -m  "mode=xnfas"                                  ¥
          -i  auto                                          ¥
          -u  ht                                            ¥
          -w  "nomltim=00"                                  ¥
          -b  "bretry   =yes                                ¥
               bretrycnt=2                                  ¥
               bretryint=10"                                ¥
          -t  int                                           ¥
          -z  "slot=3"                                      ¥
          -y  int                                           ¥
          -o  x'28ce2a060201'                               ¥
          -j  x'28ce2a060101'
# -------------------------------------------------------- #
###論理端末定義###
mcftalcle  -l  otm03                                         ¥
          -t  any
# -------------------------------------------------------- #
###コネクション定義終了###
mcftalced
# ----- ファイル3 MCF通信構成定義 固有定義 終わり ---- #