Page 1 of 1

Open a new window in ISPF with a key stoke.

Posted: Mon Apr 25, 2016 2:28 pm
by Jyoti Chibber
Hi,

Is there any way I can assign a macro or a key to a macro, which will allow me to open a window from my current ISPF window?

Re: Open a new window in ISPF with a key stoke.

Posted: Mon Apr 25, 2016 4:40 pm
by Robert Sample
Since ISPF has screens and NOT windows,  the simple answer to your question is that it cannot be done.  Does not hitting the F2 (PF2) key not split your screen?
If you are talking about opening a new 3270 session with one key, that would depend on your emulator.  But you would be starting a new connection so you would have to login again.

Re: Open a new window in ISPF with a key stoke.

Posted: Tue Apr 26, 2016 1:54 pm
by Chandan Yadav
Hi,

Type KEYS on command line and assign START command to any of the PF key.
After pressing that Assigned PF key a new window will open

I hope this is what you looking for

Thanks and regards,
Chandan

Re: Open a new window in ISPF with a key stoke.

Posted: Wed Apr 27, 2016 11:22 am
by Jyoti Chibber
Robert Sample wrote:Since ISPF has screens and NOT windows,  the simple answer to your question is that it cannot be done.  Does not hitting the F2 (PF2) key not split your screen?
If you are talking about opening a new 3270 session with one key, that would depend on your emulator.  But you would be starting a new connection so you would have to login again.
I am talking about opening a new "session" in ISPF, what do you call it if window is not correct?
F2 splits the current session in two sections, that does not help.

Re: Open a new window in ISPF with a key stoke.

Posted: Wed Apr 27, 2016 12:59 pm
by enrico-sorichetti
I am talking about opening a new "session" in ISPF
ISPF does not have sessions AMEN
that does not help.
You will have to live with it

The term session applies loosely to Your 3270 emulator
You open a new 3270 emulator window and start a new TSO session
naturally with a different userid

You might get a better understanding of the zOS ways by meditating on
http://www.redbooks.ibm.com/abstracts/sg246366.html

Re: Open a new window in ISPF with a key stoke.

Posted: Wed Apr 27, 2016 4:43 pm
by Robert Sample
What you want to do is not possible as far as I know.  To get into ISPF you must first connect a 3270 emulator to TSO and then provide a TSO user id and password; while some of this may be done automatically by the 3270 emulator software I don't know of any emulator package that allows you to assign to a key.
This would be a major security hole if allowed and your auditors would NOT be happy since it would invalidate individual accountability.

Re: Open a new window in ISPF with a key stoke.

Posted: Wed Apr 27, 2016 11:14 pm
by Jyoti Chibber
I am not able to say thing properly, looks like. But this REXX is suggested to me by colleague seems to work

Code: Select all

/* REXX */                                                      
PARSE ARG OPTION                                                
message = MSG('OFF')                                            
TRACE OFF                                                        
   "ISPEXEC SELECT PANEL(ISR@PRIM) NEWAPPL(STK) opt("OPTION")"  
RETURN