>Thanks Sir,
>I tried the following code and it is working fine.
>
>
>SELECT Dummy
>set textmerge to Myfile.ps
>scan
>\<< tRIM(pS) >>
>endscan
>set textmerge to
>set textmerge off
>
>
>
>The code is Working fine and the file size is also small. Only one little problem. The First Line in the reprocessed output file is coming blank as compared to the original file Ps/text file where the PS code starts from the first line itself.
>
>kindly help
>
That's because you're using \ rather than \\. When you do textmerge with \, you get a return before the line. Try it this way:
>
SELECT Dummy
set textmerge to Myfile.ps
scan
\\<< tRIM(pS) >>
\
endscan
set textmerge to
set textmerge off
Tamar