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
 
How to change the BMS Field COLOR in CICS

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

New User


Joined: 31 Mar 2005
Posts: 1

PostPosted: Tue Jul 31, 2007 8:21 pm    Post subject: Re: How to change the BMS Field COLOR in CICS
Reply with quote

I was trying to change the color of a field in my map. I had used the options DSATTS=COLOR,MAPATTS=COLOR in my map definition and in the program I moved the value DFHYELLO to the C field on the map. However it doesnt seem to work.
Am I missing something else???
Back to top
View user's profile Send private message

Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Tue Jul 31, 2007 8:38 pm    Post subject: Re: How to change the BMS Field COLOR in CICS
Reply with quote

usbendre wrote:
I was trying to change the color of a field in my map. I had used the options DSATTS=COLOR,MAPATTS=COLOR in my map definition and in the program I moved the value DFHYELLO to the C field on the map. However it doesnt seem to work.
Am I missing something else???

Does the terminal or emulator you are using support the color attributes?
Back to top
View user's profile Send private message
socker_dad

Active User


Joined: 05 Dec 2006
Posts: 147
Location: Columbia, MO

PostPosted: Tue Jul 31, 2007 10:35 pm    Post subject: Re: How to change the BMS Field COLOR in CICS
Reply with quote

On my map, I had to specify MAPATTS=(COLOR,HILIGHT) on the initial DFHMSD statement:

Code:

SEM01M  DFHMSD TYPE=&SYSPARM,           
               MODE=INOUT,               
               MAPATTS=(COLOR,HILIGHT), 
               LANG=COBOL,               
               CTRL=(FREEKB,FRSET),     
               TIOAPFX=YES,             
               TERM=3270-2               


Then on the DFHMDI I specified the extended attributes.

Code:

EMSMAP1 DFHMDI SIZE=(24,80),   
               LINE=1,         
               COLUMN=1,       
               EXTATT=YES       


This allowed me to be able to move colors to the 'C' field and have it actually work:

Code:

MOVE COLOR-NEUTRAL          TO MORPOSC
                               MORPLSC


Good luck!
Back to top
View user's profile Send private message
Mickeydusaor

Active User


Joined: 24 May 2006
Posts: 258
Location: Salem, Oregon

PostPosted: Wed Aug 01, 2007 12:15 am    Post subject:
Reply with quote

The extended attribute has nothing to do with COLOR, the 4 extended attributes get moved to the mapfield-H field.

Code:

EXAT-REVERSE-VIDEO         PIC X(01) VALUE '2'.
EXAT-UNDERLINE             PIC X(01) VALUE '4'.
EXAT-UNDERLN-REVERSE       PIC X(01) VALUE '6'.
EXAT-DEFAULT               PIC X(01) VALUE HIGH-VALUES.
Back to top
View user's profile Send private message
socker_dad

Active User


Joined: 05 Dec 2006
Posts: 147
Location: Columbia, MO

PostPosted: Wed Aug 01, 2007 3:25 am    Post subject: Re: How to change the BMS Field COLOR in CICS
Reply with quote

Oh well. You know - use the shot gun approach. icon_lol.gif
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 Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 pm
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm

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