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
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
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.