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     Convert an Excel to a CSV/ Read data directly from Excel file (not CSV)

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Convert an Excel to a CSV/ Read data directly from Excel file (not CSV)
 Login/Join
 
Gold member
posted
Hi All,

I have a requirement wherein I need to read data directly from an Excel sheet,then load it into a HOLD file, and then proceed with my reporting part.

There are two challenges here:
1. Its completely automated, so I cannot manually go and open the excel sheet, and save it back as CSV in the required directory.

2. The application that wil load the data into the file, would only do so in Excel file, not into a flat file, or a CSV.

I am unable to proceed under the given circumstances. Is there anything that could be done programmatically to either read directly from the excel (I am not sure if that is possible without some plug-in), or convert the file into a CSV file, so that work on it from there.

Thanks in Advance,
Ved


Web Focus 7.1.6
Hosted on Unix Box
 
Posts: 61 | Registered: August 17, 2007Report This Post
Virtuoso
posted Hide Post
Hi Ved

if you would use the "search" button you should find several issues on this.

for example this one

The main issue is that your system can post that excel file on the same place, so you can us it.

I wonder however if that system is not able to post it as a flat file. I would ask your technicians for it. That would be much easier than the odbc solution offered above.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
<JG>
posted
quote:
would only do so in Excel file,


Ved, This seems to be very strange,

Your platform is UNIX, based on your profile.

UNIX and EXCEL are not compatible. Why are you getting the data in that format?

I think we need a little more detail to be able to help.
 
Report This Post
Expert
posted Hide Post
We have the same problem and we told our developers that if they want something automatic, they need to put the spreadsheet into SQL Server. While we do have a Windows subserver, we didn't want everyone having the ability to store spreadsheets there for access via ODBC.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Master
posted Hide Post
If you are really working on a UNIX box, then the data must either reside somewhere on a windows server or be transferred to the UNIX by FTP. In either case, you should be able to issue a UNIX command in your program to copy the file. This may not work depending on which version of Excel creates the file and if there are any incompatable features between .xls and .csv
-UNIX cp file1.xls file2.csv


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 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     Convert an Excel to a CSV/ Read data directly from Excel file (not CSV)

Copyright © 1996-2020 Information Builders