home *** CD-ROM | disk | FTP | other *** search
/ Curio City 9 / CURIO9.bin / pc / internet / win / w95nim / program / data.z / FENICS.SCR < prev    next >
Text File  |  1997-09-10  |  4KB  |  164 lines

  1. #
  2. #  FENICS-ROAD
  3. #
  4.  
  5. WaitMsg = "\x0Dしばらくしてからやりなおしてください";
  6. CR = "\x0D";
  7.  
  8. show "FENICS" & ROAD & "に接続開始";
  9.  
  10. Tries = 8;
  11. Wait_FENICS:
  12.     if Tries == 0 goto Return_Failure;
  13.     Tries = Tries - 1;
  14.     wait
  15.         "*"            goto Send_C_NIM_Host,
  16.         "HOST NAME?"        goto Send_C_NIM_Host1,
  17.         "Connection-ID  --->"    goto Send_SHP_Host,
  18.         "User-ID  --->"        goto Start_LOGIN,
  19.         "Clear DTE"        goto Send_C_NIM_Host2,
  20.         "Clear OCC"        goto Return_Failure_OCC,
  21.         "Clear PAD"        goto Send_C_NIM_Host2,
  22.         "Clear NA"        goto Return_Failure_NA,
  23.         "Clear NP"        goto Return_Failure_NP,
  24.         "Clear NC"        goto Return_Failure_NC,
  25.         "Clear DER"        goto Return_Failure_DER,
  26.         "Clear RPE"        goto Return_Failure_RPE,
  27.     until 80;
  28.     send CR;
  29.     goto Wait_FENICS;
  30.  
  31. Send_C_NIM_Host:
  32.     show "ホストネーム送信中...";
  33.     wait until 10;
  34.     send "C NIM" & CR; 
  35.     goto Wait_FENICS;
  36. Send_C_NIM_Host1:
  37.     wait until 10;
  38.     goto Wait_FENICS;
  39. Send_C_NIM_Host2:
  40.     show "センターホストに再接続中...";
  41.     wait until 10;
  42.     goto Wait_FENICS;
  43. Send_SHP_Host:
  44.     show "コネクションID送出中...";
  45.     wait until 10;
  46.     send "SHP" & CR;
  47.     goto Wait_FENICS;
  48.     
  49. Start_LOGIN:
  50. UID = %UserID;
  51. Tries = 5;
  52. Send_UID:
  53.     show "ユーザーID送出中...";
  54.     wait until 10;
  55.     send UID & CR;
  56. Wait_LOGIN:
  57.     if Tries == 0 goto Return_Failure;
  58.     Tries = Tries - 1;
  59.     wait
  60.         "User-ID  --->"            goto Send_UID,
  61.         "User-ID Error"            goto Enter_UID,
  62.         "Password --->"            goto Start_PSW,
  63.         "◆あなたのIDは都合により"    goto Return_ID_NG_1,
  64.         "保守作業の"    goto Return_MENTE2,
  65.         "Clear DTE"            goto Return_Failure_DTE,
  66.         "Clear PAD"            goto Return_Failure_PAD,
  67.         "Clear NC"            goto Return_Failure_NC,
  68.     until 80;
  69.     goto Wait_LOGIN;
  70.  
  71. Enter_UID:
  72.     input "正しいユーザーIDを入力して下さい" UID EON 1200;
  73.     if UID goto Wait_LOGIN;
  74.     errexit "ユーザーID入力タイムアウト";
  75.  
  76. Start_PSW:
  77.     PWD = %Password;
  78.     Tries = 5;
  79. Send_PSW:
  80.     show "パスワード送出中...";
  81.     wait until 10;
  82.     send PWD & CR;
  83. Wait_PASSWORD:
  84.     if Tries == 0 goto Return_Failure;
  85.     Tries = Tries - 1;
  86.     wait
  87.         "Password --->"            goto Send_PSW,
  88.         "Password ERROR"        goto Enter_PSW,
  89.         %ESC & "I"            goto Return_Success,
  90.         "大変混雑"            goto Return_BUSY,
  91.         "◆あなたのIDは都合により"    goto Return_ID_NG_1,
  92.         "定期保守"            goto Return_MENTE,
  93.         "Service is currently"    goto Return_MENTE,
  94.         "◆只今の時間はご利用"        goto Return_MHA,
  95.         "◆二重ログイン"        goto Return_LOGIN,
  96.         "Clear DTE"            goto Return_Failure_DTE,
  97.         "Clear PAD"            goto Return_Failure_PAD,
  98.         "Clear NC"            goto Return_Failure_NC,
  99.     until 80;
  100.     goto Wait_PASSWORD;
  101.  
  102. Enter_PSW:
  103.     input "正しいパスワードを入力して下さい" PWD EOFF 1200;
  104.     if PWD goto Wait_PASSWORD;
  105.     errexit "パスワード入力タイムアウト";
  106.  
  107. Return_Success:
  108.   show "FENICS" & ROAD & "に接続しました";
  109.   exit;
  110.  
  111. Return_Failure:
  112.   errexit "FENICS" & ROAD & "に接続できません";
  113.  
  114. Return_Failure_DTE:
  115.   errexit "ホストから着信が拒否されました。"
  116.       & WaitMsg;
  117.  
  118. Return_Failure_OCC:
  119.   errexit "ホストビジー(ホストの論理回線がすべて使用中です)";
  120.  
  121. Return_Failure_PAD:
  122.   errexit "ホストからの解放要求により通信を切断した。"
  123.           & WaitMsg;
  124.  
  125. Return_Failure_NA:
  126.   errexit "接続規制(当該ホストへの接続が禁止されています)";
  127.  
  128. Return_Failure_NP:
  129.   errexit "欠番(当該ホストのセンターアドレスは存在しません)";
  130.  
  131. Return_Failure_NC:
  132.   errexit "接続回線が一時的に込み合っていて、ご使用できません"
  133.           & WaitMsg;
  134. Return_Failure_DER:
  135.   errexit "接続不可(当該ホストは定期メンテナンス、あるいは障害中です)"
  136.           & WaitMsg;
  137. Return_Failure_RPE:
  138.   errexit "ホストの手順エラーによる切断(リモート手順誤り)"
  139.           & WaitMsg;
  140. Return_BUSY:
  141.   errexit "◆現在、サ-ビスは大変混雑しております... ◆";
  142.  
  143. Return_ID_NG_1:
  144.   errexit 
  145.   "◆あなたのIDは都合によりご利用頂けません。" &
  146.   "カスタマーサポートへご連絡ください◆" &
  147.   CR &
  148.   "  フリーダイヤル 0120-22-1200  (平日 9時~19時、土曜日 9時~17時45分)";
  149.  
  150. Return_MENTE:
  151.   errexit 
  152.   "只今の時間、定期保守をしております。";
  153.  
  154. Return_MENTE2:
  155.   errexit 
  156.   "◆保守作業のためしばらくの間ご利用いただけません◆";
  157.  
  158. Return_MHA:
  159.   errexit "◆只今の時間はご利用になれません◆";
  160.  
  161. Return_LOGIN:
  162.   errexit "◆二重ログインです◆";
  163.  
  164.