I was doing problem 5.6 for regression. And SAS gives me this error. I could not figure out how to fixed it by myself.
thank you so much for helping.
You need to specify a path for the graphics files where you have write permission. You can't create sasgraph.png (which will be the file containing your GRAPH output) in the SAS configuration tree, where only the SAS install user has write permissions.
Hi:
Generally, when you have the folders "biconfig" and "Lev1" and "SASApp" in a folder path when using SAS on a server with Enterprise Guide, that is hinting at 2 things: 1) your Enterprise Guide application is talking to SAS as part of a BI server installation and 2) you probably do not have write access to the default location where SAS/GRAPH is trying to write the image file.
My recommendation would be that you work with Tech Support. Someone will need to look at the code that you submitted in EG (probably via a Task or Wizard) and either make a suggestion for how to write to a temporary directory or how to get your SAS Admin to give you a location where you can write files.
cynthia
Please post your questions in your own threads, such old threads won't attract much attention.
Your SAS workspace server runs on a remote UNIX server, so you need to use a pathname that
Right-click on your "My folders", and take the path information from there.
Your path needs to start with a forward slash, indicating an absolute path that starts at system root.
Hi:
If you are using SAS OnDemand for Academics, you should open the Server Files and Folders pane. At the top of that pane, you should see a top node called Files(Home). Right click on that top folder to make a new folder called output. Now, once that folder is created you can right click on the folder and choose Properties. In the location field of the Properties window, you should see the path to your new output folder. It should be something like:
/home/<youruserID>/output
Assuming you put the output folder directly under the Files(Home) folder and didn't nest it under any other folder, you'll need to use that path. SAS OnDemand for Academics does not have the ability to write to your C drive on Windows. SAS OnDemand for Academics can only write to the folders that you see under Server Files and Folders. Then, after your output is created in that folder, you can right click and download to your machine.
So let's say that your userID is u1234567, so if you make an output folder, your path would be:
/home/u1234567/output
That means your ODS PDF statement would be:
ODS PDF file='/home/u1234567/output/myreport.pdf';
*** more code;
ODS PDF close;
And if the step runs correctly, you'd see the PDF file in the output folder and then you could right click on it to download it to your machine.
Cynthia
Hi
I don't know how old this query is but my solution is this try other way slash in path if you type everything right.
ie pbr/biconfig/940/Lev1/SASApp/C:\Users\539605\MANI.pdf.
it should be pbr/biconfig/940/Lev1/SASApp/C:/Users/539605/MANI.pdf.
Thanks..!!
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.