implement db2array()