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.
Not really, but if you're an admin, you can use the User Management utilities to see an individual's "My Reports" and can also tell if they are shared by looking at the properties. You could probably also use the MR migration tool to create a snapshot of what is where and then possibly use that output file. Or there's always writing a mster file to parse the user's .htm file. I think Francis Mariani posted something to that effect a while back. Maybe search for MRE User HTML file
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007
as darin says, its not easy but that's what we call fun.... so... If you read the /ibi/WebFOCUS76/basedir directory, and read each of the .htm files listed there, you can search for character strings like this:
Reading these files with a master that has, say, a single record really wide size, and parsing thru it... You see how this line says ,shared, which means this MyReport is a shared one.
This user doesn't have any custom reports, but if you go and create a shared and a custom for one of your users, then look at his/er username.htm file in the basedir, you'll find a wealth of info.
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
Thanks for your ideas. With your help and the earlier posts from Francis and hammo1j I am able to find the list of saved reports (and I guess any other types that I would end up needing) for a user (whose file name I hard coded into the Master file). Now the fun really begins... This was just the first task. We would like to have a cleanup sort of system where we scan the user's saved reports and delete them automatically if they haven't been accessed for a given period of time. On to the next part of the fun...
Yeah, Good Luck on that one. I don't know if there is a way to automate that.
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007
Well now I'm able to get the list of custom reports. I am thinking that we can check some audit logs to see when these reports were last run. I'm hoping that'll work.
The only way I see that working is some sort of utility that can parse the user.htm file, deleting the references to those reports. There is no other way of deleting them except for the user to manually delete them. Maybe send a report telling them they have the following unused programs that need to be reviewed to see if they are still necessary and to delete them if not.
Next issue is how to get the information about when they were last run. That information is not available unless you have Resource Analyzer running. The only thing that know whether a fex has been run is the WF server, which does not keep a long-term record of those stats without the aforementioned tool or some special coding that gets run whenever a fex is executed and writes to a DB.
In our world, if it doesn't bother users to have obsolete programs in their "My Reports", it doesn't bother us. Additional resource required is minimal in the big picture.
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007
Are you saying there is no MR API to delete a "My Report" - in which case, if we delete it automatically, things might go haywire (like the user's .htm file would be out of sync etc.)
Yes, we probably are writing our own code to figure out last accessed time. We do have RA but I'm worried that might affect our performance to use it all the time.
Not that I know of but I don't have that good of a grip on all the functionality that is available via the APIs. Someone correct me if that is not correct.
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007
As a further suggestion, I would keep your users integrally involved in the decision as to what the "given period of time" for inactivity is. In a previous life in finance/accounting, there were some programs that I only used once every one or two years, but if someone had deleted them automatically without my knowledge or decision, I would have hit the roof! (and probably a couple of IT people as well!)
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007