This is the default CSV tagset that SAS supplies.
define tagset Tagsets.Csv;
notes 'This is the CSV template';
define event put_value;
put VALUE;
end;
define event put_value_cr;
put VALUE NL;
end;
define event table;
finish:
put NL;
end;
define event row;
finish:
put NL;
end;
define event header;
start:
put ',' /if ^cmp( COLSTART, '1');
put '''';
put VALUE;
finish:
put '''';
end;
define event data;
start:
put ',' /if ^cmp( COLSTART, '1');
put '''';
put VALUE;
finish:
put '''';
end;
define event colspanfill;
put ',';
end;
define event rowspanfill;
put ',' /if ^exists( VALUE);
end;
define event breakline;
put NL;
end;
define event splitline;
put NL;
end;
registered_tm = '(r)';
trademark = '(tm)';
copyright = '(c)';
output_type = 'csv';
stacked_columns = OFF;
end; |