To display the list of products from the software library, enter the following command:
cadsmcmd swlibrary action=list
The following information is shown:
------------------------------------------------------------------------------- List of library items ------------------------------------------------------------------------------- Item name........: tstool_1 ..Item version........: 1.0 ..Item type........: SOFTWARE ..Package type.....:Generic ..Package format...:Regular ..Package size.....:90 ..Based on item........: ..Based on version........: ..Creation date........: 2009-09-25 ..Creation time........: 11:39 ..Change date........: 2009-09-25 ..Change time........: 11:41 ..Checksum enabled...:Yes ........................ Item name........: tstool_1 ..Item version........: 1.1 ..Item type........: SOFTWARE ..Package type.....:Generic ..Package format...:Regular ..Package size.....:70 ..Based on item........: tstool_1 ..Based on version........: 1.0 ..Creation date........: 2009-09-25 ..Creation time........: 11:41 ..Change date........: 2009-09-25 ..Change time........: 11:45 ..Checksum enabled...:Yes ------------------------------------------------------------------------------- Total number of Items: 74 Total number of Items Read: 74 Total number of items shown: 74 SDCMD<A000000>: OK
To display the list of products from the software library starting with name "tst" and having version 1.1 using filters, enter the following command:
cadsmcmd swlibrary action=list filter="(Item name=tst* && Item version=1.1)"
The following information is shown:
------------------------------------------------------------------------------- List of library items ------------------------------------------------------------------------------- Item name........: tstool_1 ..Item version........: 1.1 ..Item type........: SOFTWARE ..Package type.....:Generic ..Package format...:Regular ..Package size.....:80 ..Based on item........: tstool_1 ..Based on version........: 1.0 ..Creation date........: 2009-09-25 ..Creation time........: 11:41 ..Change date........: 2009-09-25 ..Change time........: 11:45 ..Checksum enabled...:Yes ------------------------------------------------------------------------------- Total number of Items: 74 Total number of Items Read: 74 Total number of items shown:1 SDCMD<A000000>: OK
Copyright © 2014 CA Technologies.
All rights reserved.
|
|