You're simply not printing anything to your file!
Try adding:
within the body of your while loop.print BATCH $newfile, "\n";
Just because you've reused the variable name ($newfile) doesn't connect the data with the file you've opened earlier. That's what BATCH is for.
In reply to Re: Getting from Oracle to become a text file
by tommyw
in thread Getting from Oracle to become a text file
by Zo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |