Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to know how many screens are active

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: How to know how many screens are active
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: 3158
Location: Tucson AZ

PostPosted: Tue Jan 23, 2007 7:19 pm    Post subject:
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    Post subject: Re: How to know how many screens are active
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    Post subject:
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    Post subject: Re: How to know how many screens are active
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Find out a active PGM jpsager JCL & VSAM 10 Fri Oct 07, 2016 4:32 pm
No new posts reorder screeNS using SWAP LIST? mrsidhu12 TSO/ISPF 5 Thu Sep 01, 2016 2:19 pm
No new posts JCL to fetch schedule status from act... parasmalik20 CA Products 1 Thu Jun 02, 2016 7:11 pm
No new posts Active module not Found (DSNREXX &... sakrat CLIST & REXX 12 Fri Jun 05, 2015 4:07 pm
No new posts REXX to search string in active addre... jackzhang75 CLIST & REXX 4 Fri Jan 09, 2015 10:54 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us