Hi,
Could anybody help me in adding a suffix to all my In conditions and Out conditions with -stg. I am using Control M 6.4 and I tried my best using the Find and Update option but I wasn't able to do.
Any help would be highly appreciated.
Thanks
Adding a suffix to existing In and Out conditions
- Ross_T_Boss
- Nouveau
- Posts: 21
- Joined: 08 Aug 2008 12:00
ADDING -STG TO ALL CONDITIONS.
Hi,
The following is the details of the saved 'Find and Update' preset which will add "-stg" to the end of all in and out conditions on your desktop. You should be able to copy this and past it into an xml document. Then place it on your client desktop where the saved presets are stored and then load it in the Find and Update button. If you have trouble doing this, contact me and I can email you a screen print of the solution.
<xml><FAUPreset><Find><GroupType>AND</GroupType><Expression><Type>Root</Type><FieldID>F_Unknown</FieldID><FindOperator>uninitialized</FindOperator><FindValue></FindValue><UpdateOperator>uninitialized</UpdateOperator><UpdateFromValue></UpdateFromValue><UpdateToValue></UpdateToValue><SubExpressions><Expression><Type>Find</Type><FieldID>F_Name</FieldID><FindOperator>like</FindOperator><FindValue>*</FindValue><UpdateOperator>uninitialized</UpdateOperator><UpdateFromValue></UpdateFromValue><UpdateToValue></UpdateToValue><SubExpressions></Expression></SubExpressions></Expression></Find><Update><GroupType>OR</GroupType><Expression><Type>Root</Type><FieldID>F_Unknown</FieldID><FindOperator>uninitialized</FindOperator><FindValue></FindValue><UpdateOperator>uninitialized</UpdateOperator><UpdateFromValue></UpdateFromValue><UpdateToValue></UpdateToValue><SubExpressions><Expression><Type>Find any</Type><FieldID>F_InCondition</FieldID><FindOperator>uninitialized</FindOperator><FindValue></FindValue><UpdateOperator>uninitialized</UpdateOperator><UpdateFromValue></UpdateFromValue><UpdateToValue></UpdateToValue><SubExpressions><Expression><Type>Update</Type><FieldID>F_InCondition_name</FieldID><FindOperator>uninitialized</FindOperator><FindValue></FindValue><UpdateOperator>replace expression</UpdateOperator><UpdateFromValue>(.*)</UpdateFromValue><UpdateToValue>\1-stg</UpdateToValue><SubExpressions></Expression></SubExpressions></Expression><Expression><Type>Find any</Type><FieldID>F_OutCondition</FieldID><FindOperator>uninitialized</FindOperator><FindValue></FindValue><UpdateOperator>uninitialized</UpdateOperator><UpdateFromValue></UpdateFromValue><UpdateToValue></UpdateToValue><SubExpressions><Expression><Type>Update</Type><FieldID>F_OutCondition_name</FieldID><FindOperator>uninitialized</FindOperator><FindValue></FindValue><UpdateOperator>replace expression</UpdateOperator><UpdateFromValue>(.*)</UpdateFromValue><UpdateToValue>\1-stg</UpdateToValue><SubExpressions></Expression></SubExpressions></Expression></SubExpressions></Expression></Update></FAUPreset>
The following is the details of the saved 'Find and Update' preset which will add "-stg" to the end of all in and out conditions on your desktop. You should be able to copy this and past it into an xml document. Then place it on your client desktop where the saved presets are stored and then load it in the Find and Update button. If you have trouble doing this, contact me and I can email you a screen print of the solution.
<xml><FAUPreset><Find><GroupType>AND</GroupType><Expression><Type>Root</Type><FieldID>F_Unknown</FieldID><FindOperator>uninitialized</FindOperator><FindValue></FindValue><UpdateOperator>uninitialized</UpdateOperator><UpdateFromValue></UpdateFromValue><UpdateToValue></UpdateToValue><SubExpressions><Expression><Type>Find</Type><FieldID>F_Name</FieldID><FindOperator>like</FindOperator><FindValue>*</FindValue><UpdateOperator>uninitialized</UpdateOperator><UpdateFromValue></UpdateFromValue><UpdateToValue></UpdateToValue><SubExpressions></Expression></SubExpressions></Expression></Find><Update><GroupType>OR</GroupType><Expression><Type>Root</Type><FieldID>F_Unknown</FieldID><FindOperator>uninitialized</FindOperator><FindValue></FindValue><UpdateOperator>uninitialized</UpdateOperator><UpdateFromValue></UpdateFromValue><UpdateToValue></UpdateToValue><SubExpressions><Expression><Type>Find any</Type><FieldID>F_InCondition</FieldID><FindOperator>uninitialized</FindOperator><FindValue></FindValue><UpdateOperator>uninitialized</UpdateOperator><UpdateFromValue></UpdateFromValue><UpdateToValue></UpdateToValue><SubExpressions><Expression><Type>Update</Type><FieldID>F_InCondition_name</FieldID><FindOperator>uninitialized</FindOperator><FindValue></FindValue><UpdateOperator>replace expression</UpdateOperator><UpdateFromValue>(.*)</UpdateFromValue><UpdateToValue>\1-stg</UpdateToValue><SubExpressions></Expression></SubExpressions></Expression><Expression><Type>Find any</Type><FieldID>F_OutCondition</FieldID><FindOperator>uninitialized</FindOperator><FindValue></FindValue><UpdateOperator>uninitialized</UpdateOperator><UpdateFromValue></UpdateFromValue><UpdateToValue></UpdateToValue><SubExpressions><Expression><Type>Update</Type><FieldID>F_OutCondition_name</FieldID><FindOperator>uninitialized</FindOperator><FindValue></FindValue><UpdateOperator>replace expression</UpdateOperator><UpdateFromValue>(.*)</UpdateFromValue><UpdateToValue>\1-stg</UpdateToValue><SubExpressions></Expression></SubExpressions></Expression></SubExpressions></Expression></Update></FAUPreset>