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 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 1344 views
  • 0 likes
  • 4 in conversation