David,

I presume you are using the WRITE command to output your lines of text?

For the last line, use the syntax

WRITE .vLineOfText CONTINUE

The "Continue" keyword will suppress the Carriage Return.

You may also way to set EOFCHAR off.

Bill


On Thu, Jan 31, 2013 at 3:54 PM, Fitts, David A. <[email protected]>wrote:

>  Greetings everyone,
>
> I have a while loop that creates a text file. Each row processed results
> in a single line in the text file.
>
> I need some way to have the text file end at the end of the last line of
> data and not on the line after the last line of data.
>
> I have tried to add a backspace (char(8)) to the text file before issuing
> the out screen command but that has not helped.
>
> Any suggestions would be appreciated.
>
> Dave Fitts
>
>
>
>

Reply via email to