Steps

  1. Start a new SAS session.
  2. In the SAS Program Editor, select Filethen selectOpen Program, and then select CST_CRTDDS/Programs/validate_crtdds_data.sas.
  3. Select Runthen selectSubmit.
    This program outputs to the SAS log and creates a validation_results data set and a validation_metrics data set in the CST_CRTDDS/results directory.
    Note: This code can fill up the log window if running interactively. If so, save the output of the log to a file when prompted to do so.
  4. Review the log to see whether there are any errors or warnings.
    There should be no errors or warnings.
  5. Review the validation_results data set in the CST_CRTDDS/results directory to ensure that the following conditions are met:
    Tip
    In the SAS Explorer, you can view it as validation_results in the Results library.
    • The column labeled Process status (named _cst_rc) is 0 for all records.
    • The data set contains 202 records.
    • There are 21 records that contain "Warning: Check not run." These records contain checkid="CRT0100" and resultid="CST0022".
  6. Review the validation_metrics data set in the CST_CRTDDS/results directory to ensure that the following conditions are met:
    Tip
    In the SAS Explorer, you can view it as validation_metrics in the Results library.
    • The data set contains 326 records.
    • The last record reports that there were 21 records with "Content errors, warnings and notes".
  7. Close the SAS session.