CompuServe Thread

#Address command path

5 messages in this thread
#40271From: Mike/CompuStore W-GermanMar 28, 1994 5:46 AM
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
#40274From: Bill HawesMar 28, 1994 7:23 AM
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
#40292From: Mike/CompuStore W-GermanMar 30, 1994 2:59 AM
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
#40294From: Bill HawesMar 30, 1994 9:18 AM
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
#40328From: Mike/CompuStore W-GermanMar 31, 1994 10:32 AM
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