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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
MVS to SQL
 Login/Join
 
Platinum Member
posted
I want to create two hold files and then match them. The problems one is in MVS and the other is in SQL is there a way to bring the MVS file into the webfocus environment so I can compare it to the sql file through an executable automatically.


IBM Main Frame: MVS, FIX, VSAM

Windows SQL

WF 7.7
 
Posts: 147 | Registered: June 24, 2006Report This Post
Virtuoso
posted Hide Post
The one on MVS, is that a sequential file or in some DBMS like DB2 or such?
If it is sequential, then maybe use ftp to copy it to the pc and then process furter.
If it is in a dbms, can't you add an adapter to the pc reporting server to report from the MVS dbms?


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Expert
posted Hide Post
(Hi Gamp)

Are the two source files available for reporting from within a WebFOCUS fex?
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Platinum Member
posted Hide Post
Step 1: Pull the Data from the MVS, use define fields as necessary and then hold the output as a FOCUS table with at least one index field. Keep in mind the 4 field limit, and 11 character limit for the index field names.

Step 2: pull the data from the SQL table(s), use define fields as necessary, and hold that as a focus table with EXACTLY the same index fields (name and format). Also for the field you actually want to compare the values of, use different field names i.e. MVS_CAR vs SQL_CAR.

Step 3: Use MATCH FILE Processing as described in ch 16 of the Creating Reports with WebFOCUS Language. I.E.

 
MATCH FILE MVS_DATA
SUM 
  MVS_FIELD1
  MVS_FIELD2
BY SORT_FIELD1
RUN
MORE
FILE SQL_DATA
SUM 
  SQL_FIELD3
  SQL_FIELD4
BY SORT_FIELD1
AFTER MATCH HOLD....
 



OLD-NOT-NEW will give you what is in MVS with no matching records in SQL

NEW-NOT-OLD give SQL records that are not in MVS

OLD-AND-NEW gives recods in BOTH, and because you named the fields with the source, you can actually compare the values.

Hope this helps a bit.


Robert F. Bowley Jr.
Owner
TaRa Solutions, LLC

In WebFOCUS since 2001
 
Posts: 132 | Location: Gadsden, Al | Registered: July 22, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders