Replace utility does not replace entries in VARAs

Document ID : KB000088231
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
You want to replace a value in a static VARA. Replace does not do the job:
REPLACE VARA, VARA.UC4#BASIS@RELEASE_INFO, *, "@@@RELEASEVERSION@@@", “xxxxxxxx”
REPLACE VARA, VARA.UC4#BASIS@RELEASE_INFO, *, "@@@RELEASEDATE@@@", “xxxxxxxx”
REPLACE VARA, VARA.UC4#BASIS@RELEASE_INFO, *, "@@@RELEASETICKET@@@", “xxxxxxxx”

The Output shows that nothing is done:
12:17:03 20160422/121703.210 - U00021412 Input script:
12:17:03 20160422/121703.211 - U00021411 Line '001': 'REPLACE VARA, VARA.UC4#BASIS@RELEASE_INFO, *, "@@@RELEASEVERSION@@@", "xxxxxxxx"'
12:17:03 20160422/121703.211 - U00021411 Line '002': 'REPLACE VARA, VARA.UC4#BASIS@RELEASE_INFO, *, "@@@RELEASEDATE@@@", "xxxxxxxx"'
12:17:03 20160422/121703.211 - U00021411 Line '003': 'REPLACE VARA, VARA.UC4#BASIS@RELEASE_INFO, *, "@@@RELEASETICKET@@@", "xxxxxxxx"'
12:17:03 20160422/121703.211 - U00021413 Replacements:
12:17:14 20160422/121714.916 - U00021407 Program UCYBchng ended normally.
Resolution:
Please use REPLACE_PART in this case:
REPLACE_PART VARA, VARA.UC4#BASIS@RELEASE_INFO, *, "@@@RELEASEVERSION@@@", "0.0-TEST"
REPLACE_PART VARA, VARA.UC4#BASIS@RELEASE_INFO, *, "@@@RELEASEDATE@@@", "20.09.2016"
REPLACE_PART VARA, VARA.UC4#BASIS@RELEASE_INFO, *, "@@@RELEASETICKET@@@", "None"