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

How to hilight a string in panel


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
bhuspin

New User


Joined: 13 Aug 2008
Posts: 26
Location: chennai

PostPosted: Wed Dec 03, 2008 5:30 pm
Reply with quote

hi

I designed a panel with 40 fields and i put data to respective fields from my input dataset, Now if i use a option to find a string in a panel,
And its working but how to hilite respective string in panel.....
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Wed Dec 03, 2008 10:28 pm
Reply with quote

See ISPF Developer's Guide and Reference for examples of the .ATTR control variable.
Back to top
View user's profile Send private message
bhuspin

New User


Joined: 13 Aug 2008
Posts: 26
Location: chennai

PostPosted: Thu Dec 04, 2008 12:36 pm
Reply with quote

pedro

i want to know for a dynamically changing string.

in detail problem is

i type a field name in find string and it shows respective panel and in that panel four string with same name will be there,for the four i have to hilite and same time next time i will type a different field name in find string and i have to check it.....

help me in this issue
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Dec 04, 2008 1:32 pm
Reply with quote

Pedro already helped you. the .ATTR control variable is your answer.

O.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Dec 04, 2008 1:54 pm
Reply with quote

You will have in the attr section of the panel
define 40 different ATTR types with the relative ATTRCHAR
and change it according to the found flag...

or if it is an output panel only it would be faster to use a dynamic area
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Fri Dec 05, 2008 2:09 am
Reply with quote

1. In your program, set a variable to indicate that a particular field should be a different color.

2. in the )INIT section of the panel, use an IF statement to control whether the changing of the attribute of a particular field is needed. Change the attribute using the .ATTR control variable. Please see the manual.
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts file manager is doing string conversion IBM Tools 3
Search our Forums:

Back to Top