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

Automating report generation in RPE

HI,

I have a scenario like we are taking monthly report of all users form clear quest.As of now we using a external variable and filtering the report.So now requirement is like that we need to pass like 20 user name as variable and need to generate the individual  report for each user  and store in a folder. Can anyone give suggestions regarding this.

0 votes



One answer

Permanent link
You can think of 2 different solutions:
1. Using a single document specification file:
Use an Iteration element in the template. Pass all 20 user names as comma separated values for the variable. Using split function, store the user names in an array. The iteration will run for every element (user name) in the array. Use a Document Break element so that the output will be saved as a separate file for each user.

2.Use an external variable in the template that takes single username. You will create 20 different document specification files for each users. Suppose you have thse .dsx files in C:\RPEFiles, you can have the following in a .bat file and run the .bat in command prompt.

for %%i in (C:\RPEFiles\*.dsx) Do (
"%RPE_HOME%\launcher\rpe-launcher.exe" -publish %%i -noresult)
:END

Note: In Launcher, set "Use publish wizard" to "No" (Window -> Preferences -> RPE -> Document Execution) so that publish wizard is not shown while opening the doc spec.

0 votes

Comments
Thanks, Subramanya Prasad,

Can you please share a sample template for my reference,if possible.

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
× 6,132

Question asked: Jan 08 '20, 2:24 a.m.

Question was seen: 1,293 times

Last updated: Feb 05 '20, 6:25 a.m.

Confirmation Cancel Confirm