IBM Support

Unable to create the dsmmsinfo.txt file

Troubleshooting


Problem

The dsmmsinfo.txt file is not created when running the dsmc query systeminfo command.

Symptom

Running the 'dsmc q systeminfo' command creates a dsminfo.txt file, however, the data collected for the dsminfo.txt file is incomplete and the dsmmsinfo.txt file is not created.

C:\Program Files\Tivoli\TSM\baclient>dsmc q systeminfo
IBM Tivoli Storage Manager
Command Line Backup-Archive Client Interface
Client Version 6, Release 2, Level 4.7
Client date/time: 02/26/2013 15:15:58
(c) Copyright by IBM Corporation and other(s) 1990, 2012. All Rights Reserved.

Node Name: NODE147
Session established with server SERVER1: AIX-RS/6000
Server Version 5, Release 5, Level 4.1
Server date/time: 02/26/2013 15:15:51 Last access: 03/10/2013 10:29:44

Collecting operating system information. This may take
a few minutes...
Operating system information collection is complete.
Unable to open file 'dsmmsinfo.txt'
QUERY SYSTEMINFO output has been written to file dsminfo.txt.

Cause

The ComSpec environment variable value should point to a fully qualified path to the system command processor, i.e., cmd.exe. It is not intended to be a path-like environment variable that contains a list of semicolon delimited paths. Rather, it is supposed to point to a single file:
c:\windows\system32\cmd.exe

The following Microsoft article describes this:

http://technet.microsoft.com/en-us/library/cc976142.aspx

The _system() API function call relies on a correctly formed ComSpec environment variable. The value for ComSpec needs to be corrected, after the value is corrected, the Windows 'set' command should show this:

ComSpec=C:\Windows\system32\cmd.exe

Diagnosing The Problem

To verify that this is not a file creation permission issue, attempt to manually create a dsmmsinfo.txt file.

Review the dsminfo.txt file, determine if any MSINFO information is logged under this header:


====================================================================
MSINFO
====================================================================

If no information for MSINFO is logged, collect the output of the 'set' command and check the value of the ComSpec environment variable. Check the value to ensure that it is valid.

The value shown below is not valid, the ComSpec environment variable value should be a fully qualified path to the system command processor.

ComSpec=C:\Program Files\Java\jre6\bin;C:\Windows\system32\cmd.exe

Resolving The Problem

Correctly set the value for the ComSpec environment variable. For example:

[{"Product":{"code":"SSGSG7","label":"Tivoli Storage Manager"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Client","Platform":[{"code":"PF033","label":"Windows"}],"Version":"All Supported Versions","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}}]

Product Synonym

TSM

Document Information

Modified date:
17 June 2018

UID

swg21627061