Updating the data model properties
This topic describes how to update model properties on demand.
At the end of an ETL run, the 4_UPDATE_COGNOS scenario is automatically run. This process updates properties in the reports data model.
To update properties in the reports data model at any time, you can run the update_cognos_model_properties.nsh script on a schedule by using platform-specific operating system scheduling or on demand from the command line.
After updating the reports data model, refresh the model to see the updates.
To set up a schedule to run the script by using your operating system scheduler, refer to your OS documentation.
To update properties using the update_cognos_model_properties.nsh script
- Start the Network Shell.
From the command line, run the following script:
nsh update_cognos_model_properties.nshYou can use the -f argument with this command to force a model update. This is useful when previous model updates did not run properly and you need to force a model update to rectify previous run failures.
When you run the script, the update_model.log log file is created in the BDSSAInstallationDirectory/logs/update_model/timeStamp directory. This log file contains summary information about the model update, including the number of query subjects that were created, how many transfers failed, the time it took to publish the model, and whether a backup was created.