BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Sk4r
Obsidian | Level 7

Hi, I'm in an intership from 3 weeks where I learned some SAS programming. Then, my supervisor tasked me to check a problem on another department, supposedly the person in charge of using SAS there generates pdf/excel/word reports using SAS EG4 on a windowsXP enviroment, where there are some ods printer statements (default one, just ods printer) to send it to a printer automatically, so with this computer he works correctly, but then it happened something.

My supervisor told me that last year they decided to migrate the same program (without modifying any code) to windows 10 with SAS EG7.1, to get updated the OS, I indeed checked both versions, and they are same. Problem in this enviroment is that it indeed generates the report files, but it doesn't send it to the printer. I thought at first that the new computer didn't set the same printer by default, but I gathered some information about the situation, and the printer is setted correctly.

 

So, before making it even longer, my question is were there some changes for windows10 or newer versions of EG that could have affected how the code sent the results to the printer?

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

Many EG setups involve a SAS server. It may be that settings in the SAS server were not updated for something like permissions for that particular user to actually access the printer. Or perhaps the server is attempting to use a printer that the server doesn't have mounted correctly.

 

 

View solution in original post

6 REPLIES 6
ballardw
Super User

Many EG setups involve a SAS server. It may be that settings in the SAS server were not updated for something like permissions for that particular user to actually access the printer. Or perhaps the server is attempting to use a printer that the server doesn't have mounted correctly.

 

 

Sk4r
Obsidian | Level 7

Hi, thank you for your response. How should check those settings? Sadly, I havent learned enough to check those values.

ballardw
Super User

If this is a SAS server environment you should have a SAS Admin that controls such settings. That would be the person to get involved.

Sk4r
Obsidian | Level 7

Thank you for your response, I'll contact to my supervisor to contact the administrator.

Sk4r
Obsidian | Level 7

@ballardw Hi, got another problem in the same computer (windows10). Supposedly, the person in charge can't overwrite report files with ods, but in windowsXP it can, so it seems that computer settings are a mess. I'll try to gather information to trace the problem. 

ballardw
Super User

@Sk4r wrote:

@ballardw Hi, got another problem in the same computer (windows10). Supposedly, the person in charge can't overwrite report files with ods, but in windowsXP it can, so it seems that computer settings are a mess. I'll try to gather information to trace the problem. 


That sort of sounds like a permissions issue. It may be a generic permission and not SAS specific as per user permissions may be set. The specific person or process likely needs a delete permission to overwrite an existing file. And sometimes the permissions used could be the server process on the person submitting code.

 

I don't work in an EG environment so can't point to specific places to look though.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 6 replies
  • 1858 views
  • 0 likes
  • 2 in conversation