Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Partial color change of a field in CICS Screen.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
waseem0424

New User


Joined: 28 Sep 2017
Posts: 3
Location: India

PostPosted: Fri Sep 29, 2017 7:56 pm    Post subject: Partial color change of a field in CICS Screen.
Reply with quote

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.

Back to top
View user's profile Send private message

prino

Senior Member


Joined: 07 Feb 2009
Posts: 1072
Location: Oostende, Belgium

PostPosted: Fri Sep 29, 2017 10:29 pm    Post subject:
Reply with quote

Ah, another "requirement".

Who came up with it, some PHB, or you yourself ("which I want to highlight"), to fancify your output?

It's possible, but you'll have to overlay BMS maps on BMS maps.
Back to top
View user's profile Send private message
waseem0424

New User


Joined: 28 Sep 2017
Posts: 3
Location: India

PostPosted: Sat Sep 30, 2017 3:07 pm    Post subject: Reply to: Partial color change of a field in CICS Screen.
Reply with quote

It is actually a requirement from business. I'm not able to display it through BMS MAp overlay as well because positions are not fixed they vary for different data .


My screen contains 17 Lines, Each of 79 character length. I have declared each line as a single variable and displaying the lines dynamically from cobol program as per the length of data. In this data there will b three labels which may come anywhere and I have to highlight them.
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1072
Location: Oostende, Belgium

PostPosted: Sat Sep 30, 2017 3:20 pm    Post subject:
Reply with quote

Your requirement is, and I'm pretty sure about that, impossible to fulfil without using multiple BMS maps. Unlike ISPF, CICS doesn't know the concept of shadow variables!
Back to top
View user's profile Send private message
waseem0424

New User


Joined: 28 Sep 2017
Posts: 3
Location: India

PostPosted: Sat Sep 30, 2017 3:40 pm    Post subject:
Reply with quote

Thank you Prino,

Is it possible to generate BMS Maps in Cobol program dynamically? If yes then how?
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1072
Location: Oostende, Belgium

PostPosted: Sat Sep 30, 2017 4:03 pm    Post subject:
Reply with quote

waseem0424 wrote:
Is it possible to generate BMS Maps in Cobol program dynamically? If yes then how?

BMS Maps are load modules, and you (general "you", not you you!) can generate them dynamically with a COBOL program (if COBOL supports RECFM=U), but you wouldn't be able to install them in CICS anyway.

Far more importantly, adding load modules dynamically to a production library would open a hole the size of a galaxy in the system integrity!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Change NULL indicator in UNLOAD utility Khadhar Basha DB2 2 Fri Dec 15, 2017 3:01 pm
No new posts Is CICS BMS logic on z/OS different ... Andi1982 CICS 2 Fri Dec 01, 2017 1:56 pm
No new posts Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm
No new posts How to get complete URL from CICS Con... mbattu CICS 1 Tue Nov 14, 2017 11:59 pm
No new posts Integrating CICS applications craig2020 CICS 1 Sun Oct 29, 2017 6:49 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us