MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to give alias name to TSO Commands

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
p_koduru
Beginner


Joined: 11 Nov 2005
Posts: 2
Topics: 2
Location: Chennai

PostPosted: Fri Nov 11, 2005 5:47 am    Post subject: How to give alias name to TSO Commands Reply with quote

Hi,

Can any one tell me how to give an alias name to TSO/ISPF commands ?

For Example: For Command DSLIST i would prefer as "DL".

Thanks in Advance.

Regards,
Koduru
Back to top
View user's profile Send private message Send e-mail
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Fri Nov 11, 2005 11:25 am    Post subject: Reply with quote

To change ISPF product commands, look at option 3.9 (Command tables) and display the "ISP" table. The "T" column is the abbreviation length. Use caution that the abbreviation doesn't conflict with some other application command.

Your site may allow customized "user" command tables. Otherwise ask the SYSPROGS to create a customized command table for your "site".
_________________
Regards,
Bill Dennis

Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity.
Back to top
View user's profile Send private message
PKoduru
Beginner


Joined: 24 Jul 2003
Posts: 2
Topics: 1

PostPosted: Tue Dec 06, 2005 7:20 am    Post subject: Reply with quote

Sorry for late reply, I am out of station.

Thanks Bill for your reply.

Could you please clearly explain with example for me?

Regards,
Koduru
Back to top
View user's profile Send private message
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Tue Dec 06, 2005 9:45 am    Post subject: Reply with quote

1) Find the PDS (or allocate one) on DDname ISPTABL in your TSO proc
2) Copy ISPCMDS from ISPF product library hlq.SISPTENU to your ISPTABL as newname AAACMDS
3) Go to option 3.9 and bring up your table as Application ID=AAA
4) Find the entry for DSLIST and repeat the line
5) Give the new verb as "DL" with same action and truncate value of zero
6) *END* to save your changes
7) Either -
a) Rename the member back to ISPCMDS and concatenate your ISPTABL PDS on DDname ISPTLIB ahead of hlq.SISPTENU to replace ISPF's table or
b) Have your SysProgs define your table as a site or user-specific table named AAACMDS.
_________________
Regards,
Bill Dennis

Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity.


Last edited by Bill Dennis on Thu Dec 15, 2005 11:08 am; edited 1 time in total
Back to top
View user's profile Send private message
singhnarender79
Beginner


Joined: 24 Dec 2002
Posts: 32
Topics: 6
Location: U.K

PostPosted: Thu Dec 15, 2005 7:57 am    Post subject: Reply with quote

Hi Bill,

I did exactly the same thing what u mentioned above. But the problem is nothing is getting saved in my command table AAACMDS. Is there something wrong I am doing, or maybe I don't have access.

Could you please suggest something?

Thanks,
Naren
_________________
"Hold fast to dreams, for if dreams die, life is a broken winged bird that cannot fly."

-- Langston Hughes
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Thu Dec 15, 2005 9:07 am    Post subject: Reply with quote

I don't know why the changes are not saved if you *END* after changes and not *CANCEL*. Do you have UPDATE authority to the ISPTABL file?
_________________
Regards,
Bill Dennis

Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity.
Back to top
View user's profile Send private message
singhnarender79
Beginner


Joined: 24 Dec 2002
Posts: 32
Topics: 6
Location: U.K

PostPosted: Thu Dec 15, 2005 9:52 am    Post subject: Reply with quote

I don't know that. How can I find it out?
_________________
"Hold fast to dreams, for if dreams die, life is a broken winged bird that cannot fly."

-- Langston Hughes
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Thu Dec 15, 2005 11:12 am    Post subject: Reply with quote

Use command "TSO ISRDDN" to find the library allocated to DDname ISPTABL. Try to edit/save a member there. Successful? If so, is your AAACMDS member there? Go back and try my instructions again.
_________________
Regards,
Bill Dennis

Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity.
Back to top
View user's profile Send private message
singhnarender79
Beginner


Joined: 24 Dec 2002
Posts: 32
Topics: 6
Location: U.K

PostPosted: Thu Dec 15, 2005 11:37 am    Post subject: Reply with quote

Hi Bill,

What I did was copy the ISPCMDS from ISPF product library hlq.SISPTENU to my own dataset userid.ISPTLIB as newname AAACMDS.

Then Allocated my own PDS to ISPTLIB. Loged on again.

Then I went to =3.9. Entered AAA and then it showed the screen with the commands in it. I entered a 'r' against the DSLIST and entered new verb DL with 0 in T column. Then entered END to save & Exit.

I came back to see if the new command is there. But it was not there.

This is what you had mentioned in your prev. post too.

Did I do something wrong here or is it that I didn't do something?

Cheers,
Naren
_________________
"Hold fast to dreams, for if dreams die, life is a broken winged bird that cannot fly."

-- Langston Hughes
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Thu Dec 15, 2005 2:27 pm    Post subject: Reply with quote

singhnarender79 wrote:
I came back to see if the new command is there. But it was not there.


Do you mean that you looked in 3.9 again and it was gone or that you tried to *USE* the DL command? The command won't work until you get the updated command table into the ISPTLIB concatenation.

If the changes in 3.9 aren't being saved, I don't know what to do????
_________________
Regards,
Bill Dennis

Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity.
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Thu Dec 15, 2005 4:51 pm    Post subject: Reply with quote

Several problems... Verify that same profile dataset is allocated to ISPPROF, ISPTABL and as the 1st data set in ISPTLIB. Other configurations may work, but this one definitely will. Also, it is not a good idea to copy the ibm ISPCMDS. That defeats the whole purpose of user and site command tables. If IBM changes the command table and you have a copy of it, you may not see the new commands, fixes, or whatever other changes were made. That means when the next release of ISPF comes out, you might be missing function.
Back to top
View user's profile Send private message Visit poster's website
taltyman
JCL Forum Moderator
JCL Forum Moderator


Joined: 02 Dec 2002
Posts: 310
Topics: 8
Location: Texas

PostPosted: Thu Dec 15, 2005 5:51 pm    Post subject: Reply with quote

You may want to see if your site allows user command tables. Here is a screen shot of my shops 3.9 ispf menu.
Code:

                         Command Table Utility                         
 Command ===>                                                         
                                                                       
   Specifications                           Command search order       
   Application ID . . ISP                   Application table  : ISR   
   Enter "/" to select option               User table . . . . : USR   
      Show description field                Site table . . . . : TXU   
                                            System table . . . : ISP   


Here we are set up to use a site table and a user table in addition to the application and system tables. If ISPF finds a table named USRCMDS in the ISPTLIB concatenation then it will use it, if not then it's ignored. That way savy users can build their own if they want to.

There's a reason there can be more than one dataset in the ISPTLIB concatenation but only one in ISPTABL. That may be overlooked in geezers post
Quote:
Verify that same profile dataset is allocated to ISPPROF, ISPTABL and as the 1st data set in ISPTLIB.
But it is important to understand that concept.
Back to top
View user's profile Send private message
singhnarender79
Beginner


Joined: 24 Dec 2002
Posts: 32
Topics: 6
Location: U.K

PostPosted: Fri Dec 16, 2005 5:23 am    Post subject: Reply with quote

Bill,

Yes I came back to 3.9 again to check it, it was not there.

semigeezer/taltyman,

I have checked the profile dataset, it is allocated in ISPPROF, ISPTLIB and as the 1st data set in ISPTLIB. Can you tell what is the concept behind this???
It is not allocated in ISPTABL and I am also sure, I can only allocate one dataset in ISPTABL.

And also I had copied the IBM ISPCMDS and had renamed it to AAACMDS, so I don't think it should cause any problem even if the ISPCMDS is changed.

Quote:

You may want to see if your site allows user command tables.

Here is a screen shot of my shops 3.9 ispf menu.

Code:

                        Command Table Utility                       
Command ===>                                                         
                                                                     
  Specifications                       Command table search order   
  Application ID . . ISR               Application table  . : ISR   
  Enter "/" to select option           User table 1 . . . . :       
     Show description field            User table 2 . . . . :       
                                       User table 3 . . . . :       
                                       Site table 1 . . . . : SITE   
                                       Site table 2 . . . . :       
                                       Site table 3 . . . . :       
                                       System table . . . . : ISP   


It seems that I can't have any user tables, is there any way I can add this or only system programer's can do this.

Is there any book or doc where I can read and understand the whole concept of command tables.

Thanks,
Naren
_________________
"Hold fast to dreams, for if dreams die, life is a broken winged bird that cannot fly."

-- Langston Hughes
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
singhnarender79
Beginner


Joined: 24 Dec 2002
Posts: 32
Topics: 6
Location: U.K

PostPosted: Tue Dec 20, 2005 5:51 am    Post subject: Reply with quote

I got the info about command tables from the ISPF User Guide II & ISPF Planning and Customization. and it says the User Command table has to be entered in the ISPF Configuration Table. and that can be done by the site admin.

and for me 3.9 is not showing any user command table, So that means I can't add me own commands..

I think I will talk to the Site Admin and see if he can add a user command table.

Thanks everyone for helping me out.

Cheers,
Naren
_________________
"Hold fast to dreams, for if dreams die, life is a broken winged bird that cannot fly."

-- Langston Hughes
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
jakevans
Beginner


Joined: 23 Jan 2006
Posts: 1
Topics: 0

PostPosted: Mon Jan 23, 2006 9:44 am    Post subject: Reply with quote

Hi -
Put this clist in your sysproc concatenation. Call it xxx. In any ispf screen type 'TSO XXX' without the quotes in the command line to enable the 'DL' alias for DSLIST. This change to the command table is only for this session. It changes the command table in memory not in the pds. No authority needed. Doesnt effect other users. I use a more complicated one to give me many shortcuts.

Hope this helps,

PROC 0
/* ADD ALIAS FOR DSLIST AS DL
/*
ISPEXEC TBTOP ISPCMDS
SET ZCTVERB = DSLIST
ISPEXEC TBSCAN ISPCMDS ARGLIST(ZCTVERB)
IF &LASTCC
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group