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.
Are you talking about loading data from Excel into a FOCUS dataset on MVS? Wouldn't that be nice! That answer would be no - but you can do this: 1. export from excel as a flat file 2. upload (ftp or whatever method) into a dataset on MVS 3. create a master file describing the data 4. use a DYNAM ALLOC to point to the new dataset 5. read the file and hold FORMAT FOCUS.
FOCUS does a lot of things but it doesn't have that much magic. Nor do I believe there are many tools that can load directly from Excel into an MVS dataset. The good news - there IS a solution - just not as easy as you had hoped.
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007
Yup, it would be nice, wouldn't it?? Thanks Darin, for replying. Your suggestion is what I'm already using, and I was hoping there was an easier way to do the pulling in of data. Oh, well.......
This might be something Data Migrator can do. It is a separate product with it's own licensing, etc., but it might be able to read from a .xls and write out to an MVS flat file. Clif, if you're monitoring this forum, do you know?
Jessica Bottone
Data Migrator 5.3, 7.1, 7.6 WebFOCUS 7.1, 7.6, 7.7 SQL Server, Oracle, DB2 Windows
Thanks to all of you for responding! I saved the Excel file as a flat txt file and then ported it onto my MVS system, and from there, input it into my FOCEXEC.
I do this all the time, however, I ususally save the worksheet as a tab-delimited file. I then upload the data, parse it using GETTOK, then use MODIFY to load the data.
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
With this situation, you have several options, some of which have been suggested above.
Here are some more.
If you can access an MSSQL server from the MF, you can attach the XLS file to the server, then let SQL server read the file as an SQL source.
If you have WF 7.6.x, BI Dashboard has a little utility for uploading XLS/CSV files to a WF Server. Do a search for "Uploading Data Files".
I also have an old, little bit clunky Fex that uses the XL activeX object to read any file XL can read, and upload into Flat/XML/FOCUS/XFOCUS/SQL destinations. (Written for WF52).
I think what we are not making clear is that you are going to have to create a master file definition (.MAS) for the file. In the example below, my file was saved as a .prn file (Fixed Print format for an EXL2K file).
$ excel print file at 163 characters for dec 2007 FILENAME=MEXLABOR, SUFFIX=FIX, $ SEGNAME=MEXLABOR, $ FIELD=FILLER1, ALIAS=, USAGE=A9, ACTUAL=A9, $ FIELD=MEMPLOYEENUM, ALIAS=, USAGE=A6, ACTUAL=A6, $ FIELD=OEMPLOYEENUM, ALIAS=, USAGE=A6, ACTUAL=A6, $ FIELD=EMPLOYEENAME, ALIAS=, USAGE=A27, ACTUAL=A27, $ FIELD=COSTCENTER, ALIAS=, USAGE=A4, ACTUAL=A4, $ FIELD=JOBTITLE, ALIAS=, USAGE=A23, ACTUAL=A23, $ FIELD=JOBCD, ALIAS=, USAGE=A6, ACTUAL=A6, $ FIELD=FILLERXX, ALIAS=, USAGE=A6, ACTUAL=A06, $ FIELD=HRSWORKED, ALIAS=, USAGE=P13.2, ACTUAL=A13, $ FIELD=RPTMONTH, ALIAS=, USAGE=A3, ACTUAL=A3, $ FIELD=FILLER6, ALIAS=, USAGE=A7, ACTUAL=A7, $ FIELD=RPTYEAR, ALIAS=, USAGE=A2, ACTUAL=A2, $ FIELD=FILLER7, ALIAS=, USAGE=A5, ACTUAL=A5, $ FIELD=JOBHOURS, ALIAS=, USAGE=P13.2, ACTUAL=A13, $ FIELD=TRAVELHOURS, ALIAS=, USAGE=P13.2, ACTUAL=A13, $ FIELD=EMPSTATUSIN, ALIAS=, USAGE=A1, ACTUAL=A1, $ FIELD=FILLER10, ALIAS=, USAGE=A13, ACTUAL=A13, $ FIELD=HSINDICATORIN, ALIAS=, USAGE=A4, ACTUAL=A4, $ FIELD=FILLER11, ALIAS=, USAGE=A2, ACTUAL=A2, $ $ filler11 changed from a7 to a9 in feb 06 $ did not balance on job hrs so changed excel to number and resent $ then had to change back to a7
Pat WF 7.6.8, AIX, AS400, NT AS400 FOCUS, AIX FOCUS, Oracle, DB2, JDE, Lotus Notes
Posts: 755 | Location: TX | Registered: September 25, 2007