IBM MAINFRAME HELP & SUPPORT FORUMS
Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
 

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

THIS IS AN ARCHIVE FORUM: CLICK HERE TO GO TO THE ORIGINAL TOPIC

 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> TSO/ISPF
View previous topic :: View next topic  
Author Message
bipinb84



Joined: 08 Jul 2008
Posts: 2
Location: chennai

Posted: Fri Jul 18, 2008 5:04 pm    Post subject: How can we stop executing ISPF command (START) in panel  

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  
expat



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

Posted: Fri Jul 18, 2008 5:27 pm    Post subject:  

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  
bipinb84



Joined: 08 Jul 2008
Posts: 2
Location: chennai

Posted: Fri Jul 18, 2008 5:39 pm    Post subject: Reply to: How can we stop executing ISPF command (START) in  

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  
enrico-sorichetti



Joined: 14 Mar 2007
Posts: 3082
Location: italy

Posted: Fri Jul 18, 2008 6:01 pm    Post subject: Reply to: How can we stop executing ISPF command (START) in  

can You post the panel definition ( use the code tags ) ?
Back to top  
expat



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

Posted: Fri Jul 18, 2008 6:45 pm    Post subject: Re: Reply to: How can we stop executing ISPF command (START)  

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  
superk



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

Posted: Fri Jul 18, 2008 6:58 pm    Post subject: Reply to: How can we stop executing ISPF command (START) in  

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  
Bill Dennis



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

Posted: Fri Jul 18, 2008 7:07 pm    Post subject:  

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  
 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> TSO/ISPF
Page 1 of 1
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM