#Address command path
5 messages in this thread
Hello Bill,
another question I did not find an answer to in your original book:
If I place an address command MyCommand in an ARexx macro. Which path does it
use to find the command MyCommand. It is not the path from the shell. But what
is used?
Thanx
-Mike
CompuStore GmbH – Michael Metz – Fritz-Reuter-Str.6 – D-60320 Frankfurt Tel:
+49 69 567399 – CI$ 71001,210 – Fax: +49 69 5601784
Mike,
If an ARexx macro is launched from a shell, it inherits that shell's path and
uses it for address command. It doesn't track the shell's path, as the ARexx
macro is running as a separate task.
To find out what path is available in a macro, just issue the path command, as
in
ADDRESS COMMAND 'path'
-Bill Hawes
Thanx
this will help me.. May I change the macro path globaly for all Rexx macros?
-Mike
CompuStore GmbH – Michael Metz – Fritz-Reuter-Str.6 – D-60320 Frankfurt Tel:
+49 69 567399 – CI$ 71001,210 – Fax: +49 69 5601784
Mike,
The path for the ARexx server is used for macros launched from Workbench, but
otherwise an ARexx macro inherits the path from its client, if the client (e.g.
a shell) has a path.
-Bill
Sorry Bill,
I don't really get you, but I try to find out what you mean by sending address
command path out of the macros which were launched out of different servers.
Thanx
-Mike
CompuStore GmbH – Michael Metz – Fritz-Reuter-Str.6 – D-60320 Frankfurt Tel:
+49 69 567399 – CI$ 71001,210 – Fax: +49 69 5601784