BookmarkSubscribeRSS Feed
Kinston
Calcite | Level 5

Hi, experts,

i am using enterprise guide 7.1 to output a pdf file

this is the code.

 

 filename gsasfile pipe 'lp -d HP_4700_GH -onb';

 

below are the two  error messages i have been receiving.


ERROR: Insufficient authorization to access PIPE.
ERROR: Error in the FILENAME statement.

 

can someone heop me on that?

thanks

3 REPLIES 3
SASKiwi
PROC Star

What happens if you use the same command from a command line on the SAS application server: lp -d HP_4700_GH -onb? Do you get the same error? This is a permission problem with your user account on the SAS application server so you should talk to your server administrator to fix it. 

Tom
Super User Tom
Super User

Looks like your server has set NOXCMD option.

Use one of these commands to see your current settings.

%put sysfunc(getoption(xcmd));
proc options option=xcmd; run;

If it is off then you need to talk to your SAS administrator.

Reeza
Super User

I'm slightly confused. 

To create a PDF file can you use ODS PDF with a path to a folder that you have access rights?

 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1792 views
  • 0 likes
  • 4 in conversation