Installer 10.15 | Complete Installation and Upgrade Information for Software AG Products | Command Central | Using the Command Line Interface | Inventory Commands | sagcc list inventory fixes
 
sagcc list inventory fixes
Lists information about fixes that have been applied to products. Information about fixes can include:
*Fix ID
*Fix name
*Version of the fix
*Product to which the fix is applied
*The date and time when the fix was installed
Syntax
*Command Central syntax:
*To list information for a specified installation:
sagcc list inventory fixes  [nodeAlias] [options]
*To list fixes that match specified search criteria:
sagcc list inventory fixes  [searchCriteria] [start=from_number]
[size=count] [options]
*Platform Manager syntax:
sagcc list inventory fixes [options]
                 
 options:                  
[{--accept | -a} content_type]                  
[{--debug | -d}]                  
[{--error | -r} file]                  
[{--format | -f} {tsv args | xml | csv args | json}]                  
[{--log | -l} file]                  
[{--output | -o} file]                  
[{--quiet | -q}]                  
[{--password | -p} password]                  
[{--server | -s} url]                  
[{--username | -u} user_name]
Arguments and Options
Argument or Option
Description
[nodeAlias]
Command Central only.
Optional. Specifies the alias name of the installation for which you want to retrieve fix information.
You can view a list of installations and their aliases using sagcc list landscape nodes.
If you do not specify an alias name nor search criteria, the command lists all fixes in all installations that Command Central manages.
[searchCriteria]
Command Central only.
Optional. Narrows down the list of returned fixes to only those that match the search criteria you specify. For more information, see Specifying Search Criteria for Inventory Commands.
[start=from_number]
Command Central only.
Optional. Limits the results the command returns to those starting at the specified number in the results.
For example, if you want to return information for the 5th through the 8th products in the results, use start=5 size=4.
[size=count]
Command Central only.
Optional. Limits the number of results you want returned.
For example, if you specify size=1, the command returns information for only one product.
[options]
Optional. Refer to the command syntax for a list of the options the command supports. For a description of the options, see Common Options.
Examples When Executing on Command Central
*To execute a command on the Command Central server with host name “rubicon” and port “8090” to retrieve information for the installation with alias “sag01” and have the output returned to the console in JavaScript Object Notation format:
sagcc list inventory fixes sag01 --server http://rubicon:8090/cce                
--format json --password secret
Because the {--username | -u} option is not specified, the command uses the default user name. For more information, see username. The command specifies “secret” for the user’s password.
*To list the fixes applied to all products that the Command Central with host name “rubicon” and port “8090” manages, using the authorization of the user with user name “Administrator” and password “manage”, and have the information returned to the output file “fixlist” in XML format:
sagcc list inventory fixes --format xml --output fixlist                
--server http://rubicon:8090/cce --username Administrator                
--password manage
*To list the same fixes as the first example above, but restrict the number of returned products to only 5:
sagcc list inventory fixes sag01 size=5 --format xml --output productlist                
--server http://rubicon:8090/cce --username Administrator                
--password manage
*To list the fixes that are version 9.12 or later and also contain “wMFix” in their fix IDs, and return the output to the console in JavaScript Object Notation format:
sagcc list inventory fixes fixversion=9.12* fixId=*wMFix* --format json                 
--password secret
Because the {--server | -s} and {--username | -u} options are not specified, the command uses the default server and user name. For more information, see server and username. The command specifies “secret” for the user’s password.
*To list the 10th through the 15th fixes in the results and return the output to the console in XML format:
sagcc list inventory fixes start=10 size=6 --format xml --password secret
Because the {--server | -s} and {--username | -u} options are not specified, the command uses the default server and user name. For more information, see server and username. The command specifies “secret” for the user’s password.
Example When Executing on Platform Manager
To list information about the fixes applied to all the products that are managed by the Platform Manager with host name “rubicon2” and port “8092”, using the authorization of the user with user name “Administrator” and password “manage”, and have the information returned to the console in XML format:
sagcc list inventory fixes --format xml --username Administrator                
--password manage --server http://rubicon2:8092/spm