Author: waseem0424
Subject: Partial color change of a field in CICS Screen.
Posted: Fri Sep 29, 2017 7:56 pm (GMT 5.5)
Hi!
I have a requirement to change some of the text in a variable in CICS. When I'm trying to pass color to Field attribute the whole field will change but I want only some of the text from that field to be highlighted with different color.
Ex: I have a variable of length 79 declared on a map. Data is gonna come from another system and Its length will be anything from 1 to 79. there is a text called Label in data which I want to highlight. other text in the same variable should remain Green. If Variable is declared as 79. I want to highlight 6 characters in that variable it may exist any where in that variable.
Input 1 : xxxxxxxxxxxxxLABELxXXXXXXX
Input 2 :XXXXXXXXXXXXXxasdaxxxxxxxxxxxxxxLABELXXXX
Is there any way to acheive this.. And I want to utilize the whole line without any space.
_________________
Thanks & Regards,
Syed Waseem
Subject: Partial color change of a field in CICS Screen.
Posted: Fri Sep 29, 2017 7:56 pm (GMT 5.5)
Hi!
I have a requirement to change some of the text in a variable in CICS. When I'm trying to pass color to Field attribute the whole field will change but I want only some of the text from that field to be highlighted with different color.
Ex: I have a variable of length 79 declared on a map. Data is gonna come from another system and Its length will be anything from 1 to 79. there is a text called Label in data which I want to highlight. other text in the same variable should remain Green. If Variable is declared as 79. I want to highlight 6 characters in that variable it may exist any where in that variable.
Input 1 : xxxxxxxxxxxxxLABELxXXXXXXX
Input 2 :XXXXXXXXXXXXXxasdaxxxxxxxxxxxxxxLABELXXXX
Is there any way to acheive this.. And I want to utilize the whole line without any space.
_________________
Thanks & Regards,
Syed Waseem