Usage Note 23615: In the ODS MARKUP destination, how can I eliminate the top two blank rows when using the CSV
tagset?
This can be done by modifying the CSV tagset. Below
is an example.
proc template;
define tagset tagsets.newcsv;
parent = tagsets.csv;
notes "This is the CSV definition";
/* we removed the start: put NL. It was putting a line
* at the beginning of the table.
*/
define event table;
finish:
put NL;
end;
/* We added finish: */
/* This makes it so that the line is put at the finish
* of the even row instead of every event row.
*/
define event row;
finish:
put NL;
end;
end;
run;
ods tagsets.newcsv body='c:\test.csv' ;
proc print data=sashelp.afmsg label; run;
ods tagsets.newcsv close;
Operating System and Release Information
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Usage Note |
| Priority: | low |
| Topic: | SAS Reference ==> ODS (Output Delivery System)
|
| Date Modified: | 2003-12-24 11:47:12 |
| Date Created: | 2003-12-23 16:56:28 |