I use args[0] and args[1] to open two files with new java.io.File(name); new RandomAccessFiles(name,"r"); In some cases, args[0].equals(args[1]). In these cases I do not get an exception or error, but I get bogus read results from the file. If the specs prohibit concurrent read, then an IOException would be in order IMO. If I hand in a bogus filename, my program notifies me: caught java.io.IOException: bogus.dat What am I missing? b. ---------------------------------------------------------------------- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]