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     [SOLVED] Excel 2007 Output giving Internal Server Error ( webserver) sometimes

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Excel 2007 Output giving Internal Server Error ( webserver) sometimes
 Login/Join
 
Silver Member
posted
HI,
I am using webfocus 773 and use the below report.

i am getting the Internal Server Error if I use the below code.
SQL ORA
SELECT POL_NO,
POL_EFF_DATE,
ANN_STMT_CO_CODE,
DUNS_NO,
INSURED_NAME,
SOURCE_SYSTEM_ID,
PRODUCER_NO,
POL_EXP_DATE,
PREMIUM_MARKET_SEGMENT_CODE,
BRANCH_CODE,
DSP_DIV_NO,
DSP_SEC_CODE,
DSP_PUC,
PRIOR_POL_NO,
POL_TERM,
POL_NO_PREFIX,
AIGRM_CONTRACT_NO,
ORIG_DSP_DIV_NO,
ORIG_DSP_SEC_CODE,
ORIG_DSP_PUC,
LOAD_DATE,
WORKING_BRANCH_CD
FROM TABLE A WHERE ROWNUM<70000;
TABLE ON TABLE HOLD AS ONE
END

TABLE FILE ONE
PRINT *
WHERE RECORDLIMIT EQ 70000;
ON TABLE PCHOLD FORMAT EXL07
END

But If i use the below query,i am getting the o/p in excel.
SQL ORA
SELECT POL_NO,
POL_EFF_DATE,
ANN_STMT_CO_CODE
FROM EDW.POLICY WHERE ROWNUM<64000;
TABLE ON TABLE HOLD AS ONE
END

TABLE FILE ONE
PRINT *
WHERE RECORDLIMIT EQ 63999;
ON TABLE PCHOLD FORMAT EXL2K
END

Please help me to fix this issue.

Error:

"Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, you@your.address and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log."

This message has been edited. Last edited by: <Kathryn Henning>,


Webfocus 7.1.6, Webfocus 7.7, Webfocus 8
 
Posts: 33 | Registered: August 16, 2012Report This Post
Gold member
posted Hide Post
Hi Rakesh,

For Excel Worksheet size 65,536 rows by 256 columns.

once check below link.
http://office.microsoft.com/en...its-HP005199291.aspx

Its better to check the number of lines while printing in the sheet. If the number of rows are more than 65,536 then change the sheet but i dont know exactly how to change the sheet....


Web FOCUS 7.7.03
PDF
 
Posts: 69 | Registered: May 24, 2013Report This Post
Master
posted Hide Post
Create a new sheet like this:
DEFINE FILE XXXX
  ROWNUM/I8=LAST ROWNUM+1;
  SHEETNUM/I4=ROWNUM/65537;
END
TABLE FILE XXX
PRINT *
   BY SHEETNUM NOPRINT
   ON TABLE PCHOLD FORMAT EXL?? BYTOC
END


The BYTOC creates a new sheet when the Primary Sort Field Changes


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
 
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006Report This Post
Silver Member
posted Hide Post
Thanks for your replay. Webfocus 77 support Excel 2007 and I think it can hold more than 65,536 rows.

ON TABLE PCHOLD FORMAT EXL07

My concern is that if I am running report with huge data, I am getting the error.


Webfocus 7.1.6, Webfocus 7.7, Webfocus 8
 
Posts: 33 | Registered: August 16, 2012Report This Post
Master
posted Hide Post
EXL07 output is only fully supported with WF server version 7704 and higher ... There was some talk of making a hotfix back to 7703 but I don't know if that happened.


WebFOCUS 7.7.05 Windows, Linux, DB2, IBM Lotus Notes, Firebird, Lotus Symphony/OpenOffice. Outputs PDF, Excel 2007 (for OpenOffice integration), WP
 
Posts: 674 | Location: Guelph, Ontario, Canada ... In Focus since 1985 | Registered: September 28, 2010Report This Post
Silver Member
posted Hide Post
Thanks for all your replay. Really appreciate it.

One solution is: we need to override the EXCELSERVURL to blank value. this would redirect the URL to JSCOM3 listener and execute much faster.


SET EXCELSERVURL=''


Webfocus 7.1.6, Webfocus 7.7, Webfocus 8
 
Posts: 33 | Registered: August 16, 2012Report 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     [SOLVED] Excel 2007 Output giving Internal Server Error ( webserver) sometimes

Copyright © 1996-2020 Information Builders