Hi Lindy,
I believe that Pat is correct in that SWAP PREV and NEXT operate based upon the
consecutive screen numbers assigned (i.e. rather than the order in which you
have accessed the screens).
You may find it useful to utilize screen names. I assign two-character names to
my screens using the SCRNAME primary command. Examples:
SCRNAME ej (eJES screen)
SCRNAME tm (tape management)
SCRNAME ra (RACF)
You can see the screen names assigned explicitly or by default with SWAP LIST
I assign F9 a value of SWAP NEXT and F21 a value of SWAP.
Thus, I can type EJ or TM or RA (or any other screen name) in a command/option
field, press F21, and jump directly to the screen I want.
I do something similar for collections of datasets that I often access via ISPF
3.4. This is done by defining a set of DSN masks in a named entity called a
REFLIST. For example, I have defined REFLIST PP with masks that cause DSLIST to
display all PARMLIBs and PROCLIBs. I assigned F6 the value of REFLISTD in many
of my KEYLISTs (F6 is not assigned in most menus). I can then type PP in any
command/option field and press F6, which invokes DSLIST using REFLIST PP. Off
topic, I know, but nonetheless useful at times.
Regards,
Alan
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of
Patrick Lyon
Sent: Monday, May 23, 2011 11:40 AM
To: [email protected]
Subject: Re: PF9 Swap question
On Mon, 23 May 2011 18:22:13 +0200, Lindy Mayfield <[email protected]>
wrote:
>I have been using multiple ISPF screens for many years now, 12 or so.
>I
have memorized what each one is. Like 1 is edit, 2 is SDSF, 3 is ISHELL, 4 is
3.4 and so on.
>
>Problem is that I still cannot figure out how to make PF9 swap between
>two
screens that I want. Let's say I am in ISHELL on number 3 and I want to swap
to number 6 for example. I put 6 in the command and hit PF9 and it goes there.
Then I hit PF9 and it goes to #2 for example. I want it to go from 6 to 3.
How do I do that?
>
>I know it can be done, because I do it accidentally quite often, but
>even
after all these years I haven't figured out the pattern.
>
>thank you very much
>Lindy
Lindy, I have been playing here with my sessions and I do not think you can do
as you'd like unfortunately.
I too use multiple sessions, sometimes I run out of them (the limit being 8)!
With my ID I have changed all my PF2 settings to the START command and
PF9 to SWAP NEXT.
As John pointed out, I do have the SWAPBAR command invoked, and you can see the
panel names at the bottom of your screen. If I'm on screen #2 for instance, I
can type SWAP 5 and it will go to screen 5 (as noted on the display with an
asterisk next to the screen you are on).
I then can go to all the others using the SWAP n command, but a SWAP PREV only
takes me back one in the list as noted on the SWAPBAR display.
So I don't think the SWAP command is intuitive enough to know what screen you
really were previously on. Sorry!
The SWAPBAR is a neat feature, although I find it cumbersome to tab down to the
right screen and hit enter to get to it. It is just faster to hit my PF9 SWAP
NEXT command. Same with SWAP LIST. My opinion only, of course.
HTH,
Pat L.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to
[email protected] with the message: GET IBM-MAIN INFO Search the archives at
http://bama.ua.edu/archives/ibm-main.html
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html