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

Close the Panel


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

New User


Joined: 15 Apr 2009
Posts: 43
Location: Mumbai

PostPosted: Wed Dec 23, 2009 2:17 pm
Reply with quote

Hi,
I have a rexx panel, which looks like,

------------------------------------------------------------
command ===>

option => _v+ (a,x) (a - calculation; x - exit)

date => _date+

(i have defined verify statement for option, date like as,)

ver(&v,nb)
ver(&v,list,a,x)
ver(&date,nb)
-------------------------------------------------------------------


I have selected the option 'a' and it works fine. If I select option 'x' then the panel should be closed. But, the problem is, it verifies the next date field.

Whenever I select option 'x' then the panel should be closed. Can anybody provide the solution?
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Wed Dec 23, 2009 2:27 pm
Reply with quote

The panel will close by using the END key.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Wed Dec 23, 2009 2:36 pm
Reply with quote

manojkumar.sesuraj wrote:
Hi,
I have a rexx panel, which looks like

Ho hummmm, here we go again ......

You DO NOT have a rexx panel

You have an ISPF panel.

Please learn the correct terminology and use it. Your misconception of correct terms only helps confuse matters.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Wed Dec 23, 2009 9:22 pm
Reply with quote

I humbly disagree expat.

There are CICS/REXX panels and
NETVIEW REXX panels. These namings are
totally valid.

However, the TS showed a piece of ISPF panel definitions.
In that you are right to kick his derriere.
Back to top
View user's profile Send private message
Pedro

Global Moderator


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

PostPosted: Wed Dec 23, 2009 10:31 pm
Reply with quote

Quote:
The panel will close by using the END key.

Agree.

You can try this also (untested):
Code:
IF (&V EQ X)
  ver(&v,nb)
  ver(&v,list,a,x)
  ver(&date,nb)
   
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 Is there a way to close VSAM files us... CICS 8
No new posts panel creation question TSO/ISPF 12
No new posts Panel variable model line TSO/ISPF 3
Search our Forums:

Back to Top