Lindy Mayfield wrote:
I have my PF2 key set to SPLIT NEW (and PF14 regular SPLIT). And even though there _may_ be a way to automate this, when I logon I immediately start up 8 screens.

I have a rexx exec that sets up five screens, including the
initial screen, each with an initial application, and naming
the screens ("CODE", "JCL", "SDSF", and so on). I use "start"
in this process instead of "split new".

In fact, I may have gotten the initial version from this
list back year ago.


Here's my current version:


/* rexx                                                   Ver4     */

 address ispexec

 'vget zdel'

 'select pgm(ispstrt) ' ,
 'parm(scrname on'zdel'scrname code perm'zdel' ' ,
     ' =3.4'zdel'swap last) suspend'

 'select pgm(ispstrt) parm(scrname jcl perm'zdel' ' ,
     ' =3.4'zdel'swap last)  suspend'

 'select pgm(ispstrt) parm(scrname sdsf perm'zdel' ',
     ' =m.5'zdel'st'zdel'swap last) suspend'

 'select pgm(ispstrt) parm(scrname cmd perm'zdel' '  ,
     ' =6'zdel'swap last)  suspend '

 cmd = "scrname one perm"
 'display command(cmd) panel(ispblank)'


I have memorized the use for each. For example 1 is normal edit, 2 is SDSF, 3 is a USS session, 4 is 3.4, 5 is edit/view on system libraries (like sys1.**) and 6 - 8 as needed.

Then when I need to go to one I type the number at the command line and hit PF9. So 2 and PF9 and I'm in SDSF, etc.

What I haven't figured out yet is how to make just the PF9 swap between the two screens I want it to.

SWAP by itself only swaps between the two most recently visited
screens. You can add a screen number, as you do, or you can swap
to a screen name. I often end up with something like this:

==> swap code;c master-foil master-file all;save;swap jcl;sub;swap sdsf

I tend to prefer screen names as opposed to screen numbers.


Kind regards,

-Steve Comstock
The Trainer's Friend, Inc.

303-393-8716
http://www.trainersfriend.com

  z/OS Application development made easier
    * Our classes include
       + How things work
       + Programming examples with realistic applications
       + Starter / skeleton code
       + Complete working programs
       + Useful utilities and subroutines
       + Tips and techniques

==> Check out the Trainer's Friend Store to purchase z/OS  <==
==> application developer toolkits. Sample code in four    <==
==> programming languages, JCL to Assemble or compile,     <==
==> bind and test.                                         <==
==>   http://www.trainersfriend.com/TTFStore/index.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

Reply via email to