Focal Point
[SOLVED] Data Dictionary

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

April 30, 2018, 11:24 AM
Monika Acosta
[SOLVED] Data Dictionary
Id like to create a nice readable data dictionary from the synonyms - that way someone who isnt an IB developer can see what measures and dimensions we have available in our environment. I found that there is a master file located at d:\ibi\srv82\home\catalog called COMASTER and it is supposed to be able to read a master file and report its content. For example you can create this procedure:

-SET &ECHO=ALL
SET SQUEEZE=ON
FILEDEF COMASTER DISK &MFDNAME
TABLE FILE COMASTER
PRINT TITLE DESCRIPTION
BY FIELDNAME
ON TABLE SET STYLE *
ENDSTYLE
ON TABLE PCHOLD FORMAT PDF
END


And enter the brokers.mas file from ibisamp and youll get a report thats a nice PDF that describes the master itself.

I tried this with one of my master files but it seems that the COMASTER was written a long time ago and it doesnt support defines or currency display and I am sure other useful and newer features. I was wondering if anyone has come up with a solution for this.

Thanks,
Monika

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8
Windows, All Outputs
April 30, 2018, 04:51 PM
FP Mod Chuck
Monika

SYSCOLUMN is the system table to use to generate the report you want. The master file for this can be found in the \ibi\srv81\home\catalog directory.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
May 01, 2018, 06:28 AM
Wep5622
Slight correction, the table is named SYSCOLUM, without the trailing 'N'.

There's also SYSTABLE.

TABLE FILE SYSCOLUM
PRINT *
WHERE TBNAME EQ 'SYSCOLUM';
END



WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
May 02, 2018, 11:49 AM
Monika Acosta
This is wonderful. Thanks!

The only thing I couldnt get was the name I gave my dimension and measure folders in the business view. Do you guys know if that is somewhere else?


WebFOCUS 8
Windows, All Outputs
May 07, 2018, 04:16 PM
FP Mod Chuck
Monika

When I look at the text of the Business View it shows those folder names as a DESCRIPTION. I was having trouble with my system and unable to try a report against that view..


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats