IBM Support

The command line parameters are incorrect

Troubleshooting


Problem

This technote explains why attempts to copy the IBM® Installation Manager commands from a Microsoft® Word file or a web page and execute the command with a command prompt,results in the error message: "The command line parameters are incorrect". and provides instructions to resolve the error.

Symptom

You copy "IBMIM -record C:\temp\response.xml -log C:\temp\log.xml" command from a Microsoft Word file and paste and execute the command (without quotes) from the command prompt.

IBM Installation Manager will display the following error:

Cause

Microsoft Word or Web Browsers do not use a true "-" (HYPHEN-MINUS), rather they use a unicode character code "\u2013" (EN-DASH), which *looks like* a HYPHEN-MINUS.

So, when you copy and paste the command into command prompt, IBM Installation Manager will treat "-" as an invalid character.

Note: The true "-" has unicode character code "\002D" (HYPHEN-MINUS).

Resolving The Problem

  1. Remove the unicode character code "\u2013" (EN-DASH) and replace it with a normal dash "\002D" (HYPHEN-MINUS) in Microsoft Word.

    OR
  2. Type the command manually in the command prompt.
[{"Product":{"code":"SSDV2W","label":"IBM Installation Manager"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"General information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"1.1;1.1.0.1;1.1.0.2;1.1.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

More support for:
IBM Installation Manager

Software version:
1.1, 1.1.0.1, 1.1.0.2, 1.1.1

Operating system(s):
Windows

Document number:
99419

Modified date:
25 October 2021

UID

swg21305866

Manage My Notification Subscriptions