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.
In file STRTST03 there is 10 records containing data for year 2008 ( Year3 field ) In file STRTST04 there is 10 records containing data for year 2009 ( Year4 field ) In file STRTST05 there is 3 records containing data for year 2008 ( Year5 field ) In file STRTST06 there is 3 records containing data for year 2009 ( Year6 field )
I am trying to create a report to show 26 record with data as
SET ASNAMES = ON
-SET &CNTR = 3;
-REPEAT GET_DATA 5 TIMES
TABLE FILE SRTST0&CNTR
PRINT
TypeLbl&CNTR AS 'TYPE_LBL'
DivLbl&CNTR AS 'DIV_LBL'
Sales&CNTR AS 'SALES'
BY JoinLbl0&CNTR AS 'KEY_COL'
BY Year&CNTR AS 'YEAR'
ON TABLE HOLD AS HOLD&CNTR
END
-RUN
-SET &CNTR = &CNTR + 1;
-IF &CNTR GT 7 GOTO DONE;
-GET_DATA
-DONE
TABLE FILE HOLD3
PRINT
TYPE_LBL
DIV_LBL
SALES
BY KEY_COL
BY YEAR
ON TABLE HOLD AS FINAL
MORE
FILE HOLD4
MORE
FILE HOLD5
MORE
FILE HOLD6
MORE
FILE HOLD7
END
-RUN
TABLE FILE FINAL
PRINT
TYPE_LBL
DIV_LBL
SALES
BY KEY_COL
BY YEAR
END
-EXIT
Here's another idea. Since the formats for the four files are the same, use a single master and the USE statement to 'concatenate' the four FOCUS files to that master.
Ginny, I would have suggested that if all the column names were the same.
If programmers create FOCUS DB's like above, instead of creating them with the same column names and different file names, then, the code above, or something similar, is my thought.
Of course, creating "another" MFD with common names will work also.