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] Questions about HOLD FORMAT XFOCUS

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Questions about HOLD FORMAT XFOCUS
 Login/Join
 
Master
posted
I'm guessing there is not a way to build the MDI for an XFOCUS hold file, for example,
TABLE FILE CAR
  SUM MAX.LENGTH
      MAX.WIDTH
   BY COUNTRY
   BY CAR
   BY MODEL
   BY BODYTYPE
   ON TABLE HOLD AS XCAR FORMAT XFOCUS INDEX COUNTRY+CAR+MODEL+BODYTYPE
END


Does this exist or would this be a NFR request. Any interest besides me? Wouldn't it be nice if this syntax would create the MDI?

I know I can use -WRITE to build the MDI, then use REBUILD to build the index, but this would be a lot simpler.

This message has been edited. Last edited by: jgelona,


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
 
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006Report This Post
Master
posted Hide Post
I see a some views but no replies. I've submitted a NFR just in case IBI would like to do this but not holding my breath.


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
 
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006Report This Post
Virtuoso
posted Hide Post
You should use the following
TABLE FILE CAR
  SUM MAX.LENGTH
      MAX.WIDTH
   BY COUNTRY
   BY CAR
   BY MODEL
   BY BODYTYPE
   ON TABLE HOLD AS XCAR FORMAT XFOCUS INDEX COUNTRY CAR MODEL BODYTYPE
END

That will result in the below. Notice the FIELDTYPE=I which mean that these fields are indexed fields. So, WF does not need a MDI (acx)
FILENAME=XCAR    , SUFFIX=XFOC    , $
  SEGMENT=SEG01, SEGTYPE=S4, $
    FIELDNAME=COUNTRY, ALIAS=E01, USAGE=A10, FIELDTYPE=I, $
    FIELDNAME=CAR, ALIAS=E02, USAGE=A16, FIELDTYPE=I, $
    FIELDNAME=MODEL, ALIAS=E03, USAGE=A24, FIELDTYPE=I, $
    FIELDNAME=BODYTYPE, ALIAS=E04, USAGE=A12, FIELDTYPE=I, $
    FIELDNAME=LENGTH, ALIAS=E05, USAGE=D5, $
    FIELDNAME=WIDTH, ALIAS=E06, USAGE=D5, $

The following
TABLE FILE CAR
  SUM MAX.LENGTH
      MAX.WIDTH
   BY COUNTRY
   BY CAR
   BY MODEL
   BY BODYTYPE
   ON TABLE HOLD AS XCAR FORMAT XFOCUS
END

Result in the below.
FILENAME=XCAR    , SUFFIX=XFOC    , $
  SEGMENT=SEG01, SEGTYPE=S4, $
    FIELDNAME=COUNTRY, ALIAS=E01, USAGE=A10, $
    FIELDNAME=CAR, ALIAS=E02, USAGE=A16, $
    FIELDNAME=MODEL, ALIAS=E03, USAGE=A24, $
    FIELDNAME=BODYTYPE, ALIAS=E04, USAGE=A12, $
    FIELDNAME=LENGTH, ALIAS=E05, USAGE=D5, $
    FIELDNAME=WIDTH, ALIAS=E06, USAGE=D5, $


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, 2013Report This Post
Master
posted Hide Post
Martin, that syntax creates internal indexes not the MDI. The MDI would create a single index on COUNTRY, CAR, MODEL and BODYTYPE.


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
 
Posts: 975 | Location: Oklahoma City | Registered: October 27, 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     [CLOSED] Questions about HOLD FORMAT XFOCUS

Copyright © 1996-2020 Information Builders