Thanks, I finally got the time to follow that link.

Thanks; that's amusing. To summarize: IBM is now (only recently) embracing
the CONNECT BY clause for recursion. The amusing part is that Oracle has
been supporting the CONNECT BY clause for a few years, and not until
recently (11g R2) did it allow the recursive CTE. Oracle users seem
ecstatic to learn that recursive CTE is at hand.

I don't know... just struck me as funny.

But as I mentioned before, we're at V5R3 and neither the recursive WITH
clause nor CONNECT BY will do me any good.

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
REALITY.SYS corrupted. Reboot universe <Y/N>?



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

TechTip: DB2's CONNECT BY Simplifies Recursive Processing
http://echo.bluehornet.com/ct/4809570:2317537725:m:1:65971428:466A6174D
0D31068DD7B0AD520760BC3:r



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
PaulMmn@xxxxxxxxxxxxxxxxxxxx
--
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,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-l.

--
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,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-l.



This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2019 by midrange.com 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].