%adam_createdisplay
(displaysrc=Metadata,displaycode=, useanalysisresults=, usetlfddt=,
displayid=, displaypath=) /des='CST: Create ADaM analysis result';
[ Exposure: external
] [ Macro Type: ADAM Reporting ]
Generate an analysis
result from ADaM analysis data sets.
The basic function of
this code module is to create an analysis result display. The path
to the code to create the display is provided either directly in the
macro parameters or is derived from a metadata source. Examples of
metadata sources are analysis results metadata or tables, listings,
and figures data definition metadata (TLFDDT) that you maintain and
reference in the SASReferences data set.
Two primary paths (parameter
settings) are supported:
-
A code source is specified. A fully qualified path
is required. The expectation is that this module will be %included
below to generate an analysis result (display).
-
Metadata provides the information necessary to generate
an analysis result (display). This metadata is in the form of the
CDISC ADaM analysis results metadata, supplemental tables, listings,
and figures data definition metadata (TLFDDT), or both.
Parameters:
-
(Required) displaysrc: Specifies
where information comes from to generate the result. Valid values
are: Code | Metadata (default).
-
displaycode: Specifies either a
valid filename or the fully qualified path to the code that produces
an analysis result. If displaysrc=Code, this parameter is used and
is required. All of the remaining parameters below are ignored.
-
useanalysisresults: Specifies whether
the study-specific analysis results metadata are used to provide report
metadata. Valid values are: N | Y (default). Either this parameter
or usetlfddt must be set to Y if displaysrc=Metadata. If both useanalysisresults
and usetlfddt parameters are set to Y, useanalysisresults takes precedence.
-
usetlfddt: Specifies whether the
study-specific mock table shell’s metadata (known as tables,
listings, and figures data definition metadata (TLFDDT)) are used
to provide report metadata. Valid values are: N | Y (default). Either
this parameter or useanalysisresults must be set to Y if displaysrc=Metadata.
If both useanalysisresults and usetlfddt parameters are set to Y,
useanalysisresults takes precedence.
-
displayid: The ID of the display
from the designated metadata source. This parameter is required if
displaysrc=Metadata.
-
(Optional) displaypath: Either
a valid filename or the fully qualified path to the generated display.
If not provided, the code looks in SASReferences for type=report.
File: adam_createdisplay.sas