IBM Support

MCS - sdk version command error '<sdk home>' is not recognized as an internal or external command

Troubleshooting


Problem

MCS - sdk version command error '' is not recognized as an internal or external command

Symptom

Early in the installation process, or during the migration process the sdk version command can be used.  

The result is a listing that displays information about the MCS environment.  This command is available in all sdk versions up to, and including, sdk 3.5.3. 

 

Error Message

On screen:

 

C:\System67\sdk>sdk version
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

Resolving The Problem

The error is occurring because the HOME variables are not in place. Adding a definition for the HOME variables to the sdk.bat file can answer this problem. 

Note that the following examples are just examples, these variables need to show the correct directory for the system or installation they are on.  The assigned value will override any system value for the HOME variables when running the sdk command.

set JAVA_HOME=C:\\j2sdk1.4.2_19
set COMERGENT_SDK_HOME=C:\\System67\\sdk

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"MCS - Comergent SDK","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

NFX7080

Product Synonym

[<p><b>]Severity[</b><p>];Normal;[<p><b>]Type[</b><p>];NormalFix;[<p><b>]Build[</b><p>];SDK specific;any build

Document Information

Modified date:
16 June 2018

UID

swg21558772