This was just published this morning. It seems to address your issue.

TechTip: DB2's CONNECT BY Simplifies Recursive Processing

Paul Therrien
Ext: 551

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Musselman, Paul
Sent: Friday, April 13, 2012 9:24 AM
To: Midrange Systems Technical Discussion
Subject: RE: Finding reporting officer

If I followed this closely enough, and understand what you have, every employee is in a file, and has a 'pointer' to his or her boss. And now you need to point the UberBosses to a board member.

Could you just add the board members to the file, and point the UberBosses to them? And flag the 'my boss' field for the board members as *TOP or something like that?

You could then twist the 'BoardMembers' file around, and make it a logical over the employee file selecting only those entries with *TOP...

Or have I missed something important?

Paul E Musselman
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].