MicroStrategy ONE

Update package management: Import Package statement

Imports a specified package file to a project.

Copy
IMPORT PACKAGE "<file_name>" [FOR PROJECT "<project_name>" [NOLOCKS]] [LOGONLY] [UPDATEOBJECTMODIFICATIONTIME];

where:

  • PACKAGE "file_name" is the path and name of the package file, of type string. If the filename or path contain spaces, they must be enclosed in double quotes (" ").

  • PROJECT "project_name" is the name of the project into which the package file is to be imported, of type string. If the project name is omitted, the package is assumed to be a configuration package and is imported into the project source.

  • NOLOCKS causes the updated objects to not be locked. No changes are made.

  • LOGONLY does not import the package, but instead creates a log of the changes that would be made if the package were imported.

  • UPDATEOBJECTMODIFICATIONTIME causes the modification time of the imported objects to be updated.

This statement is not subject to the Command Manager timeout limit.

Examples

Copy
IMPORT PACKAGE "C:\ProjectUpgrade.mmp" 
 FOR PROJECT "MicroStrategy Tutorial";

 

Copy
IMPORT PACKAGE "C:\ConfigUpdate.mmp";