Run the preprocessing script as follows.
- To run the script using MQL:
- Start MQL.
- Set context to a Super User. For example,
Set context user <SUPER_USER> password <SUPER_USER_PASSWORD>;
- Execute the script using the command:
run <SCRIPT_PATH>/ LargeDBSchemaUpdate.tcl; All log messages display in the MQL window.
- To run the script using the command line and store log messages to the log file:
- Windows:
-
Start the Command Prompt and enter:
MQL_PATH\mql -c "set context user SUPER_USER password SUPER_USER_PASSWORD; run SCRIPT_PATH\LargeDBSchemaUpdate.tcl" -stdout:LOG_FILE -stderr:ERROR_FILE ¦
- UNIX:
-
Start the Command Tool and enter:
MQL_PATH/mql -c "set context user SUPER_USER password SUPER_USER_PASSWORD; run SCRIPT_PATH/LargeDBSchemaUpdate.tcl" 1>LOG_FILE 2>ERROR_FILE
Perform the following post-requisite steps, as appropriate.
Post-requisites:- If you did not run the entire script, uncomment or put back in the commands that did not run. Re-run the script until all commands for all versions are run. There is no harm in leaving in a command that has already been run. The script will skip a command if the modification has already been made.
- When you are finished running the script, reset any changed database settings back to the production values.
- After you have completed running all commands, install the new version of ENOVIA Business Process Services. Installing after running this script might generate Skipping/Syncing warning messages in the log for attributes that were added in the script.
|