IBM Support

PH56522: FIXING THE BEHAVIORS OF GRAPHIC AND VARGRAPHIC THE SAME AS CHAR,VARCHAR DATA TYPES REGARDING SEARCH CONDITIONS IN WHERE CLAUSE.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as new function.

Error description

  • Searching a GRAPHIC column with a WHERE clause on Virtual Tables
    based on Db2 table and IMS, VSAM and Sequential datasets return
    different result sets.
    Example:
    Assume that a GRAPHIC column contains a record with some DBCS
    characters followed by DBCS spaces. e.g. 'DVM2       '.
    When doing a SELECT on the column with "WHERE column = 'DVM2',it
    returns that row no matter if DBCS spaces are padded or not.
    For similar query against IMS, VSAM or Sequential virtual table,
    it does not return that row unless the DBCS spaces are padded in
    the WHERE clause.
    Similar query against Db2 virtual table behaves differently
    than IMS virtual table. It treats the column like a VARGRAPHIC.
    When executing a query against Db2, with or without padded
    spaces, it will return the correct rows.
    
    The behavior should match how CHAR and VARCHAR works.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: ALL USERS                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: PH56522                                 *
    *                      Fixing the behaviors of GRAPHIC and     *
    *                      VARGRAPHIC the same as CHAR and         *
    *                      VARCHAR data types regarding search     *
    *                      conditions in WHERE clause.             *
    ****************************************************************
    * RECOMMENDATION: APPLY PTF                                    *
    ****************************************************************
    PH56522
    Fixing the behaviors of GRAPHIC and VARGRAPHIC the same as
    CHAR and VARCHAR data types regarding search conditions
    in WHERE clause.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PH56522

  • Reported component name

    DATA VIRT MGR Z

  • Reported component ID

    5698DVM00

  • Reported release

    110

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    YesSpecatt / New Function / Xsystem

  • Submitted date

    2023-08-24

  • Closed date

    2023-09-21

  • Last modified date

    2023-10-02

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

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

Modules/Macros

  • AVZCACM4 AVZCRDBD AVZCSECR AVZCSQOP AVZCTROF AVZCTRON AVZCTVRD
    AVZO319D AVZO319N AVZO31AD AVZO31AN AVZO31BD AVZO31BN AVZO31CD
    AVZO31CN AVZO31DD AVZO31DN AVZO649D AVZO649N AVZO64AD AVZO64AN
    AVZO64BD AVZO64BN AVZO64CD AVZO64CN AVZO64DD AVZO64DN AVZOBRSQ
    AVZOCXIN AVZODF9D AVZODF9N AVZODFAD AVZODFAN AVZODFBD AVZODFBN
    AVZODFCD AVZODFCN AVZODFDD AVZODFDN AVZOINAS AVZOPPA  AVZOSXMX
    AVZPB    AVZSIN00 AVZSQ29D AVZSQ29N AVZSQ2BN AVZSQ2CN AVZSQ2DN
    AVZSQL9D AVZSQL9N AVZSQLBN AVZSQLCN AVZSQLDN AVZSQLPR
    

Fix information

  • Fixed component name

    DATA VIRT MGR Z

  • Fixed component ID

    5698DVM00

Applicable component levels

  • R110 PSY UI93681

       UP23/09/23 P F309  

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":"BU011","label":"Systems - zSystems software"},"Product":{"code":"SG19M"},"Platform":[{"code":"PF054","label":"z Systems"}],"Version":"110"}]

Document Information

Modified date:
03 October 2023