BookmarkSubscribeRSS Feed
citizen_1
Calcite | Level 5

I am using the below code. When i run the job on the scheduler, sometimes i am getting this error. so not sure how to fix the issue. The issue doesn't come on every run, only once in a while.

 

can you help me how i can fix this PIPE issue permanently.

 

Code:

filename mac pipe 'dir "\\testdrive\in" /b';
data file;
infile mac truncover;
input file_name $1000.;
run;

 

 

ERROR: Insufficient authorization to access PIPE

ERROR: Error in the FILENAME Statement

 

ERROR: No logical assign for filename MAC.

 

1 REPLY 1
Kurt_Bremser
Super User

This looks like the message one gets when XCMD is disabled. Do you run this on a grid? If yes, one of the servers might be mis-configured.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 839 views
  • 0 likes
  • 2 in conversation