0.9b (c) 1995 Peter Childs
The function deletes a directory limit from a specified directory. Before this function can be invoked, directory limits must be enabled on the 386-HPFS drive. (See the NetMisc(NETDASDCONTROL) function)
Syntax
MyRc = NetDelete(NETDASD, SrvName, DirPath)
Parameters
The parameters specified are:
SrvName The server computer name
DirPath The path specification for the directory limit to delete
Note
The server computer name can be specified as '' for a local server.
Example
/* Delete a DASD directory limit on server */ call RxFuncAdd 'LoadLsRxutFuncs', 'LSRXUT', 'LoadLsRxutFuncs' call LoadLsRxutFuncs NETDASD = 750 DirPath = 'D:\APPS\DATA' SrvName = '\\DOMAIN_CONTRLR' myRc = NetDelete(NETDASD, DirPath, SrvName) if myRc <> '0' then do say 'Got error from NetDelete() ' myRc exitRc = 9 end else do say 'Directory limit successfully deleted' exitRc = 0 end call DropLsRxutFuncs call RxFuncDrop 'LoadLsRxutFuncs' exit exitRc exit 0
Example Output
Directory limit successfully deleted
Inf-HTML End Run - Successful