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 am dealing with about 70.000 text-files (.txt) containing data in the EDID4-format. Every text-file can contain several thousand rows. If I assume that every file has 5.000 rows this leads to a volume of about 350 million rows and about 42 GB in text-files. I would like to process these files in WebFOCUS but don't know exactly how to read a folder with that mass of data sources. Is it possible? Is this a standard use case?
So what I'm thinking about:
1. Create one masterfile that handles the EDID4-format. (done) 2. Loading the txt-files to the server. 3. Reading all names of the txt-files to WebFOCUS. --> How? 4a. Looping a report that assigns the masterfile to every text-file 4b. Reading the content of every text-file 4c. Aggregate data 5. Save the aggregated data to another source. FOCUS-File(s)? Database?
I would appreciate any ideas, tips and alternatives on this "challenge".
Thank you!
JPThis message has been edited. Last edited by: Kerry,
----- WebFOCUS 7.6.4 on Windows Server 2003 with Oracle DB / MS SQL Server
APP MAP DATASTORE C:\TEMP\
APP PRENDPATH DATASTORE
-RUN
APP QUERY DATASTORE HOLD
-RUN
TABLE FILE FOCAPPQ
PRINT FILENAME
WHERE UPCASE(70, FILENAME, 'A70') CONTAINS '.TXT';
ON TABLE SAVE AS FILELIST
END
-RUN
FILEDEF RAWDATA DISK c:\TEMP\RAWDATA.FTM (APPEND
-SET &LOOPER=&LINES;
-REPEAT ENDREPEAT &LOOPER TIMES
-READ FILELIST NOCLOSE &FILENAME.A70.
APP FI INFILE DISK BASEAPP/&FILENAME
-RUN
TABLE FILE INFILE
PRINT WHATEVER
ON TABLE HOLD AS RAWDATA FORMAT ALPHA
END
-RUN
-ENDREPEAT
-*
TABLE FILE RAWDATA
SUM WHATEVER
BY WHATEVER
ON TABLE HOLD FORMAT FOCUS
END
I did not ask IB, since EDID4 is the SAP IDOC format afaik. We receive the data as pure text-files and are about to read these as text-files. Afaik this format is supported by the SAP/R3-Adapter, but the customer is not going to purchase this adapter for this case.
----- WebFOCUS 7.6.4 on Windows Server 2003 with Oracle DB / MS SQL Server