IBM Support

PH55684: DB2 SELECT INTO WITH NULL INDICATOR ON 2 LINES NOT BEING HANDLEDCORRECTLY

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • PLI program produces the incorrect output in the Impact Analysis
    Report;
    The issue occurs by when the VALUES line is broken:
    EXEC SQL
            INSERT INTO NO@NOMO
               (INSTANCE_ID
               ,NONOMONO
               ,NON_OMON_ONOM_ON)
            VALUES
               (:CNONOMO.INSTANCE_ID
               ,:CNONOMO.NONOMONO
               ,:CNONOMO.NON_OMON_ONOM_ON
                    :NON_OMON_ONOM_ON_NULL_IND);
    
    Each variable in the INSERT needs to match the each VALUE;
    However, AD does not take in consideration as a single value the
    statments broken into two lines as below:
    ,:CNONOMO.NON_OMON_ONOM_ON
        :NON_OMON_ONOM_ON_NULL_IND);
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * AD Build Client on Windows Server                            *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When mapping fields with variables, we took everything found *
    * after ':' as a candidate to be mapped to a field.            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • The fix consists in taking as a candidate for mapping only if
    it's the first variable in a separated group delimitated by
    comma (,) or by a key-word and it is not part of an arithmetic
    expression or function call.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH55684

  • Reported component name

    APPL DISCOVERY

  • Reported component ID

    5737B1600

  • Reported release

    601

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2023-07-11

  • Closed date

    2023-07-11

  • Last modified date

    2023-07-11

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    APPL DISCOVERY

  • Fixed component ID

    5737B1600

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSRR9Q","label":"IBM Application Discovery"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"601","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
13 July 2023