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?

 

sas-innovate-2024.png

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.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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