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.
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
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
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
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, 2006