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

How to control the SWAP(PF9)ping ?


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

Active User


Joined: 12 Jan 2006
Posts: 110
Location: Germany

PostPosted: Mon Feb 04, 2013 8:21 pm
Reply with quote

Gary McDowell wrote:
Is there a way to "name"/over-ride the labels in ISPTL ?

The labels used by ISPTL are the names of logical screens. A name can be assigned by using the SCRNAME() parameter with the ISPF SELECT service. When you issue
Code:
address ISPEXEC "SELECT PGM(ISRSCLM) SCRNAME(MYSCLM)"
then the string "MYSCLM" appears in the NAME column in the ISPF Task List.

The same could be achieved by issuing the SCRNAME command. Here is an excerpt from the ISPF tutorial on his command:
Quote:
Use the SCRNAME command to assign a name to a logical screen. This name can be used on the SWAP command as a parameter and also displays in the ISPF Task List. This list is displayed when the SWAP LIST command is issued. The SCRNAME command requires one parameter, the screen name which must be between 2 and 8 characters long, starting with an alphabetic and it cannot be LIST, PREV, or NEXT. The second parameter is PERM and is optional. If PERM is specified, the screen name will not change until the SCRNAME command is issued again. Some applications may set the screen name automatically. ISPF will ignore it if the SCRNAME was issued with the PERM option.

When the SWAPBAR command first was available, I developed a small application which I always run immediately after LOGON. This tool splits the screen several times (driven by an internally defined list) and assigns a suitable screen name to every logical screen. At the end it issues the SWAPBAR command. So my workplace is then ready for the work day.

Updated to reflect Pedro's and Stefan's following posts.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Mon Feb 04, 2013 10:03 pm
Reply with quote

Quote:
The labels used by ISPTL are the names of logical screens. A name can be assigned by using the SCRNAME() parameter with the ISPF SELECT service. When you issue
Code:
address ISPEXEC "SELECT PGM(ISRSCLM) PANEL(MYSCLM)"

then the string "MYSCLM" appears in the NAME column in the ISPF Task List.

Stefan, I think you meant to post an example with the SCRNAME parameter:
Code:
address ISPEXEC "SELECT PGM(ISRSCLM) SCRNAME(MYSCLM)"
Back to top
View user's profile Send private message
Stefan

Active User


Joined: 12 Jan 2006
Posts: 110
Location: Germany

PostPosted: Tue Feb 05, 2013 1:34 pm
Reply with quote

Thanks Pedro for the correction.
You are right, it is the SCRNAME() parameter which I mentioned in the text but missed in my own example.
Shame on me icon_wink.gif
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 Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Help Control-R IBM Tools 2
No new posts split and swap in ISPF TSO/ISPF 6
No new posts Try to understand IMS control block IMS DB/DC 0
Search our Forums:

Back to Top