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     [CLOSED] parms not working in FOCEXEC

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] parms not working in FOCEXEC
 Login/Join
 
Member
posted
Hi,
in fexfile1 I defined
-DEFAULT &a='AP';
-DEFAULT &b='BG';
.
.
.
-DEFAULT &FMT='HTML';
these parameters are 19 in number and will be overwritten by the values coming from an html form.

I used FOCEXEC=fexfile1(a='&a' b='&b'..... FMT='EXL2K') in the styling code of my report. I linked this with export excel text on the html report. When I clicked on export excel text this code was giving error when I tried to pass 19 parameters like this.So I divided it in 2 lines
TYPE=DATA, LINE=12, TARGET='_blank', ITEM=1 FOCEXEC=fexfile1(passing 10 parms like shown above) $
TYPE=DATA, LINE=12, TARGET='_blank', ITEM=1 FOCEXEC=fexfile1(passing next 9 parms like shown above) $

This did not give error but the parm values which were coming from html page were not passed to the FOCEXEC. The purpose of the above is to give a excel output of the report according to the html form values. I got the excel output but it was with default values of parameters in fex file.

Please guide me how to pass parms in focexec option in fexfile1 so that it runs with html form values.. Please let me know if I should furnish more information on this.

Regards,
Anurag

This message has been edited. Last edited by: <Kathryn Henning>,


WF 8004, Window 7, html, excel
 
Posts: 1 | Registered: January 22, 2014Report This Post
Expert
posted Hide Post
Break the stylesheet drilldown line into multiple lines using the continuation character (back-slash):

  TYPE=DATA,        COLUMN=HBMA075.UNIT_WRK_VALUE(2),
    FOCEXEC=MCIR110 ( \
    RPT_TYP    = '31' \
    INV_STATUS = '&INV_STATUS' \
    STDATE     = '&STDATE' \
    ENDATE     = '&ENDATE' \
    FLT01      = '&FLT01' \
    CUST_ID    = HBMA075.CUST_ID \
    FLT03      = HBMA075.LOC_PRM \
    FLT04      = HBMA075.AGRMNT_AREA_CD \
    FLT05      = '&FLT05' \
    FLT06      = '&FLT06' \
    FLT07      = HBMA075.INV_NBR \
    FLT08      = '&FLT08' \
    FLT09      = '&FLT09' \
    FLT10      = '&FLT10' \
    FLT11      = '&FLT11' \
    FLT12      = HBMA075.UNIT_WRK_VALUE \
    FLT13      = HBMA075.EQUIP_TYP_CD \
    FLT14      = '&FLT14' \
    FLT15      = '&FLT15' \
    FLT16      = '&FLT16' \
    FDD31A     = HBMA075.MTC_EVT_NM \
    FDD31B     = HBMA075.ARRIVAL_DT \
    FDD31C     = HBMA075.SERV_DT \
    OUTPUT     = '&OUTPUT' \
    DEFERRED   = '&DEFERRED' \
    ), $


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
Case matters.

STYLE generally accepts lowercase, and in effect converts the styling phrases (at least the keywords) to uppercase. I would check whether it converts your "a=" to "A=." You can use

-? &

in the called fex to verify what parameter names and values are received.

And don't forget the comma after ITEM=1
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report 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     [CLOSED] parms not working in FOCEXEC

Copyright © 1996-2020 Information Builders