IBM Support

IC98876: DSMC SHOW VM ALL IS TRUNCATED WHEN REDIRECTED TO A FILE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • DSMC SHOW VM ALL with no redirection displays all information on
    screen, but when the output is redirected to a file, the output
    is truncated.
    Customer/L2 Diagnostics:
    The command DSMC SHOW VM ALL will display all virtual machines,
    in this example there are 54:
    (S) 54.vmName:         Windows 2008
           hostAddress:    <hostaddress>
           tsmNodeName:    <hostaddress>
           displayName:    Windows 2008
           ipAddress:      <ipaddress>
           datacenter:     Esx4.1
           hostSystem:     <hostsystem>
           guestFolder:    vm
           guestFullName:  Microsoft Windows Server 2008 R2 (64-bit)
           altGuestName:
           guestId:        windows7Server64Guest
           uuid:           <uuid>,    moref: vm-391
           instance uuid:  503333d1-203d-e79e-24aa-52f4941b7331
           guestState:     running  connectionState:  connected
           changeTracking: On       vmHWversion:      vmx-07
           domainKeyword:  all-vm
           domainSelected: Yes
           cluster:
           vApp:
           resourcePool:   Resources
           VMDK&#65517;1&#65529;Label:   'Hard disk 1' (Hard Disk 1)
           VMDK&#65517;1&#65529;Name:    '<vmdk1name> vm_snapshots/Windows 2008
    R2-000002.vmdk'
           VMDK&#65517;1&#65529;Status:  Included
           VMDK&#65517;2&#65529;Label:   'Hard disk 2' (Hard Disk 2)
           VMDK&#65517;2&#65529;Name:    '<vmdk2name> vm_snapshots/Test Windows
    2008-000002.vmdk
    '
           VMDK&#65517;2&#65529;Status:  Included
    c:\Program Files\Tivoli\TSM\baclient>
    DSMC SHOW VM ALL > showvm.txt will display truncated output as
    shown:
    (S) 52.vmName:         Windows 7
           hostAddress:    <hostaddress>
           tsmNodeName:    <tsmnodename>
           displayName:    <displayname>
           ipAddress:      <ipaddress>
           datacenter:     <datacenter>
           hostS
    Initial Impact: Low
    Tivoli Storage Manager Versions Affected:
    6.4, 7.1/Windows, Linux
    Additional Keywords:
    TSM VM DSMC
    

Local fix

  • Copy/paste screen output into text file
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Backup-archive client versions TSM 6.4.1 and *
    *                 7.1.0 running on all Microsoft Windows.      *
    *                                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: DSMC SHOW VM ALL with no redirection    *
    *                      displays all information on screen,     *
    *                      but when the output is redirected       *
    *                      to a file, the output is truncated      *
    ****************************************************************
    * RECOMMENDATION: Apply the TSM 6.4.2 or 7.1.1 or higher client*
    ****************************************************************
    The problem is due to mixing wide-chars and non-wide-chars in
    the output to file caused by VMware's  VDDK library. C++
    classifies this as a "undefined behaviour".
    

Problem conclusion

  • Adding an fflush will flush the print buffer and fix this issue
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC98876

  • Reported component name

    TSM CLIENT

  • Reported component ID

    5698ISMCL

  • Reported release

    64W

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-01-21

  • Closed date

    2014-02-28

  • Last modified date

    2015-10-13

  • 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 CLIENT

  • Fixed component ID

    5698ISMCL

Applicable component levels

  • R64L PSY

       UP

  • R64W PSY

       UP

  • R71L PSY

       UP

  • R71W 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":"64W","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}}]

Document Information

Modified date:
13 October 2015