Chapter Contents

Previous

Next
The TEMPLATE Procedure

LIST Statement


Lists the definitions in one or more template stores.

Availability: Version 8 of the SAS System


LIST <starting-path></ option(s)>;


Options

starting-path
specifies a level within each template store where PROC TEMPLATE starts listing definitions. For instance, if starting-path is base.univariate, PROC TEMPLATE lists only base.univariate and the items within it and within all the levels that it contains.
Default: If you do not specify a starting-path, the LIST statement lists all definitions in the specified template stores.
Restriction: This option must precede the forward slash (/) in the LIST statement.

SORT=statistic <sorting-order>
sorts the list of definitions by the specified statistic in the specified sorting order.

statistic
can be one of the following:

CREATED
is the date that the definition was created.

NOTES
is the content of any NOTES statement in the PROC TEMPLATE step that created the item.
Alias: LABEL

LINK
is the name of the definition that the current definition links to (see LINK Statement).

PATH
is the path to the current definition in the template store. (The path does not include the name of the template store).

SIZE
is the size of the definition.

TYPE
is the type of definition: COLUMN, FOOTER, HEADER, LINK, STYLE, or TABLE. If the item is not a definition, but simply a level in the item store, its type is DIR.

Default: PATH

sorting-order
specifies whether SORT= sorts from low values to high values or from high values to low values.

ASCENDING
sorts from low values to high values.
Alias: A

DESCENDING
sorts from high values to low values.
Alias: D

Default: ASCENDING

STATS=ALL | (statistic-1 <, ... statistic-n>)
specifies the information to include in the list of definitions.

ALL
includes all available information.

(statistic-1 <, ... statistic-n>)
includes the specified information. statistic can be one or more of the following:

CREATED
is the date that the definition was created.

NOTES
is the content of any NOTES statement in the PROC TEMPLATE step that created the item.
Alias: LABEL

LINK
is the name of the definition that the current definition links to (see LINK Statement).

SIZE
is the size of the definition.

Default: Whether or not you specify STATS=, the list of definitions always includes an observation number, the path to the definition, and its type.

STORE='libname.template-store'
specifies the template store to process.
Default: all template stores in the current template path (see PATH Statement).


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.