Software AG Command Central 10.0 | Command Central Developer Reference | 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 fix:
sagcc list inventory fixes  [fixid]  [options]
*To list fixes that match specified search criteria:
sagcc list inventory fixes  [criteria] [start=number] [size=number]                
[options]
*Platform Manager syntax:
sagcc list inventory fixes  [fixid]  [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
fixid
Optional. Specifies the ID of the fix for which you want information.
[criteria]
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=number]
Command Central only.
Optional. Limits the results the command returns those starting at 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=number]
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 fix with ID “CCE_9-0_Fix2” and have the output returned to the console in JavaScript Object Notation format:
sagcc get inventory fixes CCE_9-0_Fix2 --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 size=5 --format xml --output productlist                
--server http://rubicon:8090/cce --username Administrator                
--password manage
*To list the fixes that are version 9.5 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.5* 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

Copyright © 2013-2017 | 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