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 exit the panel?

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

PostPosted: Tue Dec 29, 2009 12:50 pm    Post subject:
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

Moderator Team Head


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

PostPosted: Tue Dec 29, 2009 3:50 pm    Post subject: Reply to: How to exit the panel?
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: 2435
Location: Netherlands, Amstelveen

PostPosted: Tue Dec 29, 2009 4:23 pm    Post subject: Re: Reply to: How to exit the panel?
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

Senior Member


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

PostPosted: Tue Dec 29, 2009 10:31 pm    Post subject: Reply to: How to exit the panel?
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    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
No new posts EXIT or RETURN cvnlynn CLIST & REXX 4 Wed Jul 19, 2017 2:50 am
No new posts Trace in CLIST PANEL cvnlynn CLIST & REXX 1 Thu Jun 22, 2017 11:06 pm
No new posts SCLM -- not installed -- panel ISRNOSLM dmitchell1105 IBM Tools 3 Fri Jun 09, 2017 10:41 pm
No new posts ISPF - How to come out of ISPF Panel parasmalik20 TSO/ISPF 5 Tue Feb 21, 2017 7:44 pm
No new posts the use of 'B3'x character in a panel Pedro TSO/ISPF 1 Thu Feb 16, 2017 3:09 am


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