Steps

  1. Start a new SAS session.
  2. In the SAS Program Editor, select Filethen selectOpen Program, and then select CST_ODM/Programs/create_odmxml.sas.
  3. Select Runthen selectSubmit.
    The program outputs to the SAS log, creates an XML file odm_sample_out.xml in the CST_ODM/sourcexml directory. It also creates a write_results data set in the CST_ODM/results directory.
  4. Review the log to see whether there are any errors or warnings.
    There should be no errors or warnings.
  5. Review the write_results data set in the CST_ODM/results directory to ensure that the following conditions are met:
    Tip
    In the SAS Explorer, you can also view it as Write_results in the Results library.
    • The column labeled Process status (named _cst_rc) is 0 for all records.
    • The column named resultflag is 0 for all records.
    • The data set contains 70 records.
    • There is a record that contains scrdata="ODM_WRITE" that reports that the ODM file was created.
    • The last record that contains srcdata="ODM_XMLVALIDATE" reports that no errors were found in the ODM file.
  6. Ensure that the CST_ODM/sourcexml directory contains a new XML file odm_sample_out.xml that has the same size (321 KB) as the XML file odm_sample.xml in the same directory.
  7. Close the SAS session.