Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to hilight a string in panel

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: How to hilight a string in panel
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

Senior Member


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

PostPosted: Wed Dec 03, 2008 10:28 pm    Post subject: Reply to: How to hilite string in panel
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    Post subject: Reply to: How to hilite string in panel
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: 2360
Location: Israel

PostPosted: Thu Dec 04, 2008 1:32 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Thu Dec 04, 2008 1:54 pm    Post subject: Reply to: How to hilite string in panel
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

Senior Member


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

PostPosted: Fri Dec 05, 2008 2:09 am    Post subject: Reply to: How to hilight a string in panel
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts Is the 'prompt' data for the DSLIST p... Willy Jensen TSO/ISPF 2 Tue Dec 06, 2016 4:38 am
This topic is locked: you cannot edit posts or make replies. Checking wether a string starts from ... sundaram.naveen CLIST & REXX 9 Thu Oct 06, 2016 11:56 am
No new posts Random Password (in string format) ge... ezhavendhan COBOL Programming 10 Mon Aug 29, 2016 3:18 pm
No new posts How to insert a lengthy string havin... vidyaa DB2 7 Thu Aug 25, 2016 5:20 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us