Previous Topic: ExampleNext Topic: uninstallItem—Uninstall item of template group


showAttrItem—Show Attributes of Item in Software Template

This action shows the attributes of a job assigned to a software template.

This action has the following format:

templategroup action showAttrItem 
name=template_group_name
[swTemplate=software_template_name]
jobName=name_of_the_item_order
jobName

Specifies the name of the item order to be shown.

name

Specifies the name of the software template, which contains the item order to be shown.

swTemplate

Specifies the name of the software template where the job to be shown is located.

If not coded the default name “<group name> [$date $time]” is taken.

Example: Show Attibutes of Item in software template

Consider to be shown the assigned uninstallation job shown previously. The following command will provide the required information:

cadsmcmd templateGroup action=showAttrItem name=tg swTemplate=tg jobName="prod 1.0/00:unist"

CA IT Client Manager r12
ITCM Command Line Version 12.8.0.xxxx
Copyright (c) 2013 CA. All rights reserved.

Trace mode: Off

Connecting to manager "<default manager>" as user "<default user>" ... ok.
Manager: mymanager
Domain: mydomain
Domain type: Domain
Supporting: CO CCNF USD OSIM 


-------------------------------------------------------------------------------
Show attributes of the assigned job "prod 1.0/00:uninst" 
........from the template group "tg" 
-------------------------------------------------------------------------------
Job name...............................: prod 1.0/00:uninst
..Item name............................: prod
..Item version.........................: 1.0/00
..Item type............................: SOFTWARE
..Procedure name.......................: uninst
..Delivery calendar....................:
..Timeout <days/hours>.................: 7 / 0
..Job startup..........................: local time/exact
..Pre action............................: no action
..Post action...........................: no action
..Job operation mask...................: 0
.........................................ignore calendars on target computers
..User parameters......................:
..Prompt timeout <days/hours>..........: 1 / 0
..Job task.............................: 2 - uninstall

SDCMD<A000000>: OK