Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Printing Database Schemas/Table listing

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Printing Database Schemas/Table listing
 Login/Join
 
Gold member
posted
I've searched theforums and on-line technical library but have been unable to find a answer to the following "HOW TO"

Is it possible to print a Database Schema that prints out a list of tables with field definitions/description?


7.7.02 Windows7
HTML/Excel/PDF
 
Posts: 66 | Registered: April 16, 2008Report This Post
Expert
posted Hide Post
Jeff, it probably is difficult to design a tool that prints the schema of all the different types of databases that WebFOCUS can access, I suggest you use the supplied tools of the particular database you're working with.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Gold member
posted Hide Post
I might not have stated my requirement correctly and made is seem more complex than it really is. Basically what I would like to accomplish is just to be able to print out a list of fields in a particular table i.e. Field name, Type, size

Thanks


7.7.02 Windows7
HTML/Excel/PDF
 
Posts: 66 | Registered: April 16, 2008Report This Post
Expert
posted Hide Post
?FF master-file-name

e.g.: ?FF CAR


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Gold member
posted Hide Post
THANK YOU FRANCIS!
Just what I was looking for.
Jeff


7.7.02 Windows7
HTML/Excel/PDF
 
Posts: 66 | Registered: April 16, 2008Report This Post
Expert
posted Hide Post
CHECK FILE CAR HOLD
TABLE FILE HOLD
PRINT FIELDNAME
BY SEGNAME
END


This is a useful tool. You can find more description here:

http://documentation.informationbuilders.com/masterinde...g/source/topic89.htm

Hope this helps.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Expert
posted Hide Post
I should mention where this is documented:

Creating Reports With WebFOCUS Language > Referring to Fields in a Report Request > Displaying a List of Field Names > Listing Field Names, Aliases, and Format Information


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
Jeff

Tony S posted this little piece of coding to help me with a similar problem

-SET &ECHO = ON;
TABLE FILE SYSCOLUM
PRINT NAME
      USAGE
   BY SEGNAME NOPRINT
   BY SEGNO   NOPRINT
WHERE TBNAME EQ '&TABLENAME'
ON TABLE SAVE
ON TABLE SET HOLDLIST PRINTONLY
END
-RUN
TABLE FILE &TABLENAME
PRINT
-READ SAVE &FieldName.A66. &Format.A8.
-REPEAT :Loop WHILE &IORETURN EQ 0;
&FieldName AS '&FieldName - &Format'
-READ SAVE &FieldName.A66. &Format.A8.
-:Loop
HEADING
"&TABLENAME"
IF RECORDLIMIT EQ 10
END


What this does is displaying the fields of a database with the format in the header and the first 10 records from that database for a "&TABLENAME".

If you put the tablenames for a certain database in a small list, you can do this with an extra loop for all the tables all at once, and combine it with the other answers to build your documentation.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Gold member
posted Hide Post
Thanks Frank.
Appreciate the help.

Jeff


7.7.02 Windows7
HTML/Excel/PDF
 
Posts: 66 | Registered: April 16, 2008Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Printing Database Schemas/Table listing

Copyright © 1996-2020 Information Builders