0.9b (c) 1995 Peter Childs
The function deletes a name in the message name table.
Syntax
MyRc = NetDelete(NETMESSAGENAME, msgName, fwdAction, SrvName)
Parameters
The parameters required are:
msgName The message name to delete from the name table
fwdAction The action to take if the messages for name are forwarded to another name. If the value is nonzero, the forwarded name is deleted. If the value is 0, the name is not deleted.
The default value is 0
SrvName The server computer name
Note
The server computer name can be specified as '' for a local server.
Example
/* Delete a name from the message name table */ call RxFuncAdd 'LoadLsRxutFuncs', 'LSRXUT', 'LoadLsRxutFuncs' call LoadLsRxutFuncs NETMESSAGENAME = 80 msgName = 'MSGNAME' fwdAction = 0 SrvName = '\\ANYSRV01' myRc = NetDelete(NETMESSAGENAME, msgName, fwdAction, SrvName) if myRc <> '0' then do say 'Got error from NetAdd() ' myRc exitRc = 9 end else do say 'Message name entry deleted successfully' end call DropLsRxutFuncs call RxFuncDrop 'LoadLsRxutFuncs' exit exitRc
Example Output
Message name entry deleted successfully
Inf-HTML End Run - Successful