すべての LE 記述子は 4 バイト・フィールドで始まります。 最初のバイトは、記述子のタイプ (スカラー、配列、構造体、または共用体) を指定します。 残りの 3 バイトは、特定の記述子タイプで設定されていない限り、ゼロになります。
記述子ヘッダーの宣言は次のとおりです。
declare
1 dsc_Header based( sysnull() ),
2 dsc_Type fixed bin(8) unsigned,
2 dsc_Datatype fixed bin(8) unsigned,
2 * fixed bin(8) unsigned,
2 * fixed bin(8) unsigned;
dsc_Type フィールドに指定できる値は次のとおりです。
declare dsc_Type_Unset fixed bin(8) value(0), dsc_Type_Element fixed bin(8) value(2), dsc_Type_Array fixed bin(8) value(3), dsc_Type_Structure fixed bin(8) value(4), dsc_Type_Union fixed bin(8) value(4);