The task is used to delete one or more FMID Item system definitions.
The task supports Team Build Attributes, Build Extensions Debugging Attributes, Build Extensions General Attributes, as well as, its own task specific attributes. Click on a link for more information on the common attributes.
The following table describes the task specific attributes for the task:
| Task Specific Attributes | ||
| Attribute | Description | Required |
| name | Name of the system definition item. At least one item name must be specified either by the name attribute or by including an Item element. | No |
| projectArea | Name of the project area which contains the Enterprise Extensions system definitions. | Yes |
The Item element is specified within the element. Each Item element identifies a system definition item to delete. At least one item name must be specified either by the name attribute or by including an Item element. The following table describes the valid Item attribute values:
| Item Element Attributes | ||
| Attribute | Description | Required |
| name | Name of the system definition item. | Yes |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed Materials - Property of IBM
(c) Copyright IBM Corporation 2020. All Rights Reserved.
Note to U.S. Government Users Restricted Rights:
Use, duplication or disclosure restricted by GSA ADP Schedule
Contract with IBM Corp.
-->
<project name="DeleteFmidItem" default="all" xmlns:ld="antlib:com.ibm.team.enterprise.zos.systemdefinition.toolkit">
<description>DeleteFmidItem</description>
<!-- - - - - - - - - - - - - - - - - - - *
* DeleteFmidItem init *
*- - - - - - - - - - - - - - - - - - - -->
<target name="init" description="init"/>
<!-- - - - - - - - - - - - - - - - - - - *
* DeleteFmidItem main *
*- - - - - - - - - - - - - - - - - - - -->
<target name="main" description="main">
<!-- Delete single item -->
<xt:deleteFmidItem
repositoryAddress="${repositoryAddress}"
userId="${userId}"
password="${password}"
projectAreaName="${projectArea}"
name="Copy of HRCM700"
/>
<!-- Delete multiple items -->
<xt:deleteFmidItem
repositoryAddress="${repositoryAddress}"
userId="${userId}"
password="${password}"
projectAreaName="${projectArea}"
>
<xt:item name="Copy of HRCM700"/>
<xt:item name="Copy of HRCM700"/>
</xt:deleteFmidItem>
</target>
<!-- - - - - - - - - - - - - - - - - - - *
* DeleteFmidItem term *
*- - - - - - - - - - - - - - - - - - - -->
<target name="term" description="term"/>
<target depends="init,main,term" description="all" name="all"/>
</project>