If the script file executed by DB change contains several rules that affect the same attribute, only the last applied change will take effect.
Investigation
Example:
A transport file contains an object named 'MY_WINDOWS_JOB.WIN01.DEV' used in other objects, and the script contains the 2 rules below:
REPLACE_PART *, *, OBJECT_USE, '.DEV', '.PROD'
REPLACE_PART *, *, OBJECT_USE, '.WIN01.', '.WIN02.'
Results
Expected: The 'OBJECT_USE' is affected twice, so:
Actual: Upon running DB change, the first rule changes correctly from 'MY_WINDOWS_JOB.WIN01.DEV' to 'MY_WINDOWS_JOB.WIN01.PROD', but the 2nd rule is run instead of changing 'MY_WINDOWS_JOB.WIN01.PROD' to ''MY_WINDOWS_JOB.WIN02.PROD' it changes it as shown below to 'MY_WINDOWS_JOB.WIN02.DEV':
20170628/225858.302 - U00021555 ---------------------------------------------------------------------------------------
20170628/225858.302 - Old line:F003CMY_WINDOWS_JOB.WIN01.DEV
20170628/225858.302 - New line:F003CMY_WINDOWS_JOB.WIN01.PROD
20170628/225858.302 - U00021427 REPLACE_PART 'JOBS', 'MY_WINDOWS_JOB.WIN01.DEV', 'OBJECT_USE', '.DEV', '.PROD'
20170628/225858.302 - U00021555 ---------------------------------------------------------------------------------------
20170628/225858.302 - Old line:F003CMY_WINDOWS_JOB.WIN01.DEV
20170628/225858.302 - New line:F003CMY_WINDOWS_JOB.WIN02.DEV
20170628/225858.302 - U00021427 REPLACE_PART 'JOBS', 'MY_WINDOWS_JOB.WIN01.DEV', 'OBJECT_USE', '.WIN01.', '.WIN02.'
20170628/225858.302 - U00021555 ---------------------------------------------------------------