リクエストの発行: レコード モード - Call-Level Interface Version 2

Teradata® Call-Level Interfaceバージョン2リファレンス - ワークステーション接続システム

Product
Call-Level Interface Version 2
Release Number
17.10
Published
2021年6月
Language
日本語
Last Update
2021-09-23
dita:mapPath
ja-JP/ttt1608578409164.ditamap
dita:ditavalPath
ja-JP/ttt1608578409164.ditaval
dita:id
B035-2418
Product Category
Teradata Tools and Utilities
レコード モードのリクエストによって、次のパーセルが返される可能性があります。
  • EndRequest (フレーバー12)
  • EndStatement (フレーバー11)
  • EndWith (フレーバー35)
  • Error (フレーバー49)
  • Failure (フレーバー9)
  • Record (フレーバー10)
  • Success (フレーバー8)
  • With (フレーバー33)

次の例は、リクエストが正常に終了した場合を想定しています。 パーセル本体の内容の説明については、Initiate-requestの拡張部分を参照してください。

Update Table1 Set Field1=999999;
パーセル フレーバー 本体
Success 8 (1, 23, 0, 0, 3, 0)
EndStatement 11 (1)
EndRequest 12  
Select Field1 From Table1;
パーセル フレーバー 本体
Success 8 (1, 23, 0, 1, 1, 0)
  • Record (1)
  • .
  • .
  • .
  • Record (23)
  • 10
  • .
  • .
  • .
  • 10
  • (データ)
  • .
  • .
  • .
  • (データ)
EndStatement 11 (1)
EndRequest 12  
Select Field1 from Table1 With Sum (Field1);
パーセル フレーバー 本体
Success 8 (1, 24, 0, 1, 1, 0)
  • Record (1)
  • .
  • .
  • .
  • Record (23)
  • 10
  • .
  • .
  • .
  • 10
  • (データ)
  • .
  • .
  • .
  • (データ)
With 33 (1)
Record 10 (データ)
EndWith 35 (1)
EndStatement 11 (1)
EndRequest 12  
Select Field1 From Table1; Select Field2 From Table2;
パーセル フレーバー 本体
Success 8 (1, 23, 0, 1, 1, 0)
  • Record (1)
  • .
  • .
  • .
  • Record (23)
  • 10
  • .
  • .
  • .
  • 10
  • (データ)
  • .
  • .
  • .
  • (データ)
EndStatement 11 (1)
Success 8 (2, 10, 0, 1, 1, 0)
  • Record (1)
  • .
  • .
  • .
  • Record (10)
  • 10
  • .
  • .
  • .
  • 10
  • (データ)
  • .
  • .
  • .
  • (データ)
EndStatement 11 (2)
EndRequest 12  
Echo ‘Select Field1 From Table1’;
パーセル フレーバー 本体
Success 8 (1, 0, 0, 1, 33, 0)
Record 10 (エコーされた文字列)
EndStatement 11 (1)
EndRequest 12