BookmarkSubscribeRSS Feed
jgrotheer
Calcite | Level 5

Hello, question dealing with SAS LSAF. I have a program that at one point uses &_SASWS_/ to assign a libref via a libname statement and depending on a condition check either outputs a dataset or imports data from the location to be used in a data step. There are no issues at all running in my workspace; the program runs completely fine under both conditions. However, when I run in a repository via a job with relative paths, the datasets are output fine in those cases, but I get errors saying the data does not exist when the data is trying to be read in (even though I can see the datasets there). Any idea why this is? Do I need to update the path or job in some way so it can correctly find and import the data from the repository location? Thank you.

1 REPLY 1
nikhilwagh
Obsidian | Level 7

Hi @jgrotheer,

I hope you have included the correct paths for the dataset location in the job file. Usually it happens the job works fine in WS but fails in Repository.

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

Health and Life Sciences Learning

 

Need courses to help you with SAS Life Sciences Analytics Framework, SAS Health Cohort Builder, or other topics? Check out the Health and Life Sciences learning path for all of the offerings.

LEARN MORE

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