New to Novell Netware.

I support an application that runs on Netware 6.5 SP5 and 6. I have an SQL script that checks our database for orphans, and want the output of this to generate files based on the INTO OUTFILE in MySQL. Problem is that MySQL (4.0 is most common on the servers) does not overwrite files when using the INTO OUTFILE command if the file already exists.

I was looking to do what a Windows batch file would do when I give it an IF EXISTS entry to delete the existing files, then call the SQL Script to be sure there are no errors. As I am new to writing NCFs and automating Novell, I have had limited success in doing this. Any ideas or info would be appreciated.

Also, is there a good reference for Novell scripting/batching on the server?

Thanx in advance!