CAUSALDISCOVERY Procedure

DISPLAY Statement

  • DISPLAY <table-list> </ options>;

The DISPLAY statement enables you to specify a list of display tables to display or exclude. This statement is similar to the ODS SELECT, ODS EXCLUDE, and ODS TRACE statements. However, the DISPLAY statement can improve performance when a large number of tables could be generated (such as in BY-group processing). The procedure processes the DISPLAY statement on a CAS server and thus sends only a subset of ODS tables to the SAS client. Because ODS statements are processed on a SAS client, first all the generated display tables are sent to the client, and then the client creates a subset.

If you use both DISPLAY and ODS statements together, the DISPLAY statement takes precedence over the ODS statements. Note that the ODS EXCLUDE statement processes tables that are sent to the client after they have been filtered by the DISPLAY statement. In some cases, it might appear that the ODS EXCLUDE statement is taking precedence because it can further filter the tables. For more information about ODS, see SAS Output Delivery System: Procedures Guide.

You can specify the table-list as a list of table names, paths, partial pathnames, and regular expressions.

The table names that you can specify are listed in the section ODS Table Names. A path is a table name that is prefixed with dot-separated grouping information. For example, a TopoOrders table that the procedure produces has the path Causaldiscovery.TopoOrders. A partial pathname does not include all groups; for example, TopoOrders is a partial pathname for Causaldiscovery.TopoOrders.

When you specify a table name or partial pathname, all display tables whose paths end in the specified name are selected for display or exclusion. For example, TopoOrders selects Causaldiscovery.TopoOrders.

A regular expression is enclosed in forward slashes (/). For example, specifying "/order/" selects all pathnames that contain the substring "order"; in particular, the Causaldiscovery.TopoOrders table is selected. Specifying "!/order/" selects all pathnames that do not contain the substring "order"; in particular, the Causaldiscovery.TopoOrders table is not selected.

You can specify the following options after a slash (/):

CASESENSITIVE

performs a case-sensitive comparison of table names in the table-list to display table names when tables are subsetted for display. To preserve case, you must enclose table names in the table-list in quotation marks.

EXCLUDE

displays all display tables except those that you specify in the table-list.

EXCLUDEALL

suppresses display of all tables. This option takes precedence over the other options.

TRACE

displays the display table names, labels, and paths.

Last updated: July 09, 2026