IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

ISPF PANEL DYNAMIC COLORS?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
AsmAlex

New User


Joined: 08 Mar 2006
Posts: 2
Location: Switzerland

PostPosted: Thu Apr 13, 2006 2:28 pm
Reply with quote

Is it possible to have a panel with a title that has different colors without a space in between for the attribute?

Like "HelloWorld" where "Hello" would be green and "World" would be turq without a space between Hello and World
Back to top
View user's profile Send private message
jaiananth

New User


Joined: 26 Apr 2006
Posts: 6

PostPosted: Tue May 02, 2006 12:39 pm
Reply with quote

hi AsmAlex,
Ur query looks simple ,but i tried a variety of things but can't find a solution. If anyone finds a way PLZ do inform...
Back to top
View user's profile Send private message
Helmut

New User


Joined: 03 May 2006
Posts: 1

PostPosted: Wed May 03, 2006 7:15 pm
Reply with quote

Use:

-----------------------------Snipp ----------------------------------
)PANEL
)ATTR FORMAT(EBCDIC)
+ TYPE(TEXT) /* Normal Text
$ TYPE(INPUT)
| AREA(DYNAMIC)
/*-----------------------------------------------------------------*/
W TYPE(CHAR) COLOR(WHITE)
R TYPE(CHAR) COLOR(RED)
B TYPE(CHAR) COLOR(BLUE)
G TYPE(CHAR) COLOR(GREEN)
P TYPE(CHAR) COLOR(PINK)
Y TYPE(CHAR) COLOR(YELLOW)
T TYPE(CHAR) COLOR(TURQ)
w TYPE(CHAR) COLOR(WHITE) HILITE(REVERSE)
r TYPE(CHAR) COLOR(RED) HILITE(REVERSE)
b TYPE(CHAR) COLOR(BLUE) HILITE(REVERSE)
g TYPE(CHAR) COLOR(GREEN) HILITE(REVERSE)
p TYPE(CHAR) COLOR(PINK) HILITE(REVERSE)
y TYPE(CHAR) COLOR(YELLOW) HILITE(REVERSE)
t TYPE(CHAR) COLOR(TURQ) HILITE(REVERSE)
)BODY CMD(ZCMD)
+Option ===>$ZCMD
+ |TESTTT2,CLRTT2 |
)INIT
&TESTTT2=' Hallo - We Try To Use Different Colors in one line'
&CLRTT2 =' TYPWR TR YTT PG WBB YBRWGTPRR wrbgpy tP TGR YWWW'
)END
----------Snipped----------------------------------------------------------------

the variable CLRTT2 contains the color (see )ATTR section .
the dynamic area need 2 variables , the text and teh colors.
Back to top
View user's profile Send private message
simha_it

New User


Joined: 05 May 2005
Posts: 30

PostPosted: Thu May 04, 2006 7:44 pm
Reply with quote

where we suppose to code these statements? is it in CLIST? please let me know.


Helmut wrote:
Use:

-----------------------------Snipp ----------------------------------
)PANEL
)ATTR FORMAT(EBCDIC)
+ TYPE(TEXT) /* Normal Text
$ TYPE(INPUT)
| AREA(DYNAMIC)
/*-----------------------------------------------------------------*/
W TYPE(CHAR) COLOR(WHITE)
R TYPE(CHAR) COLOR(RED)
B TYPE(CHAR) COLOR(BLUE)
G TYPE(CHAR) COLOR(GREEN)
P TYPE(CHAR) COLOR(PINK)
Y TYPE(CHAR) COLOR(YELLOW)
T TYPE(CHAR) COLOR(TURQ)
w TYPE(CHAR) COLOR(WHITE) HILITE(REVERSE)
r TYPE(CHAR) COLOR(RED) HILITE(REVERSE)
b TYPE(CHAR) COLOR(BLUE) HILITE(REVERSE)
g TYPE(CHAR) COLOR(GREEN) HILITE(REVERSE)
p TYPE(CHAR) COLOR(PINK) HILITE(REVERSE)
y TYPE(CHAR) COLOR(YELLOW) HILITE(REVERSE)
t TYPE(CHAR) COLOR(TURQ) HILITE(REVERSE)
)BODY CMD(ZCMD)
+Option ===>$ZCMD
+ |TESTTT2,CLRTT2 |
)INIT
&TESTTT2=' Hallo - We Try To Use Different Colors in one line'
&CLRTT2 =' TYPWR TR YTT PG WBB YBRWGTPRR wrbgpy tP TGR YWWW'
)END
----------Snipped----------------------------------------------------------------

the variable CLRTT2 contains the color (see )ATTR section .
the dynamic area need 2 variables , the text and teh colors.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Thu May 04, 2006 8:16 pm
Reply with quote

These are ISPF Panel Definition statements. They would be applied to a single panel definition that relates to a member of the ISPPLIB library.
Back to top
View user's profile Send private message
simha_it

New User


Joined: 05 May 2005
Posts: 30

PostPosted: Wed May 17, 2006 10:36 am
Reply with quote

i didn't get you. how to code these statements? do we need to create any member in syslib (ISPPLIB) or just code each statemtment in ISPF command line? please clarify me....
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts Looking for a little history of ISPF ... TSO/ISPF 5
No new posts Adding QMF and SPUFI to the ISPF menu DB2 20
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
Search our Forums:

Back to Top