BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
new_sas_user_4
Obsidian | Level 7

Thanks Chris!

I have now completed the step you mentioned above !

 

I ran :

 

%let report_dir = %sysfunc(pathname(work));

 

ods pdf file="&report_dir/Report.pdf" pdftoc=1 startpage=yes bookmarklist=hide;
Title j=l "^{style[preimage=&report_dir/B.png]}";

 

and get the error :

ERROR 22-322: Syntax error, expecting one of the following: a name, !, @, DYNAMIC, EXPRESSION, RESOLVE, SYMGET, _UNDEFINE_,
_UNDEF_, _UND_, |.

ChrisHemedinger
Community Manager

Try wrapping the preimage value in extra quotes.

 

ods escapechar='^';
ods pdf file="&report_dir./Report.pdf" pdftoc=1 startpage=yes bookmarklist=hide;

Title j=l "^{style[preimage=""&report_dir./B.png""]}";
Check out SAS Innovate on-demand content! Watch the main stage sessions, keynotes, and over 20 technical breakout sessions!
new_sas_user_4
Obsidian | Level 7

Worked like a charm!!

Thanks a ton for your patience and help!! 🙂

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 17 replies
  • 2624 views
  • 1 like
  • 4 in conversation