Focal Point
[SOLVED] Display Metadata

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/94110496

April 03, 2009, 09:57 AM
malapejohn
[SOLVED] Display Metadata
Hi,

Is their a way to display all metadata for a specific app folder with code in a focexec?

This message has been edited. Last edited by: Kerry,


-PMF 5.1.2
-WebFOCUS 7.6.9 on Windows 2003 Server
-MSSQL Server
April 03, 2009, 11:48 AM
GamP
Yes there is. You can use a combination of APP commands and TABLE FILEs to do just that.
For example:
APP QUERY appname HOLD
TABLE FILE focappq
PRINT *
IF FILENAME CONTAINS '.mas'
END

The rest of what you wish to do with it, is up to you of course. The above code only gives the masterf iles themselves. If you also need to have an overview of the contents of the master files, use DM techniques (-REPEAT and -READ and such) combined with CHECK FILE master HOLD) to produce overviews of the fields per master.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
April 03, 2009, 03:46 PM
malapejohn
This is great thank you!


-PMF 5.1.2
-WebFOCUS 7.6.9 on Windows 2003 Server
-MSSQL Server