Previous Topic

Next Topic

Book Contents

Book Index

Updating the Application field - output file

You need to create a Promotion rule to update the Application field to 123 from the source environment ENV1 to the target environment ENV2.

The following figure shows how the Promotion Rule appears in Control-M .

S_WA_Utilities_Promotion_eg1

After running the exportpromotionrule utility, the following output file is generated:

<PromotionEnvItem>

<SourceName>ENV1</SourceName>

<TargetName>ENV2</TargetName>

<Name>ENV1-TO-ENV2</Name>

<Description>env1 to env 2 rule updates Application field to be '123'</Description>

<PromotionRule>

<UpdateRows>

<FindAndUpdateItem>

<Type>Update</Type>

<IsParent>false</IsParent>

<Children/>

<Operator>

<OperatorName>Like</OperatorName>

<OperatorValue>Like</OperatorValue>

<OperatorEnumValue>LikeOperator</OperatorEnumValue>

</Operator>

<IsVisible>true</IsVisible>

<IsChildrenVisible>true</IsChildrenVisible>

<LegacyId>F_Application</LegacyId>

<Level>0</Level>

<IsSelected>true</IsSelected>

<UpdateValue>123</UpdateValue>

<Command>

<OperatorName>assign</OperatorName>

<OperatorEnumValue>AssignCommand</OperatorEnumValue>

</Command>

<UpdateOperator>

<OperatorName>Update</OperatorName>

<OperatorEnumValue>UpdateAction</OperatorEnumValue>

</UpdateOperator>

</FindAndUpdateItem>

</UpdateRows>

<CanMoveUpdateItemUp>false</CanMoveUpdateItemUp>

<CanMoveUpdateItemDown>false</CanMoveUpdateItemDown>

</PromotionRule>

</PromotionEnvItem>

Parent Topic

exportpromotionrule output file examples