Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Running REXX EXECS without prefixing TSO
Goto page 1, 2  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
Author Message
krsk

New User


Joined: 24 Jun 2008
Posts: 23
Location: INDIA

PostPosted: Mon Aug 11, 2008 12:18 pm    Post subject: Running REXX EXECS without prefixing TSO
Reply with quote

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
View user's profile Send private message
References
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 1959
Location: Israel

PostPosted: Mon Aug 11, 2008 12:33 pm    Post subject:
Reply with quote

How do you invoke it outside the command option (6)?

O.
Back to top
View user's profile Send private message
krsk

New User


Joined: 24 Jun 2008
Posts: 23
Location: INDIA

PostPosted: Mon Aug 11, 2008 12:43 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1148
Location: Mumbai - India

PostPosted: Mon Aug 11, 2008 12:44 pm    Post subject: Reply to: Running REXX EXECS without prefixing TSO
Reply with quote

Krsk,

Quote:
But I want to invoke REXX routine without prefixing TSO.


Any reason for not using prefixing TSO?
Back to top
View user's profile Send private message
krsk

New User


Joined: 24 Jun 2008
Posts: 23
Location: INDIA

PostPosted: Mon Aug 11, 2008 1:04 pm    Post subject:
Reply with quote

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
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 1959
Location: Israel

PostPosted: Mon Aug 11, 2008 3:19 pm    Post subject:
Reply with quote

The only way I know is to define your REXX as a command to ISPF.

O.
Back to top
View user's profile Send private message
krsk

New User


Joined: 24 Jun 2008
Posts: 23
Location: INDIA

PostPosted: Mon Aug 11, 2008 3:40 pm    Post subject:
Reply with quote

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
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 1959
Location: Israel

PostPosted: Mon Aug 11, 2008 3:43 pm    Post subject:
Reply with quote

What's wrong with the fine manual?

O.
Back to top
View user's profile Send private message
MBabu

New User


Joined: 03 Aug 2008
Posts: 39
Location: Mumbai

PostPosted: Mon Aug 11, 2008 8:02 pm    Post subject: Reply to: Running REXX EXECS without prefixing TSO
Reply with quote

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
View user's profile Send private message
krsk

New User


Joined: 24 Jun 2008
Posts: 23
Location: INDIA

PostPosted: Tue Aug 12, 2008 3:49 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 536
Location: work

PostPosted: Tue Aug 12, 2008 9:32 pm    Post subject: Reply to: Running REXX EXECS without prefixing TSO
Reply with quote

Use ISPF option 3.9 to add commands.

See also this previous post.
Back to top
View user's profile Send private message
krsk

New User


Joined: 24 Jun 2008
Posts: 23
Location: INDIA

PostPosted: Tue Aug 26, 2008 1:01 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 536
Location: work

PostPosted: Tue Aug 26, 2008 9:30 pm    Post subject: Reply to: Running REXX EXECS without prefixing TSO
Reply with quote

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
View user's profile Send private message
krsk

New User


Joined: 24 Jun 2008
Posts: 23
Location: INDIA

PostPosted: Tue Sep 16, 2008 4:20 pm    Post subject: Re: Reply to: Running REXX EXECS without prefixing TSO
Reply with quote

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
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 536
Location: work

PostPosted: Tue Sep 16, 2008 9:39 pm    Post subject: Reply to: Running REXX EXECS without prefixing TSO
Reply with quote

To share a table, move the xxxCMDS member from your ISPTABL dataset to a shared dataset in the ISPTLIB concatentation.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 HoursGoto page 1, 2  Next
Page 1 of 2