select 'when MF150013 <= ''' || strip(limitKey) || ''' then '
|| right(' ' || strip(char(partition)), 5) ,
partition, limitkey, limitkey_internal,
hex(limitkey_internal)
from sysibm.systablePart
where dbName = 'MF01A1P' and tsName = 'A150A'
order by partition