BookmarkSubscribeRSS Feed
Dhruva81
Calcite | Level 5

Hi All,

 

In SAS Enterprise window , the  setup trigger and schedular to run the script every 4 hrs automatically. Every 4hrs the trigger should execute and convert the SAS dataset into a CSV file and place the CSV file in the xyz folder.

But the issue, here is trigger executes the script the files ,but does not created in the folder xyz.

But when the scripts is executed manually , it creates the file in the folder.

 

Pleas could you help the issue.

 

Thanks ,

Dhruva

 

 

 

3 REPLIES 3
JosvanderVelden
SAS Super FREQ
How do you convert it to csv? ODS? Filename?
Do you clear the filename or ODS Destination so SAS releases the file in the script?

Best regards, Jos
Dhruva81
Calcite | Level 5
HI,By using the proc export. Below for reference.
Proc export data = Non_engaged
outfile ="/nbt/nfs/Prod/test_sample.csv"
dbms=csv replace;
delimiter = ",";
run
SASKiwi
PROC Star

What does your scheduled SAS program log report for the PROC EXPORT step? Please add this to your post.

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

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 3 replies
  • 816 views
  • 0 likes
  • 3 in conversation