in reply to Re: Help for generating multiple file from singl e file and parsing it.
in thread Help for generating multiple file from singl e file and parsing it.

thank you very much for your kind reply.
actually i want to pick data between #RO# and #OE# use this data as name of output file for example in give data individual file generated will be
1. "3023 N MANS.20111011.2.txt"
2. "3004 N MANS.20111011.2.txt" inside this newly generated file i want to write data after #OE# till newline like in file eg. "3023 N MANS.20111011.2.txt" data should written "#OE#,CR,N,284110161544,,Y,MANS,20111011064839000,20111011~1M9LQV49HM"

one more thing which i need to do is if output file having same name like
"3023 N MANS.20111011.2.txt"
3023 N MANS.20111011.2.txt
the data come inside single file. appreciate for you help.
  • Comment on Re^2: Help for generating multiple file from singl e file and parsing it.

Replies are listed 'Best First'.
Re^3: Help for generating multiple file from singl e file and parsing it.
by pvaldes (Chaplain) on Oct 16, 2011 at 09:59 UTC
    You can create a filename with "," and spaces inside, but I don't recommend this. You should replace all "," in the first chain (i.e by "_") before passing this as a filename.