BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
HY_KIM
Calcite | Level 5

Scenario 4.

proc sort data=cert.laguardia out=work.laguardia;
by dest;
run;

title 'Laguardia Flights';
ods pdf file='LGA Airport' style=FestivalPrinter;
proc print data=work.laguardia;
by dest;
run;
ods pdf close;

When executing the above code in SAS Studio, an error message is displayed in the log stating,


78 ods pdf close;
"ERROR: Insufficient authorization to access /pbr/biconfig/940/Lev1/SASApp/LGA Airport."
79
80 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
90
Is there a solution to this issue?

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User
Modify the path to be to a location you can write to, so your user files.

ods pdf file='/home/fkhurshed/coursefiles/LGA Airport.pdf' ....

View solution in original post

2 REPLIES 2
Reeza
Super User
Modify the path to be to a location you can write to, so your user files.

ods pdf file='/home/fkhurshed/coursefiles/LGA Airport.pdf' ....
ballardw
Super User

This sort of message is because you did not specify a path where the file should be created. So the behavior of SAS without that information to use where the program is executing as the "path" and try to use that.

On a system you or your organization controls you should start file names with a path beginning at a drive (Windows), disc mount point, or server url name and path where you have permissions to write files. With a training environment like the practice sessions that path starts at the resource your class is using.

 

You may also want to consider providing an extension of your file such as .PDF to match the expected file type.

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

5 Steps to Your First Analytics Project Using SAS

For SAS newbies, this video is a great way to get started. James Harroun walks through the process using SAS Studio for SAS OnDemand for Academics, but the same steps apply to any analytics project.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 314 views
  • 2 likes
  • 3 in conversation