Help using Base SAS procedures

Proc Datasets

Accepted Solution Solved
Reply
New Contributor
Posts: 4
Accepted Solution

Proc Datasets

[ Edited ]

Hi All,

 

I am new to SAS hence can someone help me to understand how is Proc Dataset diiferent from Proc Contents, Proc copy, proc append as it has all the capability.

 

Also Which one is between proc dataset and (proc Contents, Proc copy, proc append).

 

Thanks and regards,

Saket


Accepted Solutions
Solution
‎05-10-2016 09:22 AM
Super User
Posts: 5,254

Re: Proc Datasets

Yes, they overlap somewhat in capabilities. When it does, it's matter of personal liking which PROC to chose.

Generally, PROC DATASETS lets you change data set attributes, including indexes/constraints.

PROC CONTENTS is doing only reports.

PROC COPY/APPEND works on physical data (and yes, you could do similar things in DATASETS).

 

To add, you could many of these things in PROC SQL as well...

Data never sleeps

View solution in original post


All Replies
Solution
‎05-10-2016 09:22 AM
Super User
Posts: 5,254

Re: Proc Datasets

Yes, they overlap somewhat in capabilities. When it does, it's matter of personal liking which PROC to chose.

Generally, PROC DATASETS lets you change data set attributes, including indexes/constraints.

PROC CONTENTS is doing only reports.

PROC COPY/APPEND works on physical data (and yes, you could do similar things in DATASETS).

 

To add, you could many of these things in PROC SQL as well...

Data never sleeps
Super User
Posts: 10,460

Re: Proc Datasets

Proc datasets also lets you change variable attributes such as format and label or rename variables.

☑ This topic is SOLVED.

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

Discussion stats
  • 2 replies
  • 248 views
  • 1 like
  • 3 in conversation