This example shows programming code specified for 1 analysis and 1 output. In both cases the context attribute shows "SAS Version 9.4" as the name and version of the computer language used for the programming code statements.

Lines 2-10:

Show the "Comparison of Age by Treatment" analysis with the programming code statements provided directly in the code attribute.

Lines 14-19:

Show the "Summary of TEAE by System Organ Class and Preferred Term" output, where programming code statements are provided by reference to the programming code document identified as "at14-5-01_sas".

YAML Example
analyses:
- name: Comparison of Age by Treatment
  id: An03_01_Age_Comp_ByTrt
  programmingCode:
    context: SAS Version 9.4
    code: 'proc glm data=ADSL;
      class TRT01A;
      model AGE=TRT01A;
      ods output OverallANOVA=results.ANOVAGE (where=(source = ''Model''));
      run;'
  ...
...
outputs: 
- id: Out14-3-2-1
  name: Summary of TEAE by System Organ Class and Preferred Term
  programmingCode:
    context: SAS Version 9.4
    documentRef:
      referenceDocumentId: at14-5-01_sas
  ...
...
  • No labels