As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
You could get the matrices from your network people by monitoring the traffic by users id and request on the box where the app server resides or Websphere server may give you some results on this.
We do exactly this and then we output the result in the footer of the report. Something like "this report took X seconds to run". We use an include file and its a bit different than this code, but its based on this. Also note that if you dont want to include the result in the output then just use -TYPE &LAPSE to see the results. Hope this helps. Here is sample code. Note that this will result in 0 seconds to run since the table file car query is so fast. Put a longer job in there and you will see it work.
Make sure there's a -RUN somewhere between the TABLE code that you are measuring and the -SET that follows it; otherwise the answer will always be zero.
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005
If you're using 5.2.3 or higher, you can use the stress test tool on the reporting server console. I believe it's under the procedures link. The report must be on the reporting server so if you have an MRE application, you will need to copy to an app. You also cannot have variables. If you do, -SET them in the fex so they have values. You can simulate n number of users simultaneously hitting the report and you will get statistics on avg response time.
If you need to get more detailed run times, you can use the newer Date-Time functions. These will get you down to milliseconds on NT and micro-seconds for some Unix platforms. Here's a quick sample:
-SET &STARTT = HGETC(10, 'HHISsm');
-* Do some stuff -RUN -SET &ENDT = HGETC(10, 'HHISsm'); -SET &TIME_SST = HDIFF(&ENDT, &STARTT, 'MICROSECOND', 'D12.2') ; -TYPE Total uSecs: &TIME_SST
Very intriguing. When I type &STARTT and &ENDT, the values are displayed as garbage, because I guess the Dialog Manager variables contain Date-Time values. I did not know it was that easy to use the HDIFF function in DM. And, where is the documentation on the format 'HHISSM'? I could find nothing in the Using Functions document.
-SET &STARTT = HGETC(10, 'HHISSM');
TABLE FILE CAR PRINT * END -RUN -SET &ENDT = HGETC(10, 'HHISSM'); -SET &TIME_SST = HDIFF(&ENDT, &STARTT, 'MICROSECOND', 'D12.2') ; -TYPE START &STARTT -TYPE END &ENDT -TYPE TOTAL USECS: &TIME_SST
I could be wrong, but to my knowledge, all the Date-Time functions work in Dialog Manager. To display timestamp in a pretty format, you can use HCNVRT function: