Is there a way you can have an ods pdf file be named with the value of a variable. For example, if have a field with a course number (ENGL.1301.87, ENGL.1301.88, ENGL.1301.89, etc.), can I make my file name be the corresponding record in the course number variable? If so, how? Can someone point me in the right direction?
Thanks!
I don't understand if you want name PDF file at running ODS PDF FILE=.. , you can try CALL EXECUTE .
If you want rename PDF file after they are already created , then check function RENAME() .
Xia Keshan
Are you creating and output file for each record of a dataset? Or are you wanting to direct all of like records to the same document?
I don't understand if you want name PDF file at running ODS PDF FILE=.. , you can try CALL EXECUTE .
If you want rename PDF file after they are already created , then check function RENAME() .
Xia Keshan
Sorry for the late reply, but this worked! Thank You!
I don't understand if you want name PDF file at running ODS PDF FILE=.. , you can try CALL EXECUTE .
If you want rename PDF file after they are already created , then check function RENAME() .
Xia Keshan
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.
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.