untested...  but the CONTINUE keyword used IN-Line eliminates the CRLF

  -- write the GE and IEA records
  OUTPUT .v850file APPEND
  WRITE .vchar
  WRITE .vge
  WRITE .viea CONTINUE
  OUTPUT SCREEN



----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Tuesday, August 19, 2008 11:15 AM
Subject: [RBASE-L] - Last carriage return removal


>I have a text file I am creating with the following:
>
>  GATEWAY EXPORT CSV .v850file +
>  SELECT edidata FROM edisplit +
>  WHERE storenumber = 'All' OR location IN &vlocation +
>  OPTION MESSAGES ON +
>  |SHOW_PROGRESS ON +
>  |QUALIFIER &vQualifier
>
> -- turn off eof setting
>  set eof off
>
>  -- write the GE and IEA records
>  OUTPUT .v850file APPEND
>  WRITE .vchar
>  WRITE .vge
>  WRITE .viea
>  OUTPUT SCREEN
>
>
> Which works like I need except there is a carriage return at the end of the 
> file.
> The customer will not accept the file with it ending with a carriage return. 
> I have
> spent 2 hours trying to get this seemingly simple issue resolved and now I am 
> frustrated.
>
> Any ideas on how to end a file without a carriage return?
> Thanks,
> -Bob
>
>
> --
> Thompson Technology Consultants
> LaPorte, IN 46350
> 219-363-7441 


Reply via email to