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 am trying to create a hold file which feeds data to a dropdown list using our custom js framework. Following is the fex procedure.
-DEFAULTH &A = 'All';
SET HOLDLIST=PRINTONLY
SET ASNAMES = ON
SET PAGE = NOLEAD
ENGINE SQLORA SET DEFAULT_CONNECTION wmbi
SQL SQLORA
SELECT
Distinct loc_regn_num,
'<option value="' || loc_regn_num || '">' || loc_regn_num||'-'||loc_regn_nm || '</option>' AS listvalue
FROM
loc_dim
where loc_stat_cd = 'A'
and loc_regn_num is not null
and LOC_OPEN_DT is not null
and LOC_CLOSE_DT > SYSDATE
ORDER BY loc_regn_num
;
TABLE FILE SQLOUT
PRINT LISTVALUE AS ''
BY LOC_REGN_NUM NOPRINT
ON TABLE HOLD AS TMP
END
-RUN
-HTMLFORM BEGIN
<option value="ALL" Selected>&A</option>
!IBI.FIL.TMP;
-HTMLFORM END
I have tried different options but wasn't able to figure it out. Am i doing something wrong in creating the hold file?This message has been edited. Last edited by: FP Mod Chuck,
Insert the following code after your -RUN and comment out the HTMLFORM code which will create a report and validate the contents of the hold file. I will be surprised if the leading characters - + and ) are displayed.
TABLE FILE tmp PRINT LISTVALUE BY LOC_REGN_NUM ON TABLE PCHOLD FORMAT HTML END
Thank you for using Focal Point!
Chuck Wolff - Focal Point Moderator WebFOCUS 7x and 8x, Windows, Linux All output Formats
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005