RPE/PUB Error when running macro
Using DOORS Next and RPE/PUB 7.0.2
When I try to run a report through launcher which specifies a macro, I am getting the following message:
CRRPE1064I Running macro ...
Error running macro. Error: -2147352573 - Can't run the specified macro
Error running macro. Error: -2147352573 - Can't run the specified macro
I have updated the .ini files to include:
-Dcom.ibm.rational.rpe.enable_commands=true
I can run the macro manually with no issue.
The macro currently resides in the style sheet (.dotm) file
I have confirmed that the style sheet is being picked up and applied correctly for styles etc.
If I move the macro to my generic word normal.dotm - the macro works without issue in RPE/PUB
Side question: should the macros be copied into the generated document?
5 answers
Please refer to link on how to run macros if that helps - https://www.ibm.com/docs/en/engineering-lifecycle-management-suite/lifecycle-optimization-publishing/7.0.3?topic=SS6RHZ_7.0.3/com.ibm.rational.pe.publishing.doc/topics/t_macros.htm
Hi Karan,
Sorry but that doesn't address the issue.
I can run the macro manually with no issue.
The macro currently resides in the style sheet (.dotm) file
I have confirmed that the style sheet is being picked up and applied correctly for styles etc.
If I move the macro to my generic word normal.dotm - the macro works without issue in RPE/PUB
Hi Karan,
Sorry but that doesn't address the issue.
The macro doesn't use any viables.
If I move the macro to my generic word normal.dotm - the macro works as per "Running the macro by using the Macro name property" section.
But if the macro resides in the stylesheet it fails with the following:
CRRPE1064I Running macro ...
Error running macro. Error: -2147352573 - Can't run the specified macro
Error running macro. Error: -2147352573 - Can't run the specified macro
Chris,
Does your stylesheet works fine when you apply it manually ?? Does it run the macro ?
Comments
I would like to point out, that this forum supports comments. Unless you want to actually answer a question, please use comments. The only reason not to use a comment to comment is the limit of characters that are supported in comments.
1 vote
Yes, all works fine if used manually.
Any chances you could share the template and stylesheet ?