I want to build a report in Webfocus which can list Procedures linked with a particular Synonym.
So far I've been able to list synonyms, table name, column names and Application directory. Here is the code for that:
APP LIST HOLD -RUN TABLE FILE FOCAPPL PRINT APPNAME ON TABLE SAVE AS TMP_APP END -RUN -SET &APP_Count = &LINES ; -REPEAT APP_LOOP &APP_Count TIMES -READ TMP_APP NOCLOSE &APP_Name.A64. APP PATH &APP_Name -RUN TABLE FILE SYSCOLUM PRINT COMPUTE APP_DIR/A64 = '&APP_Name' ; TBNAME NAME END -APP_LOOP
Is there any System Table that contains information about all Procedures and Synonyms.
Thanks, InderThis message has been edited. Last edited by: <Kathryn Henning>,
June 12, 2014, 03:35 AM
Efrem
If you want to list all procedures used by a particular synonym, you can use Impact Analysis. It can be run out of the Reporting Server Web Console,Data Management Console, or Developer Studio.
June 12, 2014, 12:49 PM
Inder
Hi Efrem,
Thanks for your response. But Impact Analysis can't list procedures built in the Managed Reporting Section. I want to create an intreactive report where I can enter Synonym name or Procedure name and get all the related information.
I build one such report(above code) with gives me Synonym table name, Column name and application directory, but not procedure information.
WebFOCUS 7,8 Windows, All Outputs
June 13, 2014, 06:05 AM
Ramkumar - Webfous
Am not sure of any solution inside WebFOCUS for this.. Hopefully Some FILE handling solution is something that you have to go for.
Say for example - some Java application(code) that will take the synonym name as input parameter and can read through all FEX files in a directory(sub-directories), do for a pattern matching of the Synonym name provided, return the FEX file name if pattern matching found.
Thanks,
Ramkumar. WebFOCUS/Tableau Webfocus 8 / 7.7.02 Unix, Windows HTML/PDF/EXCEL/AHTML/XML/HTML5
Have a look at this old post. This uses WebFOCUS to write the contents of all the fexes in a chosen folder to a focus db where the results can be parsed for reporting.
However, looks like the above approach would not work in WF 8.
How to go about automating this in WF 8? Can anyone shed some light on this.
WF 7.7.02 on Windows 7 Teradata HTML,PDF,EXCEL,AHTML
June 23, 2014, 04:17 PM
<Kathryn Henning>
Hi All,
Starting with WebFOCUS release 8.0.07, a New Feature was implemented that allows you to extract the contents of the Repository in text format which can then be searched. For additional information, please see: