Help using Base SAS procedures

export without last empty line

Reply
Contributor
Posts: 43

export without last empty line

dear all,

when I export a file as follows it ends with an empty row.

proc export data=sashelp.class

   outfile='G:\temp\a.csv'

   dbms=dlm;

   delimiter=';';

run;

In other terms when I open the file with a text editor, I can put the cursor one line after the last line of data.

is there any possibilty to end it at the very last line of data?

thank you very much in advance

Super Contributor
Posts: 282

Re: export without last empty line

Hi,

This looks similar to:

https://communities.sas.com/message/174582

Regards,

Amir.

Ask a Question
Discussion stats
  • 1 reply
  • 344 views
  • 0 likes
  • 2 in conversation