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.
i have database table having about 400 columns, i want to prepare a report which retrives all the column data satisfying a perticular critera. The query may return 1 to 10 rows.
I want to have a printable version of the report generated using mainframe FOCUS, so that user can print and see the data. so i have choosen PDF format for report. But the problem here is, the columns are distributed across the pages, resulting into a document of about 40 pages. when i print the document about 70% - 90% of each page is blank, depending on the number rows retrieved for the query.
Do we have any method in Mainframe FOCUS to get the remaing columns also into the same page ssome thig like as follows
Basically what i want is, When ever columns are going beyond the page width, the next columns should also come into the same page instead of next page, i dont bother about the page numbers.
Can anybody suggest solution for this problem, it would be very helpful.
I am not writing all the column names in PRINT verb, instead using * to print the report as the columns are around 400. I can not write each coulumn name individually as the content has no MFD.
Do we have any other way to achieve the target. Please suggest.
Description: Determines the format of report output. (Applies to WebFOCUS only.)
Syntax: SET ONLINE-FMT = option where:
option
Is one of the following:
HTML specifies that the report displays as an HTML page. HTML is the default.
PDF specifies that the report displays as a PDF document (Adobe Acrobat's Portable Document Format).
Excel 2000 (EXL2K) specifies that the report displays as an Excel 2000 worksheet.
Excel 97 (EXL97) specifies that the report displays as an Excel 97worksheet.
STANDARD specifies that the report will be displayed using a legacy character-based and line-based layout and a monospaced font.
POSTSCRIPT (PS) specifies that the report displays, according to the current StyleSheet, as a PostScript document. You must have installed a third party tool capable of displaying PS.
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
So, you are working on Mainframe Focus. You now see why it is important to have a signature!
You are working with 3270 type screens, I suppose. So forget about the ON TABLE SET ONLINE-FMT STANDARD (btw, STANDARD and not STNDERD...). Take it out. You should see your report on the screen. Just remember that if you have 400 columns, Focus might not like to have all that data in one TABLE request. I don't remember what is the limit now in M/F.
One more thing. Write the SET command as follows:
SET PANEL=130, LINES=10, PAGE=OFF, BYTOC=ON
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006
I keep reading Hassaji's original post and I don't think he wants panels.
Hassaji, the best way to get around this is to actually specify all 400 field names in a subhead with spot markers so that you can arrange the data any way that you like.
Thank you all for the replys, i tried every suggession, and other ways too but i could not reach my target.
As Ginny said, i too think its better to give all the field names instead of *.
Why i treid a lot on * is, i have 57 tables like that, having a range of 200 to 400 columns in each, from which i have to get the data of all the columns.
Now i think the only option left to me is to use the column names, so that we can do what ever we want.
If any body has any suggession, i will pleased to receive it.
If you are really going to write a report with 200-400 data fields, I firmly suggest you start using Dialog Manager to make the process generic and maintainable...
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006
You can make use of SYSCOLUM to achieve a field list which you could then include into your fex -
-SET &DUMMY = &FileName.(GGSALES).Enter Filename.;
FILEDEF FIELDLST DISK FIELDLST.FEX
TABLE FILE SYSCOLUM
BY COLNO NOPRINT
BY NAME
WHERE TBNAME EQ '&FileName'
ON TABLE HOLD AS FIELDLST
END
-RUN
TABLE FILE &FileName
PRINT
-INCLUDE FIELDLST
IF RECORDLIMIT EQ 100
END
TThis message has been edited. Last edited by: Tony A,
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004