Karen,

That only prevents the EOF character from being added to the end of the file.

Dennis McGrath

________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, August 19, 2008 1:44 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: Last carriage return removal

I thought the proper syntax was  SET EOFCHAR OFF

Karen



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?

Reply via email to