View previous topic :: View next topic
|
Author |
Message |
Stefan
Active User
Joined: 12 Jan 2006 Posts: 110 Location: Germany
|
|
|
|
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 |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
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 |
|
|
Stefan
Active User
Joined: 12 Jan 2006 Posts: 110 Location: Germany
|
|
|
|
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 |
|
Back to top |
|
|
|