Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

...

.

Xfancy
classrowcaps
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".

markdown
Panelcode
titleYAML Example
linenumberstrue
```
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
  ...
...
```