Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

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?

0 votes



5 answers

Permanent link

 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

0 votes


Permanent link
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

0 votes


Permanent link

 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.

0 votes


Permanent link
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

0 votes


Permanent link

 Chris,

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

0 votes

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 ?

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 332
× 3

Question asked: Nov 16 '23, 10:15 p.m.

Question was seen: 1,472 times

Last updated: Jan 22, 11:47 p.m.

Confirmation Cancel Confirm