The change utility does not replace text values with values of the same length.

Document ID : KB000124515
Last Modified Date : 15/01/2019
Show Technical Document Details
Issue:
The change utility does not replace text values containing the string 'PROD'. 
In the script file an OBJECT_USE command was defined as follows: 
REPLACE *, *, OBJECT_USE, 'XXX.DEV2.XXXXX', 'XXX.PROD.XXXXX'

In the transport case to be modified there is the following definition: 
F001+0004885095 
F002+00003 
F003C<XTRNL> 
F004CXXX.DEV2.XXXXX 
F013+00002 
F014+00002 
F039CANY_OK 
F040C0 
F042C0 
F043C0 
F045C0 
F046C0

When the change utility is executed, it finds no values to be changed. 

If we change the script's file definition from 'PROD' to 'UAT': 
REPLACE *, *, OBJECT_USE, 'XXX.DEV2.XXXXX', 'XXX.UAT.XXXXX'

It finds the text to be changed, and changes it as expected. 
Environment:
Automation Engine Change Utility - UCYBCHNG - version 12.0, 12.1, 12.2
Resolution:
This issue has been found and corrected and will be/is available in the following versions:
 
Automation Engine 12.0.7 - available 
Automation Engine 12.1.4 - available end January 2019 
Automation Engine 12.2.2 - available mid February 2019 
Automation Engine 12.3.0 - available end February 2019

Workaround: the values can be changed manually.