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 skip a value in panel

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: How to skip a value in panel
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: 8593
Location: Back in jolly old England

PostPosted: Fri Jun 18, 2010 11:37 am    Post subject:
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

Senior Member


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

PostPosted: Fri Jun 18, 2010 7:17 pm    Post subject: Reply to: How to skip a value in panel
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    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
No new posts Rexx Panel Validation ajithajt CLIST & REXX 6 Sun Jul 17, 2016 10:50 pm
No new posts why i need hit enter after EXECIO * D... jackzhang75 CLIST & REXX 10 Fri May 20, 2016 9:16 pm
This topic is locked: you cannot edit posts or make replies. Providing inputs to a panel of anothe... Raghur CLIST & REXX 2 Tue Apr 05, 2016 12:01 pm


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