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""]}";
It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.
new_sas_user_4
Obsidian | Level 7

Worked like a charm!!

Thanks a ton for your patience and help!! 🙂

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 2562 views
  • 1 like
  • 4 in conversation