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.
Can anyone help me to solve this problem, my code as follow:
-SET &APL = IF (((&LONSTAT1 EQ 1) AND (&TENOR EQ 0)) AND ((&LONSTAT2 EQ 1) OR (&LONSTAT3 EQ 1) OR (&LONSTAT4 EQ 1) OR (&LONSTAT5 EQ 1) OR (&LONSTAT6 EQ 1) OR (&LONSTAT7 EQ 1) OR (&LONSTAT8 EQ 1) OR (&LONSTAT9 EQ 1) OR (&LONSTAT10 EQ 1) OR (&LONSTAT11 EQ 1) OR (&LONSTAT12 EQ 1))) THEN 'OPEN BREAK' ELSE 'BREAK';
while running the report, it show me the error message as follow:
0 ERROR AT OR NEAR LINE 431 IN PROCEDURE __T00060FOCEXEC * (FOC262) UNBALANCED PARENTHESES
How to solve it?This message has been edited. Last edited by: <Mabel>,
The following looks ok. I just reformatted it so I could read it more easily. If it spans across multiple lines you must put a '- ' (dash space) at the beginning of each subsequent line.
-SET &APL = IF - ( - ((&LONSTAT1 EQ 1) AND (&TENOR EQ 0)) - AND - ((&LONSTAT2 EQ 1) OR (&LONSTAT3 EQ 1) OR - (&LONSTAT4 EQ 1) OR (&LONSTAT5 EQ 1) OR - (&LONSTAT6 EQ 1) OR (&LONSTAT7 EQ 1) OR - (&LONSTAT8 EQ 1) OR (&LONSTAT9 EQ 1) OR - (&LONSTAT10 EQ 1) OR (&LONSTAT11 EQ 1) OR - (&LONSTAT12 EQ 1)) - ) THEN 'OPEN BREAK' ELSE 'BREAK';
If this doesn't help, try using &ECHO to debug what it is actually coming out to be. ie. -SET &ECHO=ALL;
This will show you the code you wrote as well as what it looks like after you substitute the values for the variables.
Posts: 346 | Location: Melbourne Australia | Registered: April 15, 2003
Did you try the &ECHO as well? What does that show you?
If the values that you are passing into the &vars have spaces or special characters in them you will probably need to enclose them in single quotes '&TENOR' EQ ...
Posts: 346 | Location: Melbourne Australia | Registered: April 15, 2003