Why don't you just use an editor that shows what line you are on? I don't see the purpose of this silliness. > You might want to use the [yourfile].lst file (sometimes temp.lst or something like > that with ion batch files). It gives line numbers, and lists errors right > after the buggy statement or command.