The NETWORK Procedure

DISPLAYOUT Statement

  • DISPLAYOUT table-spec-list </ options>;

The DISPLAYOUT statement enables you to create CAS output tables from your displayed output. This statement is similar to the ODS OUTPUT statement. For more information about ODS, see SAS Output Delivery System: Procedures Guide.

The table-spec-list specifies a list of CAS output tables to create. Each entry in the list has either a key=value format or a key format:

key=value

specifies key as the ODS table name, path, or partial pathname, and specifies value as the CAS output table name.

key

specifies key as the ODS table name and also as the CAS output table name.

The ODS table names that you can specify are listed in the section ODS Table Names. You cannot specify the ODS table named OutputCasTables in the table-spec-list.

Table names and partial pathnames are discussed under the DISPLAY statement. The DISPLAYOUT statement does not support regular expressions.

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

INCLUDEALL

creates output CAS tables for all display tables. The name of the created output CAS table is the same as the name of the corresponding display table. If you specify this option, the table-spec-list specification is ignored.

NOREPLACE

does not replace any existing CAS output table of the same name.

REPEATED

replicates all CAS output tables on all nodes.

The output tables that the NETWORK procedure produces when you use the DISPLAYOUT statement are a transposed version of the displayed tables. This allows for easier use in subsequent analyses, especially when it is used together with BY-group processing. Two examples of using the DISPLAYOUT statement are shown in Centrality Metrics for an Undirected Graph by Community and Shortest Path in a Road Network by Date and Time.

Last updated: November 22, 2022