IBM Support

JR40886: "VIEW DATA" FAILS FOR DB2 CONNECTOR STAGE IF UNABLE TO FETCH THE TABLENAME FROM USER DEFINED SQL WHEN USING PARAMETER FOR SCHEMA

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • For a job where the DB2 Connector stage has user defined SQL
    (Generate SQL = No), and the table name in the update or insert
    statement is coded with a parameter for schema name (i.e
    #SchemaName#.Tablename ), View Data will fail for that stage
    since it is unable to fetch the correct table name.
    

Local fix

Problem summary

  • In a writejob,ViewData failed to display the resultset when the
    tablename was of the format #Schema#.<tablename>
    

Problem conclusion

  • DETAILS:
    
      In a writejob partitioner type set to DB2Connector, and
    GenerateSQL = NO; when the table name was of the format
    #Schemaname#.<tablename>, ViewData was not able to fetch the
    correct tablename as SQLBuilder failed to build the correct
    table name from the 'Write Type' property because of which it
    failed to generate the resultset.
    
    RESOLUTION:
    
      This problem has been fixed, ViewData will now be able to
    display the correct result set when any write job with DB2
    Connector as partitioner type, GenerateSQL = NO; and table name
    of the format #Schemaname#.<tablename> is used.
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
     a
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR40886

  • Reported component name

    INFO SRVR PLATF

  • Reported component ID

    5724Q3612

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-10-14

  • Closed date

    2012-01-07

  • Last modified date

    2012-01-07

  • 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

    INFO SRVR PLATF

  • Fixed component ID

    5724Q3612

Applicable component levels

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSZJPZ","label":"InfoSphere Information Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
12 October 2021