Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Conditionally have a subfile display record blink

chuckw0325

Programmer
Dec 2, 2024
12
I am new to using display screen and subfiles. Is there a way to have a record in a list blink if the value of a field is negative while all other records would not blink? I know you can use DSPATR(BL) on a field but my understanding is that field would always blink in that case. I want the entire record, or just the one field, to only blink if a value is negative. Suggestions?
 
IMO, you should define blinking indicator and set it on in your program if the field value is negative
 
I found similar question here

Post your question about display files rather in RPG forum:
Here in DB2 forum it's off topic and there is little chance that someone will help you here.

Similarly post all your IBM iSeries specific questions in the RPG forum and COBOL-only specific questions in the COBOL forum:
 
IMO, you should define blinking indicator and set it on in your program if the field value is negative
And how do I do that in the program? Again, I'm new to using IBM AS400 COBOL and I haven't found any examples of how to do this.
 

Part and Inventory Search

Sponsor

Back
Top