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     [Imp]Need code sample for creating hierarchy and designing master file with parameter

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Imp]Need code sample for creating hierarchy and designing master file with parameter
 Login/Join
 
Silver Member
posted
Hi All,

I am preparing a cube to run in infoassist using cluster join tool.. I am stucking in following issues:

--while creating hierarchy, I want it to create as:

Departure Dimension
-DepartureID
-DepartureDate
-DepartureTime
(means all three fields must be at same level)

but I am getting the following levels in Infoassist window:

Departure Dimension
-DepartureID
--DepartureDate
---DepartureTime
(all three at three different levels i.e. one into another)

I have made the code as:

asmpl_three.acx file-------

  

SEGNAME=DEPARTURE, TABLENAME=RTS_PO.dbo.Departure, CONNECTION=rtspo, 
   GUI_PARAMS='1,40,40,268,160,228,120,1', KEYS=1, $
  FIELD=DEPARTURE_ID, AUTOINCREMENT=YES, START=1, INCREMENT=1, $
  FOREIGN_KEY=FK_Departure_Routes, PRIMARY_KEY_TABLE=RTS_PO.dbo.Routes, 
     FOREIGN_KEY_COLUMN=Departure_RouteId_fk, PRIMARY_KEY_COLUMN=Route_Id, $


asmpl_three.mas file-----------

 

FILENAME=asmpl_three, SUFFIX=SQLMSS  , $
  SEGMENT=DEPARTURE, SEGTYPE=S0, $
    FIELDNAME=DEPARTURE_ID, ALIAS=Departure_Id, USAGE=I11, ACTUAL=I4, FIELDTYPE=R,
      TITLE='Departure ID', DESCRIPTION='Departure ID',
      WITHIN='*Departure Dimension', $
    FIELDNAME=DEPARTURE_ORIGINALDATE, ALIAS=Departure_OriginalDate, USAGE=HYYMDs, ACTUAL=HYYMDs,
      TITLE='Departure Date', DESCRIPTION='Departure Date',
      WITHIN='*Departure Dimension', $
    FIELDNAME=DEPARTURE_ORIGINALTIME, ALIAS=Departure_OriginalTime, USAGE=A4, ACTUAL=A4,
      TITLE='Departure Time', DESCRIPTION='Departure Time',
      WITHIN='*Departure Dimension', $
 DIMENSION=Departure Dimension, CAPTION='Departure Dimension', $
  HIERARCHY=Departure Dimension, CAPTION='Departure Dimension', HRY_DIMENSION=Departure Dimension, HRY_STRUCTURE=STANDARD, $ 




Please help me, any suggestion regarding any tutorial for hierarchy creation would help.

-Regards
-Kumud Vaish


version-773
platform-windows
All Outputs
 
Posts: 42 | Location: Chandigarh, India | Registered: February 24, 2012Report This Post
Expert
posted Hide Post
There sre some examples on this forum, try searching for CHILDREN or CHILDREN ALL


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Silver Member
posted Hide Post
Hi Waz,

We looked on the cases for CHILDREN and CHILDREN ALL, but we didn't find any coding sample for the master file edition for creating this kind of hierarchy.

Can you please provide us any coding sample??

thanks in Advance

-Regards
-Kumud Vaish


version-773
platform-windows
All Outputs
 
Posts: 42 | Location: Chandigarh, India | Registered: February 24, 2012Report This Post
Expert
posted Hide Post
I think I led you down the garden path.

Search for HIERARCHY and PROPERTY=PARENT.

Here is one example: http://forums.informationbuild...697019995#5697019995


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 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     [Imp]Need code sample for creating hierarchy and designing master file with parameter

Copyright © 1996-2020 Information Builders