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 have a fex with a launch page which prompts for variables: YEAR, MONTH and DOGID. In the SQL database the fields are written in mixed case (i.e. Year, Month, DogId), and remain in mixed case in the HOLD file after a
TABLE FILE SQLOUT
PRINT *
ON TABLE HOLD AS HF1
END
?FF HF1
-RUN
I am trying to pass these values from the launch page to the report focexec to be used in WHERE statements. Here is my code in the focexec:
-DEFAULT &MONTH = ‘ ‘ ;
-DEFAULT &YEAR = ‘ ‘;
-DEFAULT &DOGID = ‘ ‘ ;
………………………………….
TABLE FILE WHATEVER
PRINT
FLD1 FLD2
BY Year
BY Month
BY DogId
WHERE Year EQ ‘&YEAR’;
WHERE Month EQ ‘&MONTH’;
WHERE DogId EQ ‘&DOGID’;
END
-RUN
What happens is the launch page prompts me for these 3 variables as anticipated. Then a 2nd launch page displays and asks me to provide selections to these variables all over again !!
There is an intermediate page that runs between the launch page program and my report fex. This page contains HTML form coding which passes hidden values and (the 3) variables to the report fex. The Year, Month and DogId fields are referenced in this page in CAPITAL letters as YEAR, MONTH and DOGID.
My problem is I am having trouble getting the –DEFAULT command to work with these variables that are referenced as either MIXED CASE or CAPITAL letters. Do I reference the fields in mixed case in the –DEFAULT or as CAPITAL letters? What reference do I use in the WHERE statement?
Has anyone had experience with this? Thanks!This message has been edited. Last edited by: FP Mod Chuck,