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 have a file that I am trying to output to our ftp server using the filedef command. The report is setup to be a compound excel report. The process runs fine and places the file on the ftp server but when I try to open the file it gives me an error. If I output it as a csv, it opens a jibberish code as it doesn't know where one part of the report stops and the other starts. When I try to save the report as a .xlsx file and open it, I get a "file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file". I am creating it with the following commands:
-SET &XPATH = 'D:\\FOCUS\SC\CSC\IR\OUT\'; -SET &XTERM = EDIT(&EXP_GRAD_TERM,'$9999'); -SET &FILE_NM = &XPATH || &XTERM || '_' || '&AREA_WORDS.EVAL' || '_IVYDAY.XLSX'; FILEDEF IVYDAY DISK &FILE_NM TABLE FILE ...... ON TABLE HOLD AS IVYDAY FORMAT EXL2K OPEN END TABLE FILE ..... ON TABLE HOLD AS IVYDAY FORMAT EXL2K BYTOC 3 END
How can I get it to run and save out on the ftp server and create the compound report and still be able to open it. The report runs fine without the filedef command to place it on the ftp server.
Malinda Linegar CSCThis message has been edited. Last edited by: <Kathryn Henning>,
WebFOCUS 7.6.11 Windows all output (Excel, HTML, PDF)
I don't get an error when running the report and placing it on the ftp server. That part worked just fine. It is when I move the file onto my desktop and try to open it.
I did find out that it will work if my extension is a .xls with the FORMAT EXL2K.
Yes, other reports ftp to this server - WF does have permission.
Malinda
WebFOCUS 7.6.11 Windows all output (Excel, HTML, PDF)
Malinda, .xlsx files are really .zip files. Take a real .xlsx, rename to a .zip and unzip it and look at what you get.
The reason you got gibberish is: 1. 7.6.11 does not understand or support Office 2007/2010 extensions; 2. When you said '...FORMAT EXL2K' that is building a .xls format file regardless of the file extension. You could have given the file an extension of .txt and it would still be an .xls format file; 3. Since the file had a .xlsx extension, EXCEL tried to unzip the file which it could not do since it was not a .zip file. 4. That is why when you renamed the file to .xls, it worked.
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, 2006