| View previous topic :: View next topic |
| Author |
Message |
krsk
Joined: 24 Jun 2008
Posts: 23
Location: INDIA
|
| Posted: Mon Aug 11, 2008 12:18 pm Post subject: Running REXX EXECS without prefixing TSO |
|
|
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 |
|
ofer71
Joined: 27 Dec 2005
Posts: 1962
Location: Israel
|
| Posted: Mon Aug 11, 2008 12:33 pm Post subject: |
|
|
How do you invoke it outside the command option (6)?
O. |
|
| Back to top |
|
krsk
Joined: 24 Jun 2008
Posts: 23
Location: INDIA
|
| Posted: Mon Aug 11, 2008 12:43 pm Post subject: |
|
|
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
Joined: 03 Jul 2007
Posts: 1148
Location: Mumbai - India
|
| Posted: Mon Aug 11, 2008 12:44 pm Post subject: Reply to: Running REXX EXECS without prefixing TSO |
|
|
Krsk,
Quote: But I want to invoke REXX routine without prefixing TSO.
Any reason for not using prefixing TSO? |
|
| Back to top |
|
krsk
Joined: 24 Jun 2008
Posts: 23
Location: INDIA
|
| Posted: Mon Aug 11, 2008 1:04 pm Post subject: |
|
|
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
Joined: 27 Dec 2005
Posts: 1962
Location: Israel
|
| Posted: Mon Aug 11, 2008 3:19 pm Post subject: |
|
|
The only way I know is to define your REXX as a command to ISPF.
O. |
|
| Back to top |
|
krsk
Joined: 24 Jun 2008
Posts: 23
Location: INDIA
|
| Posted: Mon Aug 11, 2008 3:40 pm Post subject: |
|
|
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
Joined: 27 Dec 2005
Posts: 1962
Location: Israel
|
| Posted: Mon Aug 11, 2008 3:43 pm Post subject: |
|
|
What's wrong with the fine manual?
O. |
|
| Back to top |
|
MBabu
Joined: 03 Aug 2008
Posts: 39
Location: Mumbai
|
| Posted: Mon Aug 11, 2008 8:02 pm Post subject: Reply to: Running REXX EXECS without prefixing TSO |
|
|
| 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
Joined: 24 Jun 2008
Posts: 23
Location: INDIA
|
| Posted: Tue Aug 12, 2008 3:49 pm Post subject: |
|
|
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
Joined: 01 Sep 2006
Posts: 536
Location: work
|
| Posted: Tue Aug 12, 2008 9:32 pm Post subject: Reply to: Running REXX EXECS without prefixing TSO |
|
|
Use ISPF option 3.9 to add commands.
See also this previous post. |
|
| Back to top |
|
krsk
Joined: 24 Jun 2008
Posts: 23
Location: INDIA
|
| Posted: Tue Aug 26, 2008 1:01 pm Post subject: |
|
|
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
Joined: 01 Sep 2006
Posts: 536
Location: work
|
| Posted: Tue Aug 26, 2008 9:30 pm Post subject: Reply to: Running REXX EXECS without prefixing TSO |
|
|
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 |
|
krsk
Joined: 24 Jun 2008
Posts: 23
Location: INDIA
|
| Posted: Tue Sep 16, 2008 4:20 pm Post subject: Re: Reply to: Running REXX EXECS without prefixing TSO |
|
|
Hello,
Pedro wrote: 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.
In the ISPTABL dataset, there is only PDFCMDS, no ISPCMDS. So if I add any command to PDFCMDS, for making it sharable, I have to place PDFCMDS in one of the ISPTLIB allocated dataset(shared), isnt it the case?
Thanking you,
KRSK |
|
| Back to top |
|
Pedro
Joined: 01 Sep 2006
Posts: 536
Location: work
|
| Posted: Tue Sep 16, 2008 9:39 pm Post subject: Reply to: Running REXX EXECS without prefixing TSO |
|
|
| To share a table, move the xxxCMDS member from your ISPTABL dataset to a shared dataset in the ISPTLIB concatentation. |
|
| Back to top |
|
| |