IBM Support

PI24218: REMOVE "PRESERVE WHITESPACE" FROM XML COLUMN SPEC IN DB2 11 DSNTIAUL-GENERATED LOAD STATEMENT

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • APAR PM86927 modified DSNTIAUL so that the LOAD spec for XML
    columns specifies XML PRESERVE WHITESPACE instead of CLOB.
    This APAR will further modify DSNTIAUL to remove the PRESERVE
    WHITESPACE clause.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of DSNTIAUL in DB2 Version 11 for  *
    *                 z/OS are affected by this change.            *
    ****************************************************************
    * PROBLEM DESCRIPTION: Users of DSNTIAUL may observe that it   *
    *                      unloads XML columns as 'XML PRESERVE    *
    *                      WHITESPACE' which is not the LOAD       *
    *                      default value 'XML'.                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    DSNTIAUL is a sample dynamic SQL processing application that is
    used primarily to unload data from DB2 tables to an externalized
    format.  DSNTIAUL also generates a LOAD control statement that
    can be used in conjunction with the DB2 LOAD utility to load the
    externalized data back into DB2.
    
    Currently, when XML data is unloaded and the LOBFILE option is
    not specified in the DSNTIAUL parameter list, data in XML
    columns is unloaded in record format, up to 32 KB per row, and
    the generated LOAD statement specifies 'XML PRESERVE WHITESPACE'
    in the field specification for each XML column.  However,
    PRESERVE WHITESPACE overrides the default behavior of LOAD,
    which is not to preserve whitespace.
    

Problem conclusion

  • In response, this APAR modifies DSNTIAUL to specify 'XML'
    instead of 'XML PRESERVE WHITESPACE'.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI24218

  • Reported component name

    DB2 OS/390 & Z/

  • Reported component ID

    5740XYR00

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-08-20

  • Closed date

    2014-10-09

  • Last modified date

    2014-11-04

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

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

    UI22087

Modules/Macros

  •    DSNTIAUL
    

Fix information

  • Fixed component name

    DB2 OS/390 & Z/

  • Fixed component ID

    5740XYR00

Applicable component levels

  • RB10 PSY UI22087

       UP14/10/25 P F410

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEPEK","label":"Db2 for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
06 May 2020