Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Passing parameter from one fex file to another fex

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Passing parameter from one fex file to another fex
 Login/Join
 
Silver Member
posted
Hi can any one help how to pass a parameter from one fex file to another fex (By using IBIMR and post method).Please give me one example.
Here is my code.Please correct me if iam wrong.
-****TEST.FEX

-DEFAULT &COUNTRY = 'ENGLAND';
TABLE FILE CAR
PRINT
CAR
COUNTRY
SALES
WHERE COUNTRY EQ '&COUNTRY'
END


THIS TEST.FEX WAS CALLED HERE

TABLE FILE CAR
PRINT COMPUTE CTRY_CNT/P2 = IF COUNTRY EQ LAST COUNTRY THEN LAST CTRY_CNT ELSE CTRY_CNT + 1; NOPRINT
COMPUTE CTRY_INP/A100 = ''; AS ''
BY COUNTRY AS ''
-*ON TABLE HOLD AS MYHTML FORMAT HTMTABLE
ON TABLE SET HTMLCSS ON
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLE *
GRID=OFF, SIZE=9, $
TYPE=DATA, COLUMN=COUNTRY, CLASS=ctry_style, $
TYPE=DATA, COLUMN=CTRY_INP, CLASS=chck_style, $
ENDSTYLE
END
-RUN

-HTMLFORM BEGIN


ALL MY SCRIPT HERE









WebFocus 7.1.4 xp html,excel,pdf
 
Posts: 44 | Registered: February 27, 2008Report This Post
Expert
posted Hide Post
Here are the basics:
 
<form name=form1 action='/ibi_apps/WFServlet' method='post' target='_blank'>
<INPUT TYPE='hidden' name='IBIMR_domain'     value='!IBI.AMP.DOMAIN_NAME;'>
<INPUT TYPE='hidden' name='IBIMR_action'     value='MR_RUN_FEX'>
<INPUT TYPE='hidden' name='IBIMR_sub_action' value='MR_STD_REPORT'>
<INPUT TYPE='hidden' name='IBIMR_fex'        value='!IBI.AMP.MR_FEX_NAME;'>
<INPUT TYPE='hidden' name='IBIF_ex'          value='!IBI.AMP.MR_FEX_NAME;'>
<INPUT TYPE='hidden' name='IBIMR_flags'      value=''>
<INPUT TYPE='hidden' name='IBIMR_folder'     value='!IBI.AMP.FOLDER_NAME;'>
<INPUT TYPE='hidden' name='IBIMR_random'     value='!IBI.AMP.RANDOM;'>
<INPUT TYPE='hidden' name='PARAM1'           value='!IBI.AMP.PARAM1;'>
<INPUT TYPE='hidden' name='PARAM2'           value='!IBI.AMP.PARAM2;'>
<INPUT TYPE='hidden' name='PARAM3'           value='!IBI.AMP.PARAM3;'>


Param1 through 3 are your fex-to-fex parameters.

Hope this helps...

Tom


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Passing parameter from one fex file to another fex

Copyright © 1996-2020 Information Builders