It's all about the answers!

Ask a question

IBM RPE: Timeframe Waiting to generate a report in CLM [URGENT]


Guindo Niamkey Jean Frederic (29217) | asked Jan 03 '17, 11:13 a.m.
edited Jan 03 '17, 11:30 a.m. by Fariz Saracevic (904613)
Hi ,
I create a report template in RPE with some script Javascript
and I've a module with 3000 requirements
When i generate the report with the script inside template,
The waiting timeframe is very long
But when i deleted the part of script, the report is generated with timeframe considerable
Do you have a way to optimise this?
Let me know if you need of my template

3 answers



permanent link
Fariz Saracevic (904613) | answered Jan 03 '17, 11:29 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
If you have 3000 requirements, it will take time especially if you have JavaScript. Could you qualify "a very long"? Is it 20 mins or longer? 
When you generate report without part of the script, do you still get report with all 3000 requirements?
Yes, it would be helpful to get your template.

permanent link
Guindo Niamkey Jean Frederic (29217) | answered Jan 03 '17, 12:34 p.m.
Hi Fariz
The script takes more than 1hour
sometimes does not complete
Find below the Template simplified with One code Javascript
With this only code, the report takes long below the generation with 3000 requirement in a module
Link:https://www.dropbox.com/s/62r49dtt2xbkwnh/VVReport.dta?dl=0

Comments
Subramanya Prasad Pilar commented Jan 04 '17, 10:35 p.m. | edited Jan 04 '17, 10:36 p.m.

Looks like reconfiguring the data sources (_text and DNG Text) 3K times is causing the delay. When "report generated with considerable timeframe", can you confirm if the entire container with JavaScript element was deleted or only the JavaScript?


Guindo Niamkey Jean Frederic commented Jan 16 '17, 4:36 a.m. | edited Jan 16 '17, 4:41 a.m.

Hi Pilar,
it's only the javascript
Do think that there's a way to optimise the report generation timeframe?


permanent link
Kumaraswamy Gowda (39115) | answered Jan 03 '17, 9:41 p.m.
Hi Guindo,

Which RPE version are you using?

Is the below JavaScript code you're talking about? If not, which element has the JS code?
_countrecords=_countrecords*1+1;

Comments
Guindo Niamkey Jean Frederic commented Jan 04 '17, 3:59 a.m.

Hi Gowda,
My RPE version is RPE 2.1
Yes,the Javascript code is _countrecords=_countrecords*1+1;
The only simple code put long before generate a report for a module with inside 3000 requirements


Kumaraswamy Gowda commented Jan 04 '17, 10:08 a.m.

Thanks Guindo. As we're looking into it, could you find the actual time taken for both the scenarios? You should be able to find it in RPE console view and also under %TEMP%\RPE\rpe.log.

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.