Command Line Utility for Resaving Derived Entities and Essbase Cubes
OFSAAI has facilitated a utility called MetadataReSave.sh to resave Derived Entity objects and Essbase Cubes. This file resides under ficdb/bin area. In case of resaving Derived Entities, you can use additional runtime filters dynamically to refresh only selected records in the Derived entities.
To run the utility directly from the console:
To run the utility through the Operations module:
- Navigate to the Operations module and define a batch.
- Add a task by selecting the component as RUN EXECUTABLE.
- Under Dynamic Parameter List panel, specify as following in the Executable field:
For resaving Derived Entities:
./MetadataReSave.sh,INFODOM,USERID,856,<Derived Entity code1>~<Derived Entity code2>
For resaving Derived Entities with Runtime Filters:
./MetadataReSave.sh,OFSAAAIINFO,AAAIUSER,856,DE006,4^5,-f,DIM_STANDARD_ACCT_HEAD.V_STD_ACCT_HEAD_ID='CAP622'
For resaving Essbase Cube:
./MetadataReSave.sh,INFODOM,USERID,5,<Essbase Code>
- Select Yes or No for the Wait and Batch Parameter drop-down lists. For more information, see Component: RUN EXECUTABLEComponent: RUN EXECUTABLE section.
After saving the Batch Definition, execute the batch to resave Derived Entity Objects or Essbase Cubes.
You can find the logs in $FIC_DB_HOME/log/MetadataReSave.log
.