BookmarkSubscribeRSS Feed
Reeza
Super User

You mention changing a template so this means you're writing to an existing file. But you've specified the replace option, does that make sense for what you're doing?

 

Beyond this, you should probably talk to your tech support or SAS tech support, I don't think there's much further we can help you with here.

sjiawei
Calcite | Level 5

maybe you cann`t access the [C:\paycal.xlsx]. Right click the file → property→security. Check the user that used to run the sas pg. If  it is not exist, add it. so you can fix the problem.

 

file permission have changed when you copy the file.

 

preston1
Calcite | Level 5

I had the same issue then realized someone else had changed the name of the path directory where I was trying to place the EXCEL files. Make sure you have access to write wherever SAS is trying to write.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 17 replies
  • 28607 views
  • 1 like
  • 5 in conversation