how to compare two SPDS9 files using SAS Procedures.
or
how to convert SPDS files to SAS Datasets.
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.
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.
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?
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.
libname A base 'path';
libname B spde 'path'; /* can be the same path */
proc copy from B to A
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!
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.
Ready to level-up your skills? Choose your own adventure.