CBL_SCR_SET_ATTRIBUTES

1 つ以上の COBOL 属性値 (属性表の索引) のそれぞれに関連付けられる、文字属性および前景カラーマップと背景カラーマップの索引を定義します。

制約事項: このルーチンはネイティブ COBOL でのみサポートされます。

構文:

call "CBL_SCR_SET_ATTRIBUTES" using      table-count
                                         attribute-index
                                         attribute-value
                               returning status-code

パラメーター

table-count
呼び出しプロトタイプ (「説明の読み方」を参照):cblt-x2-compx
PIC:pic x(2) comp-x
attribute-index
呼び出しプロトタイプ (「説明の読み方」を参照):cblt-x1-compx OCCURS n TIMES
PIC:pic x comp-x OCCURS n TIMES
attribute-value
cblt-generic-attr-value として定義されている集団 (以下を含む)
01 cblt-generic-attr-value           typedef.
  03 cblte-gav-foreground-color-attr cblt-x4-compx.         	*> pic x(4) comp-x.
  03 cblte-gav-background-color-attr cblt-x4-compx.         	*> pic x(4) comp-x.
  03 cblte-gav-character-attribute   cblt-x1-compx.         	*> pic x  comp-x.
  03 cblte-gav-filler                cblt-x1-compx occurs 3.	*> pic x(3).
status-code
説明の読み方」を参照。

入力パラメーター:

table-count 設定する属性の数。
attribute-index 属性表の索引の表。
attribute-value 索引の表に対応する属性記述の表。

出力パラメーター:

table-count 正常に設定された属性の数。通常は要求した数ですが、呼び出しが完全には成功しなかった場合はそれよりも少なくなります。
cblte-gav-filler 未使用。