Unable to refresh the cognos powerplay cube using a cognoscript macro.
Error message:
AutoExe: trModel(CreateMDCFiles): (TR0102) The Process or action was
cancelled at your request.
If you open the same model using PowerPlay Transformer and try to generate cubes, the following error pops up:
Powerplay Transformer Warning
(TR0787) The locking of cube 'd:\gg_etltools_model1.pyi' failed. It is probably in use by another application. Select Yes to retry, No to create the Cube using a temporary name or Cancel.
Solution:
The easiest workaround of the problem is to change the powercubes generation path in the model (it can be done in PowerPlay Transformer: Powercubes -> Properties -> Output -> PowerCube File Name).