My issue is that the user id running CMOD has group access to the file to delete it but there is a prompt to delete (Y or N) that is where I believe the error occurs, RC=-1. Many different apps dump files that are accessible by the CMOD user, but this prompt to delete is what I wish to over come. Any ideas?