CICS Transaction Server for z/OS Channel Connectivity サンプルの実行

CICS Transaction Server for z/OS Channel Connectivity サンプルを実行すると、メッセージ・フローを通じてサンプル XML メッセージが移動していきます。 サンプルを実行すると、以下のシナリオでどのようなことが生じるかを理解できます。

詳しくは、CICS Transaction Server for z/OS Channel Connectivity サンプルについてを参照してください。

CICS プログラム WMBCHAN1 を CICS 領域にセットアップしていない場合、CICSRequest ノードのチャネル・サポートについて確認することはできません。 CICS プログラムをコンパイルするには、CICS Transaction Server for z/OS Channel Connectivity サンプルのセットアップを参照してください。

トラブルシューティング

サンプルの実行時に問題を検出した場合は、以下のトラブルシューティングのヒントを参照してください。

メッセージ・コレクション・モードでのサンプルの実行

  1. 「ブローカー開発」ビューで、「CICS Channel Connectivity Message Flow」>「フロー・テスト」フォルダーの順に展開します。
  2. テスト・クライアントでファイルを開くには、CICSChannelTest.mbtest をダブルクリックします。
  3. 1 つ目の起動コマンド Invoke Message Flow (Create a Message Collection for multiple containers) を見つけます。
  4. 「メッセージ・フローの起動」を右クリックし、「再実行」をクリックします。
  5. 入出力メッセージを参照します。
    <Data>
      <NumericSum>15</NumericSum>
      <LongestString>A really long sentence that CICS can pick out and return in a container.</LongestString>
      <OtherInfo>
        <ChannelName>MYCHANNEL</ChannelName>
        <MirrorTran>CPMI</MirrorTran>
      </OtherInfo>
    </Data>	
    

単一メッセージ・モードでのサンプルの実行

  1. 2 つ目の起動コマンド Invoke Message Flow (Use a single message for a single container) を見つけます。
  2. 「メッセージ・フローの起動」を右クリックし、「再実行」をクリックします。
  3. 入出力メッセージを参照します。
    <Data>
      <NumericSum>0</NumericSum>
      <LongestString>
        <Text>
          In this test, we are sending a single XML message into the CICS node, 
          and the local environment overrides provide a container name 
          ("string") and a channel name ("SINGLEMSG").
          On output, a message collection is still produced from the response 
          channel.
        </Text>
      </LongestString>
      <OtherInfo>
        <ChannelName>SINGLEMSG</ChannelName>
        <MirrorTran>CPMI</MirrorTran>
      </OtherInfo>
    </Data>
    

テスト・クライアントの使用方法について詳しくは、WebSphere Message Broker 資料の、テスト・クライアントの「イベント」タブを参照してください。

サンプルのホームに戻る