If we select
DSPATR(HI)
,our label gets highlighted and if we selectCOLOR(WHT)
,label again highlights. In both case Label looks highlighted i.e.WHITE
. Then what is the difference between both properties?
There is no difference. DSPATR(HI) was implemented before colour displays came out. When IBM started selling colour displays, they re-used the attribute bytes. This way, you could design a display panel and it would work on colour and monochrome displays without changes. The DSM manual has details of the 5250 data stream if you're interested.