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 am trying a PDF component report. But the 2nd report is not coming... Plz take a look at below code...
-SET &ECHO=ALL;
SET ASNAMES = ON
APP HOLD pcddev
COMPOUND LAYOUT
UNITS=IN, $
SECTION=section1, LAYOUT=ON, MERGE=ON, ORIENTATION=LANDSCAPE, PAGESIZE=Letter, $
pagelayout=1, name='Layout page 1', $
component='report1', type=report, position=(0.708 0.708), dimension=(3.208 2.500), $
component='report2', type=report, position=(4.000 0.708), dimension=(3.208 2.500), $
END
SET COMPONENT='report1'
-*component_type report
TABLE FILE CAR
"Summary Of CAR"
SUM
CNT.CAR AS 'CARTOT'
BY COUNTRY AS 'COUNTRY'
ON TABLE HOLD AS HOLD1
END
-RUN
TABLE FILE HOLD1
PRINT
COUNTRY
CARTOT
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET PAGE-NUM OFF
END
SET COMPONENT='report2'
TABLE FILE CAR
"Summary Of CAR"
SUM
CNT.CAR AS 'CARTOT'
BY COUNTRY AS 'COUNTRY'
ON TABLE HOLD AS HOLD2
END
-RUN
TABLE FILE HOLD2
PRINT
COUNTRY
CARTOT
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET PAGE-NUM OFF
END
COMPOUND END
-EXIT
I cut and pasted your code into our 7.6.2 MRE world and had to take out the APP HOLD statement for it to run. Not to experienced with compound reports, When it ran I got a page per country with counts side by side.
Where are you running from? The APP HOLD seemed to cause issues in finding the HOLD1 file to start. Is that your main issue?
Sorry not more help here.
Leah
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004
1. i am running in normal environment not MRE 2. yes dimension is dimension is left/top order 3. don't consider the header stuff...jst... 4. the hold1 getting printed...while Hold2 not getting printed...
Issue is the second report is not coming...which should come right to first report..
Try removing the APP HOLD statement. You may also try changing ON TABLE PCHOLD FORMAT PDF to ON TABLE SET ONLINE-FMT PDF. Works either way for me, but i've seen instances with compound PDF reports where the last report was missing one way and not the other.
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007
I am getting the same result as focuszambit. The report does NOT work as expected in 7.1.3. The second report does not show up. This was probably a bug that was fixed in later releases.
Looks like an upgrade should be on the cards to 7.1.6 as it's not too great a leap and you've read the posts regarding some of the experiences of 7.6.n.
As Darin has reported no problem with this PDF "anomoly" and his profile shows he is on a similar set-up to yours - with the exception that he is on 7.1.6 - I would try and persuade your PTB to upgrade to that version (7.1.6 that is ).
If you raise it as a "bug" with IB they would probably encourage you to upgrade particularly after seeing the comments here, but my personal preference would be to only upgrade to 7.1.6.
T
(PTB - Powers That Be)
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
I seem to remember some odd behaviour with creating compounds in the past. To my recollection this was caused by the intermediate hold files within the compound structure. Just out of curiosity, what happens if you move the intermediate holds to a place before the compound statements? So, first do the hold1, then do the hold2, then specify your compound layout and fill it with the tables off of hold1 and hold2. Does this make any difference at all?
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007
I seem to recall that we actually had several issues on 7.1.4/7.1.5. I don't remember whether or not they were related to Sam's problem, but we landed at 7.1.6. You should be able to plug that version in withou any significant changes.
The move to 7.6.x is a little more drastic, (what I would call a MAJOR upgrade) so don't go there without some planning first.
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007