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     Sourcing the user.htm file

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Sourcing the user.htm file
 Login/Join
 
Member
posted
I'm pressed for a way for creating a master file using the user.htm file as the data source. There was a post from last year that looked pretty strait forward but apparently I'm missing something. I need to be a able to list all of MRE users, email addresses, Report Library access(boolean), Report Caster access etc.. Specifically to expose the data, what needs to be added to the .acx file and .mas file. We can keep the MREUSERS synonym name as given in the example. Thanks in advance for your attention to this issue.


Prodcution: 713
Test: 717
Windows Server 2003 R2SP2 Standard
 
Posts: 8 | Location: Houston | Registered: May 01, 2003Report This Post
Expert
posted Hide Post
In the MR Admin manual, there is a section on the extract utility that also contains a section on reporting from these extracts.

This should give you what you need.

Also, please update your profile signature with your release and platform information so that we may better help you.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Member
posted Hide Post
Thanks for the info Ginny. I will look into the MR Admin manual. I've also updated the profile sig. I still would like to know how to source the user.htm file directly. In the message from last year here's what was said.
Here is a sample master file that you can point at your USER.HTM file. This will allow you to write reports against the file so you can run reports directly from your MRE user repository.

$ MREUSERS

FILE=MREUSERS, SUFFIX=FIX, $
DATASET='c:\ibi\WebFOCUS71\basedir\user.htm'
$-- Change the above line to point to the user.htm file on your server

SEGNAME=MRE_LINE, SEGTYPE=S0, $
FIELD=MRE_LINE, MRE_LINE, A200, A200, MISSING=OFF ,$
$

$-- Determine the line type
DEFINE MRE_LINE_TYPE/A10 =
IF MRE_LINE CONTAINS 'HTML>' OR 'HEAD>' OR 'TITLE>' OR 'BODY>' OR 'FONT>' OR '

' THEN 'HTMLTAG' ELSE
IF MRE_LINE CONTAINS '< !--' THEN 'COMMENT' ELSE
IF MRE_LINE CONTAINS 'ROLE=''#' THEN 'USER' ELSE
'LINE';
$
$-- Determine User Name
DEFINE CLOSE_BRACKET/I2 = POSIT(MRE_LINE, 200, '>', 1, 'I2') + 1;
DEFINE OPEN_BRACKET/I2 = POSIT(SUBSTR(200, MRE_LINE, CLOSE_BRACKET, 200, 200, 'A200'), 200, '<', 1, 'I2') - 2;
DEFINE MRE_USERNAME/A60 = SUBSTR(200, MRE_LINE, CLOSE_BRACKET, CLOSE_BRACKET+OPEN_BRACKET, 60, 'A60');
$
$-- Determine User ID
DEFINE USERID_START/I2 = POSIT(MRE_LINE, 200, 'NAME=', 5, 'I2') + 6;
DEFINE USERID_END/I2 = POSIT(SUBSTR(200, MRE_LINE, USERID_START, 200, 200, 'A200'), 200, '''', 1, 'I2') - 1;
DEFINE MRE_USERID/A10 = UPCASE(10, SUBSTR(200, MRE_LINE, USERID_START, USERID_START+USERID_END, USERID_END, 'A10'), 'A10');
$
$-- Determine Role
DEFINE ROLE_START/I2 = POSIT(MRE_LINE, 200, 'ROLE=''#', 7, 'I2') + 7;
DEFINE MRE_ROLE/A60 = SUBSTR(200, MRE_LINE, ROLE_START, CLOSE_BRACKET-3, 60, 'A60');
$
$-- Determine Email
DEFINE EMAIL_START/I2 = POSIT(MRE_LINE, 200, 'email=', 6, 'I2') + 6;
DEFINE MRE_EMAIL/A60 = IF EMAIL_START EQ 6 THEN '' ELSE SUBSTR(200, MRE_LINE, EMAIL_START, ROLE_START-10, 60, 'A60');
$

My quetion is what should go in the .acx and what should go in to .mas to make this work.



Prodcution: 713
Test: 717
Windows Server 2003 R2SP2 Standard
 
Posts: 8 | Location: Houston | Registered: May 01, 2003Report This Post
Expert
posted Hide Post
I don't know about that message that you heard last year. But the extract utilities do work. And they come with masters. All you have to do is write focexecs.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Virtuoso
posted Hide Post
I think that that master was created by Francis. I used it a year ago, and if I'm reading it correctly, you do not have to do anything to the acx - because there isn't one. To expose the role info, you should be able to create some defines against the MRE_ROLE ... maybe do CONTAINS against the actual values that are present there.

I'm just guessing. I don't have a working version to test with at the moment.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report 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     Sourcing the user.htm file

Copyright © 1996-2020 Information Builders