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.
RDUNIF returns a floating-point value, between 0 and 1. But by specifying an integer format (I1), I believe you are forcing whatever result is computed to then be truncated to an integer, so &nounce will always be zero. Change it to a D format ('D1' will do) and see what happens.
- Jack Gross WF through 8.1.05
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005
Parameter values get calculated before the report syntax is checked and run.
The only way to get a new value for &nonce is to run the command again, but it will still be the same value in multiple locations if you use it multiple times.
For your example the simplest option would be to concat the parameter with servlet name - thus it would always be unuqie
alternatively you can programatically write out your requests and DEFINE the nonce values as a field name - a tad more complicated but will give you different versions of nonce
WebFOCUS 8.2.03 (8.2.06 in testing)
Posts: 253 | Location: Melbourne, Australia | Registered: February 07, 2007
@StuBouyer: My solution was to put the focexec name in the nouce with the user and the timestamp. This covers almost all the possibilities. I thought to pass the nouce value in the request: