It's all about the answers!

Ask a question

RPE/PUB Error when running macro


Chris Hardy (3327) | asked Nov 16 '23, 10:15 p.m.
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

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




permanent link
Chris Hardy (3327) | answered Dec 13 '23, 12:22 a.m.
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

permanent link
Karan Dethalia (561) | answered Dec 13 '23, 1:49 a.m.

 Chris, 

I hope you have referred the "Running the macro by using the Macro name property" section . 

If there are any variables in your macro you will need to use post command property . 

Both of which is described in the document that I have shared above.


permanent link
Chris Hardy (3327) | answered Dec 13 '23, 2:01 a.m.
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

permanent link
Karan Dethalia (561) | answered Jan 22, 9:59 a.m.

 Chris,

Does your stylesheet works fine when you apply it manually ?? Does it run the macro ?


Comments
1
Ralph Schoon commented Jan 22, 10:05 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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.  


Chris Hardy commented Jan 22, 10:59 p.m.

Yes, all works fine if used manually.


Karan Dethalia commented Jan 22, 11:47 p.m.

Any chances you could share the template and stylesheet ?

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.