|
|
| Author |
Message |
krsk
New User
Joined: 24 Jun 2008 Posts: 16 Location: INDIA
|
|
|
|
Hello,
I have some REXX EXECs, for using them anywhere else, except the Command option(option 6), I have to prefix the command with TSO, like TSO SQLCHELP. I wanted to know how we can use the routines without prefixing TSO, any where in the System.
Thanking you,
KRSK |
|
| Back to top |
|
 |
References
|
Posted: Mon Aug 11, 2008 12:18 pm Post subject: Re: Running REXX EXECS without prefixing TSO |
 |
|
|
 |
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 1868 Location: Israel
|
|
|
|
How do you invoke it outside the command option (6)?
O. |
|
| Back to top |
|
 |
krsk
New User
Joined: 24 Jun 2008 Posts: 16 Location: INDIA
|
|
|
|
Hello,
Yeah, We can execute in the command lines where we give commands. For example, in the 3.4 option, a command line exists, there we can invoke the REXX routine, by prefixing it with TSO. But I want to invoke REXX routine without prefixing TSO.
Thank you,
KRSK |
|
| Back to top |
|
 |
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1003 Location: Chennai - India
|
|
|
|
Krsk,
| Quote: |
| But I want to invoke REXX routine without prefixing TSO. |
Any reason for not using prefixing TSO? |
|
| Back to top |
|
 |
krsk
New User
Joined: 24 Jun 2008 Posts: 16 Location: INDIA
|
|
|
|
Hello,
Yeah! I am developing some routines, to be used by other users also. So if prefixing by TSO is not required, it will be more convenient for users to use the routines.
Thanking you,
KRSK |
|
| Back to top |
|
 |
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 1868 Location: Israel
|
|
|
|
The only way I know is to define your REXX as a command to ISPF.
O. |
|
| Back to top |
|
 |
krsk
New User
Joined: 24 Jun 2008 Posts: 16 Location: INDIA
|
|
|
|
| ofer71 wrote: |
The only way I know is to define your REXX as a command to ISPF.
|
Can you please briefly explain me about this?
KRSK |
|
| Back to top |
|
 |
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 1868 Location: Israel
|
|
| Back to top |
|
 |
MBabu
New User
Joined: 03 Aug 2008 Posts: 18 Location: Mumbai
|
|
|
|
| Specifically, look in the manual for command tables. You may want to have your system programmer set up ISPF to allow you to use them or you can usually use ISRCMDS if the site is not using that already. Do NOT update ISPCMDS since that can change |
|
| Back to top |
|
 |
krsk
New User
Joined: 24 Jun 2008 Posts: 16 Location: INDIA
|
|
|
|
Hello,
Yeah! For eliminating TSO prefix, we have to add it to the ISPF command table. But I could not find proper way of doing that. Can you please site me some examples of adding commands to ISPF table?
KRSK |
|
| Back to top |
|
 |
Pedro
Senior Member
Joined: 01 Sep 2006 Posts: 322 Location: work
|
|
| Back to top |
|
 |
krsk
New User
Joined: 24 Jun 2008 Posts: 16 Location: INDIA
|
|
|
|
Hello....
I tried adding the command to the table. In our installation we have two tables, PDF and ISP. I used option 7,4 for adding the command to the table. But the problem is that, only I can use that command, for other users they have to prefix it with TSO. So how can I make that command usable to all the users?
Thanking you |
|
| Back to top |
|
 |
Pedro
Senior Member
Joined: 01 Sep 2006 Posts: 322 Location: work
|
|
|
|
| Quote: |
| So how can I make that command usable to all the users? |
When you save a command table, it is a member named PDFCMDS or ISPCMDS in your ISPTABL dataset (or whatever prefix with suffix of 'CMDS').
But to actually use the command table, it needs to be in your ISPTLIB concatenation. It probably works for you because your ISPTABL dataset is in your ISPTLIB concatenation (that is the way it should be).
To share a command table, it has to also be in the other person's ISPTLIB concatenation. So move the xxxCMDS member from your IPSTABL dataset to a shared dataset. |
|
| Back to top |
|
 |
|
|