Right now you have learned a new ARexx command.
Address
Adress is used to switch between hosts, to send our messages to a new recipient.
The first port that is always open when running rexx code is "REXX"
where
Address Workbench /* now we talk to workbench, prior host (REXX)becomes old host */
Address rexx /* makes REXX to our new port to talk to, and Workbench will be old host */
Address dOpUs.1 /* ha, you don't have to type it upper case
, ARexx will change everything to upper case by default */
/* DOPUS is now new host, REXX is again old host */
Address command 'echo "Hello eablings."' /* We send our command to DOS, but we do not change the host.*/
Address dopus.1 'verify welcome' /* Again we send a command (verify is a DOpus command)
to a host (dopus here) without changing our current host.*/
Address command can be replaced with Shell command
Shell command 'cd ram:'
is similar to
Address command 'cd ram:'
Address /* without a host name will switch between current and previous*/
How do i know who is the caller ?
Address()
this is no command , but builtin function.
have a look at the scripts above on where and how it is used