IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to know how many screens are active


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
hikaps14

Active User


Joined: 02 Sep 2005
Posts: 189
Location: Noida

PostPosted: Tue Jan 23, 2007 6:31 pm
Reply with quote

Hi,

whenever I open 4-5 screens ,I usually give different screen names to every screen so as to identify each screen.

Then I write the screen name and Press F9.This is how I toggle.

What I want to know is .......
Is there any way to know how many screens are active and then select any 1 of them.

I tried using 'List' command but it gave a message 'data set not active'.
well I hardly know what is this command used for.
If this is wrong then is there any other way to do it ?

Thanks in advance,
-Kapil.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Tue Jan 23, 2007 7:19 pm
Reply with quote

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/handheld/Connected/BOOKS/ISPZUG30/1.2.5.2?SHELF=&DT=20040722030258&CASE=
Quote:
SWAP PREV|NEXT|screen_name|n
SWAP LIST
Back to top
View user's profile Send private message
hikaps14

Active User


Joined: 02 Sep 2005
Posts: 189
Location: Noida

PostPosted: Sat Jan 27, 2007 11:15 pm
Reply with quote

Thanks a lot ,
buddy .
This was exactly what I was looking for .
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Tue Jan 30, 2007 5:09 am
Reply with quote

Here's the PF Keys I use for managing 8 screens:

*********************************************************************
*************** USE TO FIRE UP 8 ISPF WINDOWS AFTER *************
*************** ISPF STARTUP *************
*********************************************************************

Prep - on cmd line enter "keylist off"; go back to the Primary Menu screen then enter 0; When the new screen appears you'll see selection options in the action line at the top of the screen. Put the cursor on "Identifier" (or "Id" - don't remember which) and hit <enter> then select 3 (screen name) when new screen displays enter <1> ("display screen name") in the dash, then enter <2> ("on") in the other dash.

Now you should be ready to cut and paste the PF key cmds I provided.

Enter "keys" on cmd line and cut & paste lines below into
KEYS slots on the screen. Use keys 13 thru 16. C&P the next 2 into PF17&18

*********************************************************************
SCRNAME SDSF1 PERM;SPLIT NEW;SCRNAME COMPILE PERM
SPLIT NEW;SCRNAME JOBJCL PERM;SPLIT NEW;SCRNAME PGMSRC PERM;
SPLIT NEW;SCRNAME CPYBKS PERM;SPLIT NEW;SCRNAME MISC1 PERM
SPLIT NEW;SCRNAME MISC2 PERM;SPLIT NEW;SCRNAME MISC3 PERM;;;

*********************************************************************
*************** USE TO FIRE UP A NEW WINDOW *************
*********************************************************************
SPLIT NEW;SCRNAME
*********************************************************************
*************** USE TO LIST ALL ACTIVE WINDOWS *************
*********************************************************************
SWAP LIST

After you start ISPF the 1st screen appears, then Then enter <shift><PF1>;<shift><PF2>;<shift><PF3>;<shift><PF4>

This will "start up" the 8 screens. Enter <shift><PF6> - this displays the 8 screen names and allows you to choose the one you want.

BTW, you can change the screen names to your liking.

PS. Don't forget to gracefully exit ISPF COMPLETELY to "save" the ISPF properties you just installed. If you leave the term and you "time out" you lose everything you did and must re-do it.
Back to top
View user's profile Send private message
hikaps14

Active User


Joined: 02 Sep 2005
Posts: 189
Location: Noida

PostPosted: Mon Feb 12, 2007 12:30 pm
Reply with quote

Hi,

I got what ur script means I think it could be quite useful.

I am not able to implement it.
This 'prep' command doesn't works.
Then I did 'keylist off'.
it worked. but then where to enter 0 and how to click 'identifier'.

There are lots n lots of questions.

Could u please explain in detail how to install ur script.

Thanks,
-Kapil.
Back to top
View user's profile Send private message
arindam111

New User


Joined: 29 Nov 2006
Posts: 27
Location: India

PostPosted: Mon Feb 12, 2007 4:27 pm
Reply with quote

LIST then press PF9
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Wed Feb 14, 2007 8:13 am
Reply with quote

Hi Kapil,

Sorry I took so long to respond. I just saw your post. If you have further ques, don't hesitate to ask.

I re-wrote the prep comments below:

Prep - on cmd line enter "keylist off"; go back to the Primary Menu screen then enter 0; When the new screen appears you'll see selection options in the action line at the top of the screen. Put the cursor on "Identifier" (or "Id" - don't remember which) and hit <enter> then select 3 (screen name) when new screen displays enter <1> ("display screen name") in the dash, then enter <2> ("on") in the other dash.

Now you should be ready to cut and paste the PF key cmds I provided.

Enter "keys" on cmd line and cut & paste lines below into
KEYS slots on the screen. Use keys 13 thru 16. C&P the next 2 into PF17&18

I'll also edit the original post.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Determining Active VM Directory All Other Mainframe Topics 0
No new posts How to list BMS MAP screens in BMS Ph... CICS 2
No new posts List of Active Jobs in CTRL-M JCL & VSAM 1
No new posts The oldest active mainframe developer? General Talk & Fun Stuff 5
No new posts Creating ISPF Screens with Scrname vi... TSO/ISPF 10
Search our Forums:

Back to Top