RUFFyamahaRYDER
Programmer
I was researching how to have ODS output to excel and change the orientation to landscape plus change other little options and ran across tagset.excelXP. (
I downloaded it, modified some colwidth stuff and ran it. The problem is when I try to do anything with it I get an error. Here is my code:
/*******************/
ods tagsets.ExcelXP file="P:\MyDocs\rrt\RRT_Report.xls"
options(row_repeat='header'
embedded_titles='yes'
frozen_headers='yes'
scale='100'
orientation='landscape'
sheet_name='Report'
)
/*style=styles.kaisersmall*/
;
proc print data=rrt noobs;
where DATE gt 17045;
var ID DATE location Primary_reason Outcome Service time Arrived Event_ended DURATION;
Title1 justify=center "RRT Output";
Footnote1 justify=left "Location: 'insert later'";
run;
ods tagsets.excelXP close;
/***********************/
Here is the error:
64492 ods tagsets.ExcelXP file="P:\MyDocs\rrt\RRT_Report.xls"
64493 options(row_repeat='header'
-------
22
ERROR 22-322: Syntax error, expecting one of the following: ;, (, ANCHOR, ARCHIVE, ATTRIBUTES, AUTHOR, BASE, BODY, CHARSET,
CLOSE, CODE, CONTENTS, DATA, ENCODING, EVENT, FILE, FRAME, GFOOTNOTE, GPATH, GTITLE, HEADTEXT, METATEXT,
NEWFILE, NOGFOOTNOTE, NOGTITLE, OPERATOR, PAGE, PARAMETERS, PATH, RECORD_SEPARATOR, STYLE, STYLESHEET, TAGSET,
TEXT, TRANTAB, TYPE.
64494 embedded_titles='yes'
64495 frozen_headers='yes'
64496 scale='100'
64493 options(row_repeat='header'
-
200
ERROR 200-322: The symbol is not recognized and will be ignored.
Any help would be greatly appreciated.
I downloaded it, modified some colwidth stuff and ran it. The problem is when I try to do anything with it I get an error. Here is my code:
/*******************/
ods tagsets.ExcelXP file="P:\MyDocs\rrt\RRT_Report.xls"
options(row_repeat='header'
embedded_titles='yes'
frozen_headers='yes'
scale='100'
orientation='landscape'
sheet_name='Report'
)
/*style=styles.kaisersmall*/
;
proc print data=rrt noobs;
where DATE gt 17045;
var ID DATE location Primary_reason Outcome Service time Arrived Event_ended DURATION;
Title1 justify=center "RRT Output";
Footnote1 justify=left "Location: 'insert later'";
run;
ods tagsets.excelXP close;
/***********************/
Here is the error:
64492 ods tagsets.ExcelXP file="P:\MyDocs\rrt\RRT_Report.xls"
64493 options(row_repeat='header'
-------
22
ERROR 22-322: Syntax error, expecting one of the following: ;, (, ANCHOR, ARCHIVE, ATTRIBUTES, AUTHOR, BASE, BODY, CHARSET,
CLOSE, CODE, CONTENTS, DATA, ENCODING, EVENT, FILE, FRAME, GFOOTNOTE, GPATH, GTITLE, HEADTEXT, METATEXT,
NEWFILE, NOGFOOTNOTE, NOGTITLE, OPERATOR, PAGE, PARAMETERS, PATH, RECORD_SEPARATOR, STYLE, STYLESHEET, TAGSET,
TEXT, TRANTAB, TYPE.
64494 embedded_titles='yes'
64495 frozen_headers='yes'
64496 scale='100'
64493 options(row_repeat='header'
-
200
ERROR 200-322: The symbol is not recognized and will be ignored.
Any help would be greatly appreciated.