We have an update process that needs to remove a folder on the IFS. It first performs a RMVLNK on a folder's contents by using the wildcard *. This, however, is not removing a file that exists named .OLD (which we think is something created by a software vendor of ours). Within the help of RMVHLP it says "An asterisk (*) matches any number of characters and a question mark (?)matches a single character."
I tried using *.* but that didn't pick up the .OLD file either. What does work is .* however that also tries (but fails) to delete the folders . and ..
After removing the contents of the folder, we're doing RMVDIR. I did try RMVDIR with RMVLNK(*YES) instead, but that didn't work to empty out the folder.
Would it be safe enough for me to add in a RMVLNK command using .* ?
CustomCall Data Systems
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives