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.
I'm actually surprised -SET works because when I tried -SET &TEST=HGETC(8,'HYYMDS'); The result was a meaningless string.
Anyways, strictly speaking, I don't know if HYYMDS is a supported format in Dialogue Manager. I found this syntax in the doc which gives you the same output.
Maybe someone in IB tech support can research why your -SET works and the same thing fails in -DEFAULT.
-SET and -DEFAULT operate very differently.
-SET treats the right-hand side as an expression to be evaluated; the resultant value is assigned to the variable.
-DEFAULT treats the right-hand side as a constant -- a string to be stuffed into the variable as-is.
But .EVAL can be used to modify the line of code, before the line is parsed for execution. "&var.EVAL" in a dialog manager directive causes the line of code to be revised -- changing "&var.EVAL" to whatever string-value has been assigned to &var -- before the line is parsed for execution.
Thus, "-DEFAULT &STARTTIME = &DummyST.EVAL" is first scanned for .EVAL phrases, and modified accordingly, and then parsed for execution. When the execution phase takes over, the line to be parsed is something like "-DEFAULT &STARTTIME = 10:00:59" and &STARTTIME is given a value of "10:00:59" [unless it had already received a value be means of -SET or its equivalent].
- Jack Gross WF through 8.1.05
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005