Skip to Content
author's profile photo Former Member
Former Member

left outer join BO5.1universe-migrated to BOXI left outer join missing(DB2)

Two tables are joined using left outer join in BO 5.1 universe which is using DB2 database. When we migrated this universe to BO XI R2, the same join is existing at universe level but missing at the report level .

Before migration, query from BO 5.1 report is as follows:

SELECT

NUPB.TPBMCFOS.SYSTEM,

NUDW.TDWDAGY.AGY_ACCOUNT_SOURCE,

NUPB.TPBMCFOS.ITEMCODE_ALPHA,

NUPB.TPBMCFOS.TRANSACTION_DATE,

NUPB.TPBMCFOS.ITEMCODE_NUM,

NUPB.TPBMCFOS.AGENCY_REFERENCE,

NUPB.TPBMCFOS.POLICY_NO,

NUPB.TPBMCFOS.SUSPENSE_DATE,

NUPB.TPBMCFOS.SUSPENSE_TYPE,

NUPB.TPBMCFOS.SUSPENSE_CODE,

NUPB.TPBMCFOS.GROSS_PREMIUM,

NUPB.TPBMCFOS.COMMISSION_AMOUNT,

NUPB.TPBMCFOS.NETT_PREMIUM

FROM

NUPB.TPBMCFOS LEFT OUTER JOIN NUDW.TDWDAGY ON (NUPB.TPBMCFOS.AGENCY_REFERENCE=NUDW.TDWDAGY.AGY_ACCOUNT_REF AND NUDW.TDWDAGY.AGY_CURRENT_ROW=1)

After migration, query from DeskI report is as follows:

SELECT

NUPB.TPBMCFOS.SYSTEM,

NUDW.TDWDAGY.AGY_ACCOUNT_SOURCE,

NUPB.TPBMCFOS.ITEMCODE_ALPHA,

NUPB.TPBMCFOS.TRANSACTION_DATE,

NUPB.TPBMCFOS.ITEMCODE_NUM,

NUPB.TPBMCFOS.AGENCY_REFERENCE,

NUPB.TPBMCFOS.POLICY_NO,

NUPB.TPBMCFOS.SUSPENSE_DATE,

NUPB.TPBMCFOS.SUSPENSE_TYPE,

NUPB.TPBMCFOS.SUSPENSE_CODE,

NUPB.TPBMCFOS.GROSS_PREMIUM,

NUPB.TPBMCFOS.COMMISSION_AMOUNT,

NUPB.TPBMCFOS.NETT_PREMIUM

FROM

NUPB.TPBMCFOS,

NUDW.TDWDAGY

WHERE

( (NUPB.TPBMCFOS.AGENCY_REFERENCE=NUDW.TDWDAGY.AGY_ACCOUNT_REF AND NUDW.TDWDAGY.AGY_CURRENT_ROW=1) )

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 28, 2008 at 01:32 PM

    Hi Uday,

    Try to check the SQL and report output by changing the parameter value in Universe Parameter as

    ANSI92 = Yes

    Thanks,

    Sushil

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 28, 2008 at 02:47 PM

    I tried changing ANSI92 = Yes in the parameters tab in BOXI and the SQL query has changed to RIGHT OUTER JOIN instead of LEFT OUTER JOIN.Did anyone face this kind of issue?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.