1つ以上のCOBOL属性値(属性表索引)のそれぞれに関連する文字属性および前景・背景カラーマップを定義する。
call "CBL_SCR_SET_ATTRIBUTES" using table-count attribute-index attribute-value returning status-code
| 呼び出しプロトタイプ使用時 ( 説明の読み方) | PIC (32bitシステム) | ||||
|---|---|---|---|---|---|
| table-count | cblt-x2-compx | pic x(2) comp-x. | |||
| attribute-index | cblt-x1-compx occurs n times. | pic x comp-x occurs n times. | |||
| attribute-value | Group predefined as cblt-generic-attr-value containing: | Group item, occurs n times, containing: | |||
| cblte-gav-foregrnd-index | cblt-x4-compx | pic x(4) comp-x. | |||
| cblte-gav-backgrnd-index | cblt-x4-compx | pic x(4) comp-x. | |||
| cblte-gav-character-attr | cblt-x1-compx | pic x comp-x. | |||
| cblte-gav-filler | cblt-x1 occurs 3 | pic x(3) | |||
| status-code | 説明の読み方 参照 | ||||
  | table-count | 設定する属性の数 | 
| attribute-index | 属性表における索引の表 | 
| attribute-value | 索引表に関連する属性記述の表 | 
  | table-count | 設定に成功した属性の数。通常は要求された数が入るが、呼出しが完全に成功しなかった場合はそれより小さい値が入る。 | 
| cblte-gav-filler | 使用されていない。 |