IBM Support

IC74718: SQL SELECT USING CONCAT RETURNS HEXADECIMAL RESULT ON SERVER LEVEL 6.X

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When select is issued on server level 6.x using CONCAT scalar
    function, returned result is hexadecimal although it should be
    text.
    
    Following statement will give observed result on 6.x server:
    
    tsm: TSM> select FILESPACE_NAME ||HL_NAME||LL_NAME from backups
    where NODE_NAME = 'CLIENT'
    Unnamed[1]:
    5C5C6F6C77656E5C65245C54455354434153455C31303034373239393636
    Unnamed[1]: 5C5C6F6C77656E5C65245C5445535443415345
    Unnamed[1]: 5C5C6F6C77656E5C65245C54455354434153455C303134383635
    
    The same statement on the 5.x server will return correct output:
    
    tsm: TSM> select FILESPACE_NAME||HL_NAME||LL_NAME from backups
    where node_name = 'CLIENT'
    ANR2963W This SQL query may produce a very large result table,
    or may require a significant amount of time to compute.
    
    Do you wish to proceed? (Yes (Y)/No (N)) y
    
    Unnamed[1]
    ------------------
    \\client\c$\TEST
    \\client\c$\TEST\014865
    \\client\c$\TEST\01815
    \\client\c$\TEST\019303
    \\client\c$\TEST\020705
    
    This is another form of the statement that can be used to
    get the same result:
    
    select concat(concat(FILESPACE_NAME,HL_NAME),LL_NAME) from
    backups where NODE_NAME='CLIENT'
    
    TSM Versions Affected:
    Tivoli Storage Manager server 6.x on all platforms.
    
    Initial Impact:
    Low
    
    Additional Keywords:
    zz61 zz62 concat hexadecimal hex
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All Tivoli Storage Manager server users of   *
    *                 the SELECT command.                          *
    ****************************************************************
    * PROBLEM DESCRIPTION: See error description.                  *
    ****************************************************************
    * RECOMMENDATION: Apply fixing level when available. This      *
    *                 problem is currently projected to be fixed   *
    *                 in level 6.2.3. Note that this is            *
    *                                                              *
    *                 subject to change at the discretion of IBM.  *
    ****************************************************************
    *
    

Problem conclusion

  • This problem was fixed.
    Affected platforms:  AIX, HP-UX, Sun Solaris, Linux and Windows.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC74718

  • Reported component name

    TSM SERVER

  • Reported component ID

    5698ISMSV

  • Reported release

    62W

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-03-01

  • Closed date

    2011-03-15

  • Last modified date

    2013-08-21

  • 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

    TSM SERVER

  • Fixed component ID

    5698ISMSV

Applicable component levels

  • R61A PSY

       UP

  • R61H PSY

       UP

  • R61L PSY

       UP

  • R61S PSY

       UP

  • R61W PSY

       UP

  • R61Z PSY

       UP

  • R62A PSY

       UP

  • R62H PSY

       UP

  • R62L PSY

       UP

  • R62S PSY

       UP

  • R62W PSY

       UP

  • R62Z PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGSG7","label":"Tivoli Storage Manager"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"62W","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}}]

Document Information

Modified date:
21 August 2013