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.
Does Dialogue Manager have a continuation character if the code spans more than one line?
In the old days :-) you just needed the dash on the first line and the code could span several lines. I'm seeing with WF 5.2.4 we need to put the code all on one line which makes it hard to read.
Thanks in advance! Carol
Posts: 428 | Location: Springfield, MA | Registered: May 07, 2003
Carol, what kind of DM are you having trouble with? -SET &MYVAR = IF &YOURVAR IS 'FRED' THEN - 'ETHEL' ELSE IF &YOURVAR IS 'RICKY' THEN - 'LUCY' ELSE 'LITTLE RICKY'; continuation with - in the first position works for me. if its one long character string, then a pipe at the end of a line following a closing apostrophe. -SET &HEADER = '.......' | - '.......' ;
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
Hi Susannah! What's happening is DM code that's always worked in the past for some folks needs to be on one line but only for certain folks so I think it could be installation specific. When I run your code it doesn't get past the first line with servlet and cgi. echo....
-SET &MYVAR = IF ETHEL IS 'FRED' THEN ERROR AT OR NEAR LINE 12 IN PROCEDURE _ADHOCRQFOCEXEC * (FOC266) IF .. THEN .. ELSE .. SYNTAX ERROR
Cute test case! I was hoping IBI came up with a continuation character for Dialogue Manager that I wasn't aware of. The workaround is putting it all on one line.
Thanks.
Posts: 428 | Location: Springfield, MA | Registered: May 07, 2003
We came into WebFOCUS using Servlet and have always noticed this problem (I think). Started at 5.2.1 and are now on 5.3.2--waiting for 7.1.1, which I hear will be out at the end of October.
FOCUS for decades. WebFOCUS has been a "challenge".
Total UNIX environment, with only DevStudio on Windows.
You should probably put in a case about this. We just gave up and coded the way the beast wanted it.
Suzy
Posts: 124 | Location: Lebanon, New Hampshire | Registered: April 24, 2003
Here's an update. Opened a case with IB and this is a known bug in 5.2.4, said it's a problem with the Communication layer between the Web Server and the Reporting Server.
In Dev Studio, I use EDIT as TEXT, make my changes and RUN the program. IB said if I highlight the program and run it, it works fine. Suzy, that's probably why it chokes for you in Dev Studio and not Self Serve.
Thanks all!
Posts: 428 | Location: Springfield, MA | Registered: May 07, 2003
Did IBI happen say what version this would be fixed in? We have quite a delay in saving files from DevStudio to our unix system, so needing to save and close with every edit would only lengthen that delay.
Suzy
Posts: 124 | Location: Lebanon, New Hampshire | Registered: April 24, 2003
Sorry Suzy, I typed this in wrong. WF Dev Studio chokes if you're in EDIT as Text and try to run the program just as you experienced. If I just run the program (not from Edit as text) it works. They said it was broken in 5.2.4, later fixed in 5.2x and later broke again in 5.3x Supposed to be fixed in 7.1
For us it's not a show stopper, we can string the DM command on one line for now, it's just frustrating. Thanks!
Posts: 428 | Location: Springfield, MA | Registered: May 07, 2003