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     PDF Component Reporting...

Read-Only Read-Only Topic
Go
Search
Notify
Tools
PDF Component Reporting...
 Login/Join
 
Platinum Member
posted
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
 


any help on this ?

tks/sambit


WF Server: 7.1.4 on Z/OS and Linux, ReportCaster
Data: DB2, DB2/UDB, Adabas, SQL Server, Oracle Output: HTML,PDF,Excel2K
WF Client: Servlet, CGI
 
Posts: 133 | Registered: May 12, 2007Report This Post
Virtuoso
posted Hide Post
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, 2004Report This Post
Virtuoso
posted Hide Post
2nd report does come out for me. What do you see?

You know dimension is left/top order, not top/left.

(Why have you got a HEADING for a HOLD file?)


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
Platinum Member
posted Hide Post
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..

something going weird...

tks/sambit


WF Server: 7.1.4 on Z/OS and Linux, ReportCaster
Data: DB2, DB2/UDB, Adabas, SQL Server, Oracle Output: HTML,PDF,Excel2K
WF Client: Servlet, CGI
 
Posts: 133 | Registered: May 12, 2007Report This Post
Virtuoso
posted Hide Post
quote:
1. i am running in normal environment not MRE


What do you consider 'normal' environment? We used Dev Studio also, but not as 'local to the pc'. Sort of pared down a little.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Virtuoso
posted Hide Post
Well it is working for me in 7.6 and I am sure that I had v. similar working in 7.1 but cannot check as my 7.1 has gone.


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
Platinum Member
posted Hide Post
I AM RUNNING IN DATA-SERVER.


WF Server: 7.1.4 on Z/OS and Linux, ReportCaster
Data: DB2, DB2/UDB, Adabas, SQL Server, Oracle Output: HTML,PDF,Excel2K
WF Client: Servlet, CGI
 
Posts: 133 | Registered: May 12, 2007Report This Post
Expert
posted Hide Post
So, what you mean is that you are running your fex direct from Dev Studio within the Application folders as held on the reporting server.

Well, I've just run this and both reports come out fine.

T



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, 2004Report This Post
Platinum Member
posted Hide Post
ys sir.
I am getting no error...but only HOLD1 getting printed...
Hold2 data in not coming in pdf...

i am on 7.1.4

tks/sam


WF Server: 7.1.4 on Z/OS and Linux, ReportCaster
Data: DB2, DB2/UDB, Adabas, SQL Server, Oracle Output: HTML,PDF,Excel2K
WF Client: Servlet, CGI
 
Posts: 133 | Registered: May 12, 2007Report This Post
Expert
posted Hide Post
Report 1 alongside report 2, no problem.

Are you not getting one on the left and one on the right of each page?

T



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, 2004Report This Post
Virtuoso
posted Hide Post
Works as expected on 7.1.6.

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, 2007Report This Post
Guru
posted Hide Post
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.


(Prod: WebFOCUS 7.7.03: Win 2008 & AIX hub/Servlet Mode; sub: AS/400 JDE; mostly Self Serve; DBs: Oracle, JDE, SQLServer; various output formats)
 
Posts: 391 | Location: California | Registered: April 14, 2003Report This Post
Platinum Member
posted Hide Post
Tony : The one on right is not coming.
Darin : i removed APPHOLD and also checked with ON TABLE SET ONLINE-FMT PDF, but only left one is coming.

any more work-around...

thanks!


WF Server: 7.1.4 on Z/OS and Linux, ReportCaster
Data: DB2, DB2/UDB, Adabas, SQL Server, Oracle Output: HTML,PDF,Excel2K
WF Client: Servlet, CGI
 
Posts: 133 | Registered: May 12, 2007Report This Post
Expert
posted Hide Post
Sam,

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 Smiler).

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, 2004Report This Post
Platinum Member
posted Hide Post
Frowner 714 sucks...


WF Server: 7.1.4 on Z/OS and Linux, ReportCaster
Data: DB2, DB2/UDB, Adabas, SQL Server, Oracle Output: HTML,PDF,Excel2K
WF Client: Servlet, CGI
 
Posts: 133 | Registered: May 12, 2007Report This Post
Expert
posted Hide Post
A rash statement to make when only one thing you are trying to do doesn't work the way you expect it to.

Also remember the old saying -

"A bad workman always blames his tools"

T



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, 2004Report This Post
Virtuoso
posted Hide Post
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, 2007Report This Post
Platinum Member
posted Hide Post
no man...have to jump to 716 if not 764...


WF Server: 7.1.4 on Z/OS and Linux, ReportCaster
Data: DB2, DB2/UDB, Adabas, SQL Server, Oracle Output: HTML,PDF,Excel2K
WF Client: Servlet, CGI
 
Posts: 133 | Registered: May 12, 2007Report This Post
Virtuoso
posted Hide Post
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, 2007Report 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     PDF Component Reporting...

Copyright © 1996-2020 Information Builders