Focal Point
[CLOSED]Missing Records

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/761100601

May 06, 2009, 04:01 PM
moyer1dl
[CLOSED]Missing Records
I have two tables I need to reconcile.

One table has the master records. What I need to find from these two tables are any records in the master file that are not in the secondary file. And report them.

Any Help,

This message has been edited. Last edited by: moyer1dl,


IBM Main Frame: MVS, FIX, VSAM

Windows SQL

WF 7.7
May 06, 2009, 04:07 PM
RSquared
If you do a search on 'missing data' you will find that this has been discussed before and that the solution is there. You just have to read the posts.


WF 7.6.11
Oracle
WebSphere
Windows NT-5.2 x86 32bit
May 07, 2009, 09:13 AM
PBrightwell
TRY match with your hold being old-not-new


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
May 09, 2009, 03:22 PM
Danny-SRL
Are your tables FOCUS files?

If so, you can JOIN the master TO ALL the secondary.
SET ALL=PASS
Then TABLE FILE the master
issue an impossible IF or WHERE on a field of the secondary, e.g.:
IF secfield EQ 0
IF secfield NE 0

You will get all the records form the master with no corresponding secondary


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

May 11, 2009, 09:20 AM
moyer1dl
They are SQL Files


IBM Main Frame: MVS, FIX, VSAM

Windows SQL

WF 7.7
May 12, 2009, 02:50 PM
Doug
It sure seems that MATCH FILE would do the trick, as PB mentioned… If you cannot do that on the original source files, then do the MATCH FILE on extracts of the original source files.