1 %put %sysfunc(pathname(work)); C:\Users\JselZ\AppData\Local\Temp\SAS Temporary Files\_TD16732_LAPTOP-S06C0GDM_
This is the output. I don't think this is a network location or an onedrive backup folder.
Problem solved!
It's actually caused by a printer of my school, which is set by windows as default and is disconnected at home. It seems that SAS will check for printers while initializing so it also explains my another question on being stuck for using ods.
I found the solution here
Very good! I knew about that particular printer issue (it has come up here every now and then), but I had it buried too deep in the backyards of my mind. I take it that several of the senior users participating in this thread will have a similar moment:
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!
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.
Ready to level-up your skills? Choose your own adventure.