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.
Wow I just found a strange problem. When I have a long drill down link in a pdf and I am using multiple pdf outputs with OPEN and CLOSE... the pdf will crash with the message "the file is damaged and could no be repaired". Consider this code
TABLE FILE CAR SUM SALES BY COUNTRY ON TABLE PCHOLD FORMAT PDF OPEN END TABLE FILE CAR SUM SALES BY COUNTRY ON COUNTRY SUBHEAD "LINK" ON TABLE PCHOLD FORMAT PDF CLOSE ON TABLE SET STYLE * TYPE=SUBHEAD,BY=COUNTRY, LINE=1, ITEM=1,SIZE=6,STYLE=BOLD, FOCEXEC=nonii1e8(A='ABCDEFGHIJKLMNOPQRSTUVWXYZ' B='ABCDEFGHIJKLMNOPQRSTUVWXYZ' C='ABCDEFGHIJKLMNOPQRSTUVWXYZ' \ D='ABCDEFGHIJKLMNOPQRSTUVWXYZ' E='ABCDEFGHIJKLMNOPQRSTUVWXYZ' F='ABCDEFGHIJKLMNOPQRSTUVWXYZ' G='ABCDEFGHIJKLMNOPQRSTUVWXYZ' \ H='ABCDEFGHIJKLMNOPQRSTUVWXYZ' I='ABCDEFGHIJKLMNOPQRSTUVWXYZ' J='ABCDEFGHIJKLMNOPQRSTUVWXYZ' K='ABCDEFGHIJKLMNOPQRSTUVWXYZ' \ L='ABCDEFGHIJKLMNOPQRSTUVWXYZAAAAAAAAAAA'),$ ENDSTYLE END
This gives me the error. If I comment out the first table file car request then it works. If I remove 3 characters from the link then it works with both pages. Curiously, if I remove 1 or 2 characters, the pdf is generated but the second page is blank.
Anyone see this behaviour before? I guess I will open a case on it.
I ran this against my 717 server on windows and had no problem in creating the pdf. Might be that this problem is related to your 716 release only, and that it is already resolved in 717. Maybe worth to upgrade your server to 717 and see what happens.
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007
On my current Client's config (7.6.2) I get an error complaining about "CLOSE" so I have to modify it to this to get it to work -
TABLE FILE CAR
SUM SALES BY COUNTRY
ON TABLE PCHOLD FORMAT PDF OPEN
END
SET COMPOUND = CLOSE
TABLE FILE CAR
SUM SALES BY COUNTRY
ON COUNTRY SUBHEAD
"LINK"
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
TYPE=SUBHEAD,BY=COUNTRY, LINE=1, ITEM=1,SIZE=6,STYLE=BOLD,
FOCEXEC=nonii1e8(A='ABCDEFGHIJKLMNOPQRSTUVWXYZ' B='ABCDEFGHIJKLMNOPQRSTUVWXYZ' C='ABCDEFGHIJKLMNOPQRSTUVWXYZ' \
D='ABCDEFGHIJKLMNOPQRSTUVWXYZ' E='ABCDEFGHIJKLMNOPQRSTUVWXYZ' F='ABCDEFGHIJKLMNOPQRSTUVWXYZ' G='ABCDEFGHIJKLMNOPQRSTUVWXYZ' \
H='ABCDEFGHIJKLMNOPQRSTUVWXYZ' I='ABCDEFGHIJKLMNOPQRSTUVWXYZ' J='ABCDEFGHIJKLMNOPQRSTUVWXYZ' K='ABCDEFGHIJKLMNOPQRSTUVWXYZ' \
L='ABCDEFGHIJKLMNOPQRSTUVWXYZAAAAAAAAAAA'),$
ENDSTYLE
END
Then it runs OK - no problems.
GamP's suggestion of upgrade might be the way to go
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, 2004
Thanks for the responses. Gamp, We will look at upgrading soon I hope. Tony, your code still gives the same error.
It is a strange one. I understand that there is a max length for a drill down URL but I don't see what that has to do with whether it is a compound pdf or not.