*-------------------------------------------------------------*;              
* program:     cdisc.sas                                      *;              
* Description: Verify SAS datasets against CDISC standards    *;
* By:          Sy Truong, 8/15/2003                           *;              
*-------------------------------------------------------------*;              

*** Update the path to reflect your location ***;
libname _cdisc_ '.';

%macro cdisc(datlib=, datname=);
   proc display cat = _cdisc_.Cdiscbld.cdisc.scl;
   run;
%mend ;

%macro install;
   *** Update the filename to reflect your location ***;
   filename outfile 'C:\temp\progs\cdisc.xpt';

   *** Perform CIMPORT to create a proper catalog ***;
   proc cimport catalog = _cdisc_.cdisc
      file = outfile;
   run;
%mend ;