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.
We are working on a task to display all MasterFiles available in the all application directories useig APP QUERY command. Remember there is no input to list out and need to display all .mas files by app folder.
Any suggestions would be helpful.This message has been edited. Last edited by: Kerry,
WebFOCUS 8103 Appstudio, Dev Studio MRE Client Windows 7, Serveron Unix. Excel, PDF, HTML,AHTML
Use APP LIST, followed by APP QUERY, using the output of APP LIST as the input for APP QUERY
APP LIST HOLD
TABLE FILE FOCAPPL
PRINT APPNAME
ON TABLE SAVE
END
-RUN
-SET &APPLINE = ' ';
-REPEAT :LAB1 &LINES TIMES
-READ SAVE &APP.64
-SET &APPLINE = &APPLINE | ' ' | &APP ;
-:LAB1
APP QUERY &APPLINE HOLD
TABLE FILE FOCAPPQ
PRINT FILENAME
BY APPNAME
IF FILENAME CONTAINS '.mas'
END
Alan. WF 7.705/8.007
Posts: 1451 | Location: Portugal | Registered: February 07, 2007
Originally posted by N.Selph: SYSTABLES also gives you all masters on the app path. It has different information than SYSFILES. You might use it depending on what you want to do.
N.Selph,
I tried follow up with your information about SYSTABLES but got a message : (FOC205) THE DESCRIPTION CANNOT BE FOUND FOR FILE NAMED: SYSTABLES. Could you please explain it? By the way, when I've got output from SYSFILES table I found in this list master file neither for SYSFILES nor for SYSTABLES.
Take the trailing 'S' off. I do this all the time.
Another technique is to use an operating system command and pipe the output to a file. You can then use a generic master (I call mine LINE80) and use GETTOK and SUBSTR to extract the different pieces and do reports. I also do this all the time. Works great!
There is a distinct difference between SYSTABLE and SYSFILES
SYSTABLE is used as a catalog of datasources. SYSFILES is catalog of files, tthe default is Master files. it also shows the location of the file, where SYSTABLE does not.
You can set SYSFILES to show other files like Focexecs with the code
We have all our .mas files in one apps folder. What I would like, is to determine all masters that are NOT referenced within any .fex files contained in all folders under ibi\apps. This is to weed out redundant and obsolete master files that are clogging up our masters directory. Alan B's suggestion list all masters in all folders but we don't know if any .fex files references these.
_______________________ *** WebFOCUS 8.1.05M ***
Posts: 196 | Location: London, UK | Registered: December 06, 2005
There's nothing inherently built in WF to allow you to do that. The only thing you can do is develop a FOCEXEC that reads in each FOCEXEC that you have and form a list of Masters from each line that has a 'TABLE FILE' contained in it and then compare it to the list gnerated by SYSTABLE or SYFILES.
WF 7.7.04, WF 8.0.7, Win7, Win8, Linux, UNIX, Excel, PDF
Posts: 175 | Location: Pomona, NY | Registered: August 06, 2003