IMSTAT Procedure

IMPORTCUBE Statement

The IMPORTCUBE statement is used to read a cube descriptor file for a SAS High-Performance Risk pricing cube. The server converts the pricing information that is in the cube into an in-memory table.

Syntax

IMPORTCUBE <options>;

IMPORTCUBE Statement Options

CUBE="path-to-descriptor-file"

specifies the SAS High-Performance Risk descriptor file for the pricing cube. The procedure opens the descriptor file and examines the contents. If the file is not a cube descriptor file for a SAS High-Performance Risk cube or the version of the file does not match the IMSTAT procedure version, the procedure writes an error to the SAS log and stops processing statements.

Alias RISKCUBE=

HOST="host-name"

specifies the machine to use for exporting the SAS High-Performance Risk cube. If you do not specify the host, the procedure examines the GRIDHOST environment variable. You can use the PORT= and HOST= options to specify the server to use. The procedure does not determine the host and port information for the IMPORTCUBE statement from the currently active table.

PORT=number

specifies the port on which the server listens for connections. You can combine the PORT= and HOST= options to specify the server to use. If you do not specify the PORT= option the procedure uses the port number that is stored in the LASRPORT macro variable. The procedure does not determine the host and port information for the IMPORTCUBE statement from the currently active table

TABLENAME="table-name"

specifies the name of the in-memory table to use for the imported cube. A table by the same name must not already exist in the server.

Alias NAME=