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.
So here is my problem. I have at table. The first 3 columns are correct. However, the correct data for that row, is two rows back. For example, on row 10 the first 3 columns are correct the rest of the columns are wrong. The correct data for row 10 is in row 8. In order ti fix the table, I need to move the data down 2 rows.
How do I do this using WebFocus.This message has been edited. Last edited by: FP Mod Chuck,
Firstname = John Lastname = Doe Street Address = 100 Main Street City = Anytown State = USA
Now here is the problem
on row 10 is John Doe on row 8 is 100 Main Street Anytown USA
The correct data is in 2 different rows. The first few rows will be fixed manually. The rest of the rows need to be moved down. It's all ways two rows off.
Do you have a key of foreign key to use that can tell you which records goes with which one ?
If so, you can then extract them per that id/fk and have them "grouped" properly.
It sounds to me that your table contain multiple type of record : address row, name row, etc. Probably there is a rowType indicator and a common fk somewhere but without further information it's difficult to help. We can only do assumption.
Please share your master file. It may help to understand how your data is organized.
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013
In my considered opinion, you're trying to use a BI tool as an ETL tool. This is a data problem that begs the question, why is my data set up like this and even if you come up with something that fixes the problem today, will it be repeatable next week?
WebFOCUS 8206, Unix, Windows
Posts: 1853 | Location: New York City | Registered: December 30, 2015
Rich, Is this something you could work with (using the CAR file)?
TABLEF FILE CAR
PRINT COUNTRY CAR MODEL
ON TABLE HOLD
END
DEFINE FILE HOLD
LL1/I5=LAST LL1 + 1;
LL2/I5=LL1 - 2;
MOD1/A30=LAST MODEL;
MOD2/A30=LAST MOD1;
MODL/A30=IF LL2 LE 0 THEN MODEL ELSE MOD2;
END
TABLE FILE HOLD
PRINT MODEL LL1 LL2 MOD1 MOD2 MODL
BY COUNTRY
BY CAR
END
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006
We solve a lot on fex level. Often just to find out what the businessrules should be or to find out what the business really want. And to help find out what's wrong with the data. Prototyping.
Higher data quality takes a LOT of time. So is implementing some of it on database level.
I do agree data quality is highly unrated topic.
But this is not the place to preach about it.
_____________________ WF: 8.0.0.9 > going 8.2.0.5
Posts: 668 | Location: Veghel, The Netherlands | Registered: February 16, 2010
I went back and looked at the docs of previous versions, and I should add the caveat that this function is available beginning in release 8201M - About This Release
TABLE FILE SYSSQLOP
SUM
FUNCTION_SYNTAX
FUNCTION_DESC
FUNCTION_EXAMPLE
BY CATEGORY
BY FUNCTION
BY FUNCTION_TYPE
BY OPTIMIZE
WHERE CATEGORY EQ &CATEGORY.(OR(FIND CATEGORY IN SYSSQLOP |FORMAT=A128)).Category.;
WHERE SUFFIX EQ &SUFFIX.(OR(FIND SUFFIX IN SYSSQLOP |FORMAT=A25)).Adapter.;
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET BYDISPLAY ON
ON TABLE SET STYLE *
TYPE=REPORT, LINES-PER-PAGE=UNLIMITED, TITLETEXT='WebFOCUS Functions', $
ENDSTYLE
END
-RUN
Hallway
Prod: 8202M1
Test: 8202M4
Repository:
OS:
Outputs:
Posts: 608 | Location: Salt Lake City, UT, USA | Registered: November 18, 2015