more generic dbs parser - works for both dbs and posb