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

How to exit 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: Tue Dec 29, 2009 10:49 am
Reply with quote

Hi,
I have an ISPF panel which contains four fields. I used VER statement to verify those fields. I used the panel in rexx. When I hit enter key, it asks me to fill the fields. Again, I gave END on command line. It doesn't close the panel. My panel looks like,

CMD ===> _ZCMD

A = _A
B = _B
C = _C
D = _D

VER(&A,NB)
VER(&B,NB)
VER(&C,NB)
VER(&D,NB)
IF (.RESP = END)
&YANS = X

Anybody, help me how to exit the program without executing any commands in rexx.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Tue Dec 29, 2009 12:50 pm
Reply with quote

It may be that it is the REXX logic that redisplays the panel after a sucessful exit. Have you looked at that ?
Quote:
Anybody, help me how to exit the program without executing any commands in rexx.

I think that you need to explain very clearly what it is that you want, and why the restriction of any REXX code execution.
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Tue Dec 29, 2009 3:50 pm
Reply with quote

When you enter END on the command line, what return-code do you see from the DISPLAY servicee? Does your program code properly react to that return-code?
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


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

PostPosted: Tue Dec 29, 2009 4:23 pm
Reply with quote

superk wrote:
When you enter END on the command line, what return-code do you see from the DISPLAY servicee? Does your program code properly react to that return-code?


As far as i see it the TS doesnt want to execute any code after displaying
the panel. Thats ok with me, but dont ask why the hell the panel is not going away.
Back to top
View user's profile Send private message
Pedro

Global Moderator


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

PostPosted: Tue Dec 29, 2009 10:31 pm
Reply with quote

Try changing your panel so that the .RESP is checked before the VER statements. And only do the VER statements if the user did not END
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 Use of Perform Thru Exit COBOL Programming 6
No new posts user exit in IBM Infosphere Optim DB2 8
No new posts Call program, directly from panel CLIST & REXX 9
No new posts ACS exit routine JCL & VSAM 0
Search our Forums:

Back to Top