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.
This code works in previous versions of WebFOCUS. In 8.2.3, which I'm testing now, when I run the report I get prompted to enter a value for &NOHEAD.
Any idea why this is happening and how to fix?
SET ASNAMES = ON
-SET &NOHEAD = 1;
-LEAVEHEADON
-SET &HEAD1 ='"'|'My Header Information'|'"';
TABLE FILE TEAMS
PRINT
TEAMS.NUMBER
WHERE TEAMS.NUMBER EQ '1234567'
-IF &NOHEAD =1 GOTO NOFSTHEADING
-NOFSTHEADING
HEADING
&HEAD1.EVAL
ON TABLE PCHOLD FORMAT HTML
END
This message has been edited. Last edited by: FP Mod Chuck,
From WF8 much more code validation has been applied Please try first to have this fix as below (change "=" by "EQ" and add semicolon ";" which should end every -IF command)
-IF &NOHEAD EQ 1 GOTO NOFSTHEADING;
Also add SET &ECHO=ON at the top of your fex to see exactly the executed code.
Finally, for me your code, the way you show us, don't really make sense. Why having a -IF test condition that will branch to the line right after the -IF ? That test is doing nothing
You should try to replicate the issue with a legacy file (CAR) and/or post your complete code if not already the case.
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013