BookmarkSubscribeRSS Feed
maheshsompalli
Calcite | Level 5

how to compare two SPDS9 files using SAS Procedures.

 

or

 

how to convert SPDS files to SAS Datasets.

5 REPLIES 5
ChrisNZ
Tourmaline | Level 20

1. proc compare is the data comparison utility in SAS. The underlying data engine does not matter.

2. proc copy from a SPDE library to a V9 library.

SPDE tables tables present many advantages over V9 tables though, so be sure that's actually what you want.

 

 

 

 

 

maheshsompalli
Calcite | Level 5

So this means, we use Proc Copy to convert SPDS files to normal SAS Datasets. or using libname <libref> SPDE <path> can also produce the same result? I have a small doubt in it.

LinusH
Tourmaline | Level 20

You can't compare <files> using PROC COMPARE, it will compare the data set as an object, regardless of the physical files. But perhaps you mean data sets/tables rather than files?

Data never sleeps
maheshsompalli
Calcite | Level 5

So this means, we use Proc Copy to convert SPDS files to normal SAS Datasets. or using libname <libref> SPDE <path> can also produce the same result? I have a small doubt in it.

ChrisNZ
Tourmaline | Level 20

libname A base 'path';

libname B spde 'path'; /* can be the same path */

proc copy from B to A

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 5 replies
  • 2344 views
  • 1 like
  • 3 in conversation