You can use both OUTCUBE
and OUTSCHEMA options to create a new cube in a different schema.
In this example, a new cube called TSTCUBE is created and it resides
in the schema TESTSCHEM.
proc olap fact=olapsio.factcars cube=PRODCUBE
OUTSCHEMA=TESTSCHEMA
OUTCUBE=TSTCUBE
ADD_DATA;
metasvr host=&host port=&port protocol=&protocol userid=&userid pw=&pw
repository=&repos olap_schema=PRODSCHEMA;
run;
The possible functions
that you can perform on a SAS OLAP cube depend on whether the cube
is the original cube or a generation of a cube. These functions can
also depend on which generation of the original cube it is. Any generation
of a cube can have calculated members added to or deleted from it.
However, only the most current cube generation can be edited, rebuilt,
tuned, or updated. You can add data to cubes that are created in SAS
9.2. A cube built in SAS 9.1.3 must be rebuilt in SAS 9.2 in order
to use the Incremental Update function. Furthermore, you must have
ReadMetadata and WriteMetadata permissions for all elements of the
cube. See
Generating a New Cube for a discussion
of creating a cube generation with the SAS OLAP Cube Studio Incremental
Update Wizard.
Note: The SAS OLAP Cube Studio
right-click menu options for Edit, Create, Manual Tuning, Advanced
Tuning, and Delete Physical Cube are not active if the cube is not
the current generation.