When to use REXEC ?
-
- Registered Member
- Posts: 27
- Joined: Tue Aug 20, 2013 11:32 am
When to use REXEC ?
Hi,
I have seen some PROCs making use of REXEC? I do not see this in the application program list. Can you please suggest when do we use it and what details are needed to call it?
I have seen some PROCs making use of REXEC? I do not see this in the application program list. Can you please suggest when do we use it and what details are needed to call it?
- Robert Sample
- Global Moderator
- Posts: 1903
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: When to use REXEC ?
REXEC is used to connect to a remote server (usually Unix or Windows) and issue a command (which could be a script, of course). The specifics of when to use it and the details needed will vary by site as well as by application.
-
- Registered Member
- Posts: 27
- Joined: Tue Aug 20, 2013 11:32 am
Re: When to use REXEC ?
Thanks Robert. I thought it was project specific tool.Robert Sample wrote:REXEC is used to connect to a remote server (usually Unix or Windows) and issue a command (which could be a script, of course). The specifics of when to use it and the details needed will vary by site as well as by application.
Re: When to use REXEC ?
If you thought it was a project specific tool why did you ask on a general forum? No one here works at your place so no one here would know anything about your project and its tools. Of courxe, if you had Googled REXEC you would have found hits and that would indicate that it is a generally available utility and what it is used for.
Regards
Nic
Nic
-
- Registered Member
- Posts: 27
- Joined: Tue Aug 20, 2013 11:32 am
Re: When to use REXEC ?
I used WHOHAS command in my shop and I thought it was universal but I was told it was not. We could never see the code for it but it always worked. I thought about REXEC similar so asked about it. Sorry if it was not appropriate to ask like this.
- Robert Sample
- Global Moderator
- Posts: 1903
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: When to use REXEC ?
If you're not sure whether or not a particular program / function is generic or not, check the IBM manuals. REXEC, for example, is in the Communications Server bookshelf where its use and functioning is described. WHOHAS is not in an IBM manual; it is generally implemented as a REXX program and hence resides in SYS1.SYSPROCS (or similar name) for those sites which use it. Of course, some sites don't use it and don't have it installed.
-
- Registered Member
- Posts: 27
- Joined: Tue Aug 20, 2013 11:32 am
Re: When to use REXEC ?
Thanks. This is great tip for me. Thanks again.Robert Sample wrote:If you're not sure whether or not a particular program / function is generic or not, check the IBM manuals. REXEC, for example, is in the Communications Server bookshelf where its use and functioning is described. WHOHAS is not in an IBM manual; it is generally implemented as a REXX program and hence resides in SYS1.SYSPROCS (or similar name) for those sites which use it. Of course, some sites don't use it and don't have it installed.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute