with f(f) as ( select 'MM' from sysibm.sysDummy1 union all select 'DDD' from sysibm.sysDummy1 ) select timestamp_format(current timestamp, f) from f