List, in descending order, the items with the word "fit" in their path name. The LIST statement lists the items in one or more template stores. The starting path base.univariate specifies the level within the template store where PROC TEMPLATE is to start listing the items. The WHERE expression finds items in the template store that have the word "fit" in their path name. The LOWCASE function converts all letters in an argument to lowercase. The SORT= option sorts the list of items. The items are sorted in descending order.
list base.univariate / sort=path descending where=(lowcase(path) ? 'fit'); run;