Steps

  1. Start a new SAS session.
  2. In the SAS Program Editor, select Filethen selectOpen Program, and then select CST_ODM/Programs/validate_odm_data.sas.
  3. Select Runthen selectSubmit.
    The program outputs to the SAS log and creates a validation_results data set and a validation_metrics data set in the CST_ODM/results directory.
    Note: This program 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_ODM/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. There are two failures of ODM0110.
    • The data set contains 385 records.
    • There are two records with resultflag=1 and resultseverity="Error". Both of these records have checkid="ODM0110".
      Note: The errors messages are expected and are included in the sample data to cause a validation error for demonstration purposes.
      errors messages expected and included in the sample data to cause a validation error for demonstration purposes
  6. Review the validation_metrics data set in the CST_ODM/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 656 records.
    • The last record reports that there were two records with "Content errors, warnings and notes".
  7. Close the SAS session.