COBOL クライアントの生成と作成

制約事項: This topic applies only when the Enterprise Server feature is enabled.
制約事項: This topic applies to Windows environments (local development) only.

クライアントの作成

ESDEMOenterprise server region にディプロイした ProgramREST サービスにアクセスするための COBOL クライアントを生成します。

  1. COBOL Explorer で、ProgramREST Web サービスを右クリックし、コンテキスト メニューから [Generate Client] を選択します。
  2. [Generate Client] ダイアログ ボックスで [Current Project] をクリックし、[OK] をクリックします。

コンソールで生成プロセスを確認できます。完了すると、"Link complete with no errors" というメッセージが表示され、Eclipse がプロジェクトの再ビルドを開始します。プロジェクトに次のファイルが追加されていることを確認してください。

  • [COBOL Programs] > [client] > [ProgramREST-app.cbl]
  • [COBOL Programs] > [client] > [ProgramREST-proxy.cbl]
  • [Copybooks] > [client] > [ProgramREST-copy.cpy]