初期化または終了コードの追加

  1. バックアップ コピーを作成、または次のファイルを編集します。

    projdir\servintprojname\UserRules\usermain.igl

    projdir は、Enterprise Developer プロジェクト ディレクトリで、servintprojname はサービス インターフェイスが含まれるプロジェクトの名前です。

  2. usermain.igl ファイルで次のコードを検索します。
    % if 0
        % defini $ebiz-user-initialisation-exit
            ebiz-user-initialisation-exit section.
                % * Code your ebiz initialisation exit logic here
                % * Change the preceeding '% if 0' to '% if 1'
                exit
                .
        % end
    % end
    
    % if 0
        % defini $ebiz-user-termination-exit
            ebiz-user-termination-exit section.
                % * Code your ebiz termination exit logic here
                % * Change the preceeding '% if 0' to '% if 1'
                exit
                .
        % end
    % end
  3. 初期化または終了コードを含めるには、対象段落の % if 0% if 1 に変更します。この変更により、生成サービス ドライバー プログラムの追加対象段落にフラグが設定されます。
  4. 適切なコメント行を COBOL コードと置換し、初期化または終了ロジックをコーディングします。
  5. 変更を保存し、エディターを閉じます。