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 CICS EZASOKET CONNECT using DNS name ankit.jain CICS 1 Tue Jan 16, 2018 7:24 pm
No new posts How to change the logon screen info o... sakthikumarT TSO/ISPF 4 Fri Dec 29, 2017 6:44 pm
No new posts CICS web service from DB2 Triggers or... kiranprasad DB2 1 Wed Dec 20, 2017 11:10 am
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

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