The create_crtdds10_from_sdtm311.sas
driver program sets up the required environment variables and library
references to initiate the crtdds_sdtm311todefine10.sas macro. This
macro extracts data from the SDTM 3.1.1 or 3.1.2 metadata files. (For
more information about the source_tables and source_columns data sets,
see
Source Metadata.) Depending on the available source information, the macro
attempts to convert the information into the 39 tables that represent
the SAS interpretation of the CDISC CRT-DDS 1.0 model. All 39 data
sets are created, but only those data sets with the available data
are populated. The other tables contain zero observations.
The following
parameters must be set by the user before submitting the macro:
Parameters for the crtdds_sdtm311todefine10.sas Macro
|
|
|
|
|
Identifies the library
reference (LIBNAME) where the tables are created.
|
|
|
A data set that contains
the SDTM metadata for the domains to be included in the CRT-DDS file.
|
|
|
A data set that contains
the SDTM metadata for the domain columns to be included in the CRT-DDS
file.
|
|
|
A data set that contains
the SDTM metadata for the studies to be included in the CRT-DDS file.
|
The following
is an example of a call to the crtdds_sdtm311todefine10.sas macro:
%crtdds_sdtm311todefine10(
_cstOutLib=srcdata,
_cstSourceTables=sampdata.source_tables,
_cstSourceColumns=sampdata.source_columns,
_cstSourceStudy=sampdata.source_study
);
In the
example, the crtdds_sdtm311todefine10 macro sets
_cstOutLib
to
srcdata
. All of the CRT-DDS-defined
tables are written to the SAS Srcdata library. The
_cstSourceTables
parameter accesses the source_tables data set that exists in the
Sampdata library (
sampdata.source_tables
).
The
_cstSourceColumns
parameter accesses
the source_columns data set that exists in the Sampdata library (
sampdata.source_columns
). The
_cstSourceStudy
parameter accesses the source_study data set that exists in the
sampdata library (
sampdata.source_study
).
The create_crtdds10_from_sdtm311.sas
driver program is provided with SAS, and it is ready to run on any
of the SDTM sample studies. Although the program name implies that
it is specific to SDTM 3.1.1, it operates on both CDISC SDTM 3.1.1
and 3.1.2 domains. The driver program can be run interactively or
in batch. To run the program interactively, start a SAS session, and
load the driver program into the SAS editor.
For SAS
9.1.3, the driver program is located at:
!sasroot/../SASClinicalStandardsToolkitCRTDDS10/1.3/sample/cdisc-crtdds-1.0/programs/create_crtdds10_from_sdtm311.sas
For SAS
9.2, the driver program is located at:
!sasroot/../../SASClinicalStandardsToolkitCRTDDS10/1.3/sample/cdisc-crtdds-1.0/programs/create_crtdds10_from_sdtm311.sas
The value
for
!sasroot
is the location of your SAS
installation directory.