Software AG Command Central 10.2 | Command Central Developer Reference | Using the Command Line Interface | License Reports Commands | sagcc get license-tools metering contracts licensekey
 
sagcc get license-tools metering contracts licensekey
Returns all automatic assignments of a run-time component to a license, or a list of assignments based on the following filters:
*Node alias
*Run-time component ID
Syntax
*Command Central syntax:
sagcc get license-tools metering contracts licensekey
[nodeAlias=nodeAlias] [runtimeComponentId=runtimeComponentId [options]
*Not supported on Platform Manager.
Arguments and Options
Argument or Option
Description
[nodeAlias=nodeAlias]
Optional. Specifies the alias name of the installation in which the run-time component is installed.

[runtimeComponentId=  runtimeComponentId]
Optional. Specifies the run-time component for which to retrieve the automatic assignment of a license.
[options]
Optional. The command allows all options supported by the Command Line Interface. For a description of the options, see Common Options.
Usage Notes
You use the command to retrieve the following information:
*The automatic assignment of a license for run-time components that have a license key attached.
*Whether the identified license of each assignment can be found in an active license manifest file.
*If the license can be found in an active license manifest file, the command returns a contract item identifier that contains the location ID of the manifest.
*If the license cannot be found in an active license manifest file, the command returns a contract item identifier that has a null location ID.
Example When Executing on Command Central
To retrieve the automatic license assignment for the run-time component “IntegrationServer_default” installed in the installation with alias name “sag01”:
sagcc get license-tools metering contracts licensekey  nodeAlias=sag01
runtimeComponentId=IntegrationServer_default

Copyright © 2013-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release