The schema validation utility finds missing, extra, and modified schema objects for a P6 database. Depending on the operating system, use the appropriate file to run the schema validation.
validate.bat
validate.sh
To run the schema validation, proceed as follows.
@echo off
REM --------------------------------------
REM Run the Primavera Schema Validation Tool
REM --------------------------------------
SET JAR_FILE_DIR=lib
SET JAR_FILE_NAME=dbmt.jar
SET DB_SCHEMA=ppm
SET JVM_PROPERTIES=-Ddbmt.dbschema.package.location=%JAR_FILE_DIR% -Dprimavera.db.schema=%DB_SCHEMA% -Dcom.primavera.database.logfile=SchemaValidation.log
SET DBMT_ACTION=application/ppmschemaval
SET DBMT_COMMAND=schemavalpm
set JAVA_HOME=C:\Program Files\Java\jre6
IF NOT EXIST "%JAVA_HOME%\bin\java.exe" (
echo JAVA_HOME IS NOT SET
pause
goto :EXIT
)
validate.bat
(or validate.sh
).For an Oracle database in an Enterprise environment, enter values for the following:
Note: When running for an Enterprise version of the database, you will be prompted for the appropriate privileged and public usernames.
For a SQL Server 2005 database, enter values for the following:
Note: When running for an Enterprise version of the database, you will be prompted for the appropriate privileged and public user names.
Related Topics |
Legal Notices
Copyright © 1999, 2014,
Oracle and/or its affiliates. All rights reserved.
Last Published Friday, March 28, 2014