View previous topic :: View next topic
Author
Message
Prakash_mainframes New User Joined: 26 Feb 2005Posts: 5 Location: Pune
Hi,
I have created for screens in CICS and I want to move color to the error messages that i show in my screen., say RED ... How to perform this ? And also I would like to know the colors that are available in CICS.
Expecting your early reply.
Cheers,
Prakash.
Back to top
ovreddy Active User Joined: 06 Dec 2004Posts: 211 Location: Keane Inc., Minneapolis USA.
Hi Prakash,
You can set a color to a Field in Map using the following syntax...
FNAME DFHMDF POS=(1,5),LENGTH=10, X
ATTRB=(UNPROT,BRT,FSET), X
INITIAL='XXXXXXXXXX',PICIN='X(10)', X
PICOUT='X(10)',COLOR=RED
color Specifies the color to be used for this field. The valid colors are:
BLUE, GREEN, NEUTRAL, PINK, RED, TURQUOISE, YELLOW.
Bye,
Reddy
Back to top
rs_naveen New User Joined: 07 Mar 2005Posts: 3
Hi,
If you want to dynamically change the color of the map fields,you can give color to the field+C
Eg;if you want to make red to a map field 'MSG'.Make sure that your mapset definition contains dsatts option
You can say in the program,
Move DFHRED to MSGC
Regards,
Naveen
Back to top
rick New User Joined: 18 Jun 2004Posts: 59 Location: Chennai
Hi Reddy,
I have tried this , but it doesnt work
FNAME DFHMDF POS=(1,5),LENGTH=10, X
ATTRB=(UNPROT,BRT,FSET), X
INITIAL='XXXXXXXXXX',PICIN='X(10)', X
PICOUT='X(10)',COLOR=RED
It says me warning there is no COLOR keyword during compilation.
Thanks and Regards,
Back to top
mcmillan Site Admin Joined: 18 May 2003Posts: 1210 Location: India
Quote:
I have tried this , but it doesnt work
The COLOR operand is ignored unless the terminal supports color, as indicated by the RDO TYPETERM definition COLOR(YES) option.
Quote:
I would like to know the colors that are available in CICS
The valid colors are blue, red, pink, green, turquoise, yellow, and neutral.
It says me warning there is no COLOR keyword during compilation.
If you are using Dynamic Color Attributes ,then don't forget to include DSATTS=COLOR and MAPATTS=COLOR attributes to your DFHMSD.
Code:
DFHMSD TYPE=&SYSPARM,
MODE=INOUT,LANG=COBOL,STORAGE=AUTO,TIOAPFX=YES,
MAPATTS=(COLOR,HILIGHT),DSATTS=(COLOR,HILIGHT)
Quote:
I want to move color to the error messages that i show in my screen., say RED
Code:
If <error> Move DFHRED to FieldC
EXEC CICS SEND MAP
Back to top
Tony.Y New User Joined: 26 Nov 2006Posts: 3 Location: China
A ha, That's also what I need. Thanks
Back to top
Please enable JavaScript!