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

How can we stop executing ISPF command (START) in panel


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

New User


Joined: 08 Jul 2008
Posts: 2
Location: chennai

PostPosted: Fri Jul 18, 2008 5:04 pm
Reply with quote

In the panel I've created, if I type ISPF commands in the input fields it gets executed. For example, if the input is file name, instead of file name if I enter the ISPF command 'START' it gets executed and creates a new screen, is there any way to stop this?
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Fri Jul 18, 2008 5:27 pm
Reply with quote

Errrm, START is the command to START a new ISPF session.

Methinks your EXEC is doing exactly as it has been told to do, START a new session.
Back to top
View user's profile Send private message
bipinb84

New User


Joined: 08 Jul 2008
Posts: 2
Location: chennai

PostPosted: Fri Jul 18, 2008 5:39 pm
Reply with quote

In the panel we have the input field which expects file name as input as well as the command prompt .
1)If we enter the "START" command in the command prompt it should create a new screen.
2)If we give "START" in the input field it should give an error message to give valid file name,insted it creates a new screen.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Jul 18, 2008 6:01 pm
Reply with quote

can You post the panel definition ( use the code tags ) ?
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Fri Jul 18, 2008 6:45 pm
Reply with quote

bipinb84 wrote:
In the panel we have the input field which expects file name as input as well as the command prompt .
1)If we enter the "START" command in the command prompt it should create a new screen.
2)If we give "START" in the input field it should give an error message to give valid file name,insted it creates a new screen.

Problem much clearer now after clarification.
As requested by Enrico, please post your panel defs.
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Fri Jul 18, 2008 6:58 pm
Reply with quote

In case this is the reason, it's probably not a good idea to use the ZCMD Command Line as anything else other than the command line.

Unless, of course, you code CMD() on the )BODY statement.
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Fri Jul 18, 2008 7:07 pm
Reply with quote

The first input area on the panel will be used as ZCMD area. Put a ZCMD line at the top of your panel as a place for commands, then your file name area will not be checked for commands.
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 RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts Looking for a little history of ISPF ... TSO/ISPF 5
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
Search our Forums:

Back to Top