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

Help in defining the input variables in Panels


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

Active User


Joined: 24 Jun 2006
Posts: 101

PostPosted: Sat Aug 25, 2007 8:22 am
Reply with quote

hi,

I want to design a panel in the below mentioned way.
It will take four inputs. username, place, feature1, feature2.
When the place is US, all the features can be accessile.
When the place is other than US, the feature1 should not be accessed.
That is the user should not be able to enter any value in the panel for that feature.
Whether this type of locking an input variable can be done in panels. If so, please let me know how to do that.

Thanks,
Bala
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Sat Aug 25, 2007 8:37 am
Reply with quote

Use a variable for the ATTR definition for the "feature1" field, such as:

)ATTR
* TYPE(TEXT) INTENS(HIGH) COLOR(WHITE) CAPS(OFF)
_ TYPE(&TYP) INTENS(LOW) SKIP(ON)
...
)BODY
...

Then TYP can be set to INPUT or OUTPUT depending on the value for "place".
Back to top
View user's profile Send private message
kbmkris

Active User


Joined: 24 Jun 2006
Posts: 101

PostPosted: Sat Aug 25, 2007 9:59 pm
Reply with quote

Thanks Kevin:-) I will try this and let you know the result.

Bala.
Back to top
View user's profile Send private message
kbmkris

Active User


Joined: 24 Jun 2006
Posts: 101

PostPosted: Fri Sep 07, 2007 12:19 pm
Reply with quote

Hi Kevin,

The method you suggested to lock the input field is working fine. Thanks for your suggestion:-)
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Substitution of JCL variables CLIST & REXX 10
No new posts Setting RC using NULLOFL/NOTMTOFL for... SYNCSORT 6
No new posts COBOL sorting, with input GDG base COBOL Programming 7
No new posts Repeat n times by substuting SEQNUM i... DFSORT/ICETOOL 2
No new posts Preserve changes to ISPF Panel Variables TSO/ISPF 5
Search our Forums:


Back to Top