ConvertToString Issue
Hi All,
Here adwprstx is a string measure.
I want to populate this measure with timestamp in the format specified.
However am getting the below error. It works when I run ConvertToString(now) without the format.
mace -d $DOMAIN_HOME -run -expression "ADWPRSTx=ConvertToString(now,\"%Y%m%d%H%M\")"
<I 2018Mar22 00:05:11.274> File lock timeout set to: 60000
<I 2018Mar22 00:05:11.283>
<I 2018Mar22 00:05:11.283> Executing mace in domain '/ortlapp/solution/AP/domain/ap/ldom0'.
<E 2018Mar22 00:05:11.296> Expression::restoreExpression() caught exception
<E 2018Mar22 00:05:11.296> Exception: 'IllegalParse: ConvertToString does not accept positional arguments other than the first argument'
<E 2018Mar22 00:05:11.296> Expression: 'ADWPRSDt=ConvertToString(now,"%Y%m%d%H%M")'