Supporting Macros

The following macros have been added to the SAS Clinical Standards Toolkit 1.5. These macros directly support internal validation. Many of these macros are also used for other purposes.
These macros are located in the primary SAS Clinical Standards Toolkit autocall path:
  • Microsoft Windows
    !sasroot/cstframework/sasmacro
  • UNIX
    !sasroot/sasautos
For complete macro documentation, see the online macro API reference documentation.
Autocall Macros Added in Support of Internal Validation
Macro
Primary Purpose
cstcheckentitynotfound
Reports that a SAS Clinical Standards Toolkit entity (typically a file, folder, or column) cannot be found.
cstcheckutilcheckfile
Determines whether a file exists as defined by columns in a source data set.
cstcheckutilcheckfolder
Determines whether a folder exists as defined by columns in a source data set.
cstcheckutilcheckstructure
Compares the structure of data sets referenced within StandardSASReferences or SASReferences data sets against a template.
cstcheckutilfindsasrefsfile
Determines whether designated files in the referenced SASReferences data set exist.
cstcheckutillookupvalues
Determines whether metadata column values for discrete columns exist in the Standardlookup data set.
cstutilbuildmetadatafromsasrefs
Builds the framework reference_tables and reference_columns data sets.
cstutilbuildstdvalidationcode
Generates the validation-specific macro _cstreadStds to build the workflow.
cstutilcheckforproblem
Handles any error condition that sets error condition _cst_rc to 1.
cstutilcheckwriteaccess
Checks for Write access for an output object.
cstutilcomparestructure
Compares the metadata structure of two data sets.
cstutilfindvalidfile
Checks whether a folder, file, data set, catalog, or catalog member exists.
cstutilprocessfailed
Returns a Boolean value to report whether a process failed.
cstutilvalidatesasreferences
Validates the structure and content of a SASReferences data set.
cstutilvalidationsummary
Summarizes the contents of the validation process results data set.