|
|
Reference Type: Supported, Category: Host Files, Integration Agreement: 2320
This extrinsic function deletes Host files. You can delete one or many Host files, depending on how you set up the array whose name you pass as the second input parameter.
$$DEL^%ZISH(path,arrname)
| path: |
(required) Full path, up to but not including the filename. |
|
| arrname: |
(required) Fully resolved array name containing the files to delete as subscripts at the next descendent subscript level. For example, to delete two files, FILE1.DAT and FILE2.DAT, set up the array as: ARRAY("FILE1.DAT")=""
ARRAY("FILE2.DAT")=""
and pass the array name "ARRAY" as the arrname parameter. Wildcard specifications cannot be used with this function. |
|
| returns: |
Returns:
|
|
>K FILESPEC
>S FILESPEC("TMP.DAT")=""
>S Y=$$DEL^%ZISH("\MYDIR\",$NA(FILESPEC))
|
VA (Internet) / VA (Intranet) / OI / HSD&D / Site Map / Terms of Use / VA Privacy Policy / Accessibility Reviewed/Updated:
December 14, 2005
|