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

How to skip a value in panel


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

New User


Joined: 01 Sep 2009
Posts: 15
Location: CHENNAI

PostPosted: Fri Jun 18, 2010 9:48 am
Reply with quote

I have designed a panel, and inputs to the panel are five fields, one among them is option,

if the user enters option as 1 , the user should give information only for 2 fields,

if the user enters option as 2, the user should give information for all the 4 fields,

but actually panels expect value for all the fields defined in it,
and its not proceeding after that, it displays the error message as

"Enter the required field
Can anyone suggest how to skip those checks.

Thanks,
Janani
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Jun 18, 2010 11:37 am
Reply with quote

Looks to me as though you have your validation set up incorrectly in the panel, although as you didn't bother to post the panel definition I'll take a gamble on that being a psychic day vision.

Read, reread, and read again the ISPF manuals which are easily accessed from the sticky at the top of the CLIST / REXX forum and concentrate on the panel definitions, like VER for example.

I usually do my validations in the REXX code that displays the panel, but that's just a matter of personal choice.
Back to top
View user's profile Send private message
Pedro

Global Moderator


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

PostPosted: Fri Jun 18, 2010 7:17 pm
Reply with quote

Also, study the IF statement.
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 Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts Call program, directly from panel CLIST & REXX 9
No new posts panel creation question TSO/ISPF 12
No new posts Panel variable model line TSO/ISPF 3
No new posts REXX table content on panel will be r... CLIST & REXX 6
Search our Forums:

Back to Top