Help using Base SAS procedures

proc datasets modify after copy

Accepted Solution Solved
Reply
Contributor
Posts: 43
Accepted Solution

proc datasets modify after copy

[ Edited ]

If you copy a data set to a different library then use the modify statement, does it modify the data set in the original library or in the library you copied to?

 

Also, can you use drop and keep statements or data set options in proc datasets?  Thank you.  


Accepted Solutions
Solution
‎04-26-2018 10:14 PM
Super User
Posts: 23,771

Re: proc datasets modify after copy

The lib option in the PROC DATASETS statement are the ones that is modified. If you don’t specify one, I think it’s the work library. 

 

Not sure about data set option but I suspect not. 

View solution in original post


All Replies
Solution
‎04-26-2018 10:14 PM
Super User
Posts: 23,771

Re: proc datasets modify after copy

The lib option in the PROC DATASETS statement are the ones that is modified. If you don’t specify one, I think it’s the work library. 

 

Not sure about data set option but I suspect not. 

☑ This topic is solved.

Need further help from the community? Please ask a new question.

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