[DDI-users] SAS CNTLIN CNTLOUT dataset in DDI31

Hoyle, Larry larryhoyle at ku.edu
Thu Oct 14 11:21:03 EDT 2010


SAS (and Stata) are a little different from SPSS in that labels for
values are defined independently from variables. A Variable then
contains a pointer to a set of labels (formats).

SAS has the capability to create a dataset containing a collection of
label definitions, a "CNTLOUT" dataset. This can be then used as a
"CNTLIN" dataset to recreate the collection of labels. Preserving a SAS
dataset involves preserving the dataset itself and the associated CNTLIN
dataset.

Since the structure of the CNTLIN dataset is always the same, it is a
good candidate for a DDI 3.1 resource package. A draft of such a package
can be found at:


https://documents.ku.edu/users2/larryhoyle/Public/DDI31/SAS_CNTLIN_CNTLO
UT_ResourcePackage.xml

A SAS program which writes the above DDI file can be found at:

https://documents.ku.edu/users2/larryhoyle/Public/DDI31/SAS_CNTLIN_CNTLO
UT_ResourcePackage_SASputs.sas 


Feedback would be appreciated.



Larry Hoyle
Senior Scientist
Institute for Policy & Social Research, University of Kansas
1541 Lilac Lane, Blake 607
Lawrence, KS  66045-3129

http://www.ipsr.ku.edu




More information about the DDI-users mailing list