Thanks for your replies.
Yes, its being opened in notepad without any problems and then if i copy from notepad and then paste to
vi or another editor and then the new file gets normally processed in UNIX. As we need to automate the process, we can not afford this intermediate task.
Please find attached sample file (zipped file - test50.001 has 25 lines) but shows as below:
[root@www]# cat test50.001
PV1|1|E|||||^||||||||||9999^NO PMD|||||||||||||||||||60||||||||0821102053|200829PV1|1|E|||||10359^FRANK RACHEL A||||||||||^|||||||||||||||||||60||||||||08211020PV1|1|E|||||10359^FRANK RACHEL A||||||||||10236^MODESTE KAREN A|||||||||||||||||PR1|16|C4|99282|||||||||||||~07
[root@www]# wc -l test50.001
1 test50.001
[root@www]# file test50.001
test50.001: ASCII text, with CRLF, CR line terminators
[root@www]#
Note: Please directly transfter the attached file to UNIX box and test it (without any COPY/PASTE)
Thanks and Regards,