MiamiDx Arexx port
Hello!
I'm trying to use an Arexx script so go offline with MiamiDX when I use WHDload.
The problem is that seems that never find de MIAMI port so no execute anything.
The script is very simple obviously. You can see It here.
/*
** Miami offline - arexx script for Miami TCP/IP
**
** $VER: MiamiOffline 1.0 (9.11.96)
**
** By Kenneth C. Nilsen (kennecni@IDGonline.no)
**
*/
options results
if ~show('p', 'MIAMI.1') then do
Say "Miami is already offline or cant find port!"
Exit 0
end
address 'MIAMI.1'
ISONLINE
IF RC=0 then do
Say "Miami is already offline!"
Exit 0
END
OFFLINE
ISONLINE
IF RC=1 then do
Say "Couldn't get Miami offline!"
Say "Please terminate TCP/IP clients and try again."
Exit 0
END
QUIT /* remove this line if you want Miami to still run after the
offline procedure. The Online script will however start Miami
again if the miami port is not found */
exit 0
I run the script with RX but always shows me that miami is already offline or cant find the port.
I have rexxmast and miami running of course.
|