|
Macros for SAS Application Developers
https://github.com/sasjs/core |
Returns a unique hash for a dataset. More...
Go to the source code of this file.
Ignores metadata attributes, used only to hash values. If used to compare datasets, they must have their columns and rows in the same order.
%mp_hashdataset(sashelp.class,outds=myhash) data _null_; set work.myhash; put hashkey=; run;

| [in] | libds | dataset to hash | ||
| [in] | salt= | () Provide a salt (could be, for instance, the dataset name) | ||
| [in] | iftrue= | (1=1) A condition under which the macro should be executed | ||
| [out] | outds= | (work._data_) The output dataset to create. This will contain one column (hashkey) with one observation (a $hex32. representation of the input hash)
|
Definition in file mp_hashdataset.sas.