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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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