PROC COPY

Reply
Contributor
Posts: 42

PROC COPY

I am copying a dataset from the WORK library to another SAS library named VITAL.  The code I am using is below.  The VITAL library already contains a dataset with the same name (B2015P).  Will the existing dataset B2015P be overwritten with the new data after PROC COPY is ran (desired result)? I know with using PROC EXPORT I am able to indicate REPLACE but did not find this option with PROC COPY.   Thanks.

 

proc copy in=WORK out=VITAL;

select B2015P /memtype=data;

run;

Super User
Posts: 5,383

Re: PROC COPY

Why don't you try yourself?

Data never sleeps
Ask a Question
Discussion stats
  • 1 reply
  • 203 views
  • 0 likes
  • 2 in conversation