View previous topic :: View next topic
|
Author |
Message |
amitc23
New User
Joined: 05 Nov 2014 Posts: 96 Location: India
|
|
|
|
Hi
I am trying to write a REXX program to use as a replacement of PF2(Split Screen) function.
The reasons I am trying this is that I used this in my last shop and am very used to it because for F2 you need to position the cursor at the top to get full view of the new screen. However when you execute something like 'START' from command line, it will split the screens evenly.
Can somebody tell me how to use PF2 (and other PF keys) using REXX ?
Thanks |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Why not use START. Hardly a great effort to use 5 keystrokes and pressing enter.
START also allows you to go directly to the option you want to
e.g. START 3.4
Always advisable NOT to fiddle with the default PF key settings |
|
Back to top |
|
|
amitc23
New User
Joined: 05 Nov 2014 Posts: 96 Location: India
|
|
|
|
I tried this but when I use start 3.4 it shows 'INVALID OPTION'. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Hmmmmmmmmmmmmmm, always worked for me in the past.
Unfortunately I don't have TSO access at this contract so can not test it again. |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2454 Location: Hampshire, UK
|
|
|
|
Works for me both when doing
and
Quote: |
3.4 followed by F2 (which is assigned START) |
|
|
Back to top |
|
|
amitc23
New User
Joined: 05 Nov 2014 Posts: 96 Location: India
|
|
|
|
I searched for START in my installed REXX libraries, but could not find one. So I thought of writing a REXX routine like START on my own. |
|
Back to top |
|
|
David Robinson
Active User
Joined: 21 Dec 2011 Posts: 199 Location: UK
|
|
|
|
It wont be in a Rexx library, it's a system command. Check to see if it's in your ISPF command table, usually ISPCMDS. But this is the IBM supplied one, I don't see why it shouldn't be. Perhaps something at your site has changed the default? |
|
Back to top |
|
|
don.leahy
Active Member
Joined: 06 Jul 2010 Posts: 767 Location: Whitby, ON, Canada
|
|
|
|
In our shop we have to use START 1.3.4 because of the way that our local ISPF panels are organized. You may have something similar in your shop. |
|
Back to top |
|
|
amitc23
New User
Joined: 05 Nov 2014 Posts: 96 Location: India
|
|
|
|
I just checked and found that I can use START on my system only when I open a dataset/member in view or Edit Mode, but not from any other screen e.g. Main Menu or 3.4 or anywhere else. |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1316 Location: Vilnius, Lithuania
|
|
|
|
amitc23 wrote: |
I just checked and found that I can use START on my system only when I open a dataset/member in view or Edit Mode, but not from any other screen e.g. Main Menu or 3.4 or anywhere else. |
In other words, someone has badly screwed up by substituting a cobbled together piece of junk for an IBM supplied command. |
|
Back to top |
|
|
|