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.
(required) Full path, up to but not including the filename.
(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:
Pass the array name "ARRAY" as the arrname parameter. Wildcard specifications cannot be used with this function.
>K FILESPEC >S FILESPEC("TMP.DAT")="" >S Y=$$DEL^%ZISH("\MYDIR\",$NA(FILESPEC))
September 15, 2011