Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
How can we stop executing ISPF command (START) in panel

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
Author Message
bipinb84

New User


Joined: 08 Jul 2008
Posts: 2
Location: chennai

PostPosted: Fri Jul 18, 2008 5:04 pm    Post subject: How can we stop executing ISPF command (START) in panel
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
References
Moved: Fri Jul 18, 2008 5:17 pm by superk From CLIST & REXX to TSO/ISPF
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 3742
Location: Brussels once more ...

PostPosted: Fri Jul 18, 2008 5:27 pm    Post subject:
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    Post subject: Reply to: How can we stop executing ISPF command (START) in
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

Global Moderator


Joined: 14 Mar 2007
Posts: 3279
Location: italy

PostPosted: Fri Jul 18, 2008 6:01 pm    Post subject: Reply to: How can we stop executing ISPF command (START) in
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: 3742
Location: Brussels once more ...

PostPosted: Fri Jul 18, 2008 6:45 pm    Post subject: Re: Reply to: How can we stop executing ISPF command (START)
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

Moderator Team Head


Joined: 26 Apr 2004
Posts: 3383
Location: Charlotte,NC USA

PostPosted: Fri Jul 18, 2008 6:58 pm    Post subject: Reply to: How can we stop executing ISPF command (START) in
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

Senior Member


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

PostPosted: Fri Jul 18, 2008 7:07 pm    Post subject:
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1