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     compound pdf with special characters

Read-Only Read-Only Topic
Go
Search
Notify
Tools
compound pdf with special characters
 Login/Join
 
Guru
posted
Hi everyone,

I've been unable to find the answer to this question in my searches.

We have a compound PDF that has 2 alpha fields that are concatenated together, each is A250

The data has loads of special characters in it. While each report can be run individually, it crashes when we compound the 2 reports. It works fine in HTML

Does anyone know of any special characters that cause a compound pdf to crash? Some of the characters I'm seeing are single quotes, ampersands, less than or equal to signs, pound signs, plus signs, percent signs and many more. If I can identify the characters causing the problem, I would be able to fix the code. If not, I'll open up a case. This is in release 5.2.8

Thanks in advance,
Carol



WebFOCUS 7.6.6/TomCat/Win2k3
 
Posts: 428 | Location: Springfield, MA | Registered: May 07, 2003Report This Post
Platinum Member
posted Hide Post
PDF files contain tags, similar to html. If your special characters happen to be a tag in pdf, that may cause issues. I saw that in a Java/eActual project.
 
Posts: 118 | Location: Omaha, NE | Registered: June 12, 2003Report This Post
Virtuoso
posted Hide Post
Without seeing code it would be difficult to tell, bu the quotes (without special coding) and the ampersands and ones that would be likely problem candidates, with the left and right carets and plus signs also possibilities, depending on relationship to other characters. Again, it's odd that the actual data would cause the problem, since it's not even know when the provedure is parsed.
Did you try putting -RUN between the procedures?
Also try putting a WRAP= in the stylesheet for the concatenated column. Now that I think of it, It seems that I ran this once when using extremely large columns in PDF documents.
Maybe try changing the format from A500 to A500V.
There's a few ideas, anyway.


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
Expert
posted Hide Post
Carol, it must be due to a set of consecutive special characters, I can't see how an equal sign or a plus sign could do damage on its own. As well, since it's only happening in a compound report, it sounds like a bug.

Have you tried reproducing this using the CAR file (with DEFINE's for the alpha fields)?


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
Guru
posted Hide Post
Thanks for responding Lusheng, Darin and Francis.

I finally figured it out and I was way off on what was happening.

BTW, I was looking at someone elses code. She had loads of DEFINE statements where she used the equal sign instead of EQ I had her clean them up, and she missing a couple which corrupted the PDF.

When I removed one alpha field, it worked, so I thought it was the data. Turns out it was prior DEFINES.

Thanks again to everyone. Looking forward to Summit!

Carol



WebFOCUS 7.6.6/TomCat/Win2k3
 
Posts: 428 | Location: Springfield, MA | Registered: May 07, 2003Report 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     compound pdf with special characters

Copyright © 1996-2020 Information Builders