zOs/SQL/PVSVERJ

    select
         char(mon) || '; ' || arbid || '; ' || char(sum(erstPag#))
         || '; ' || char(sum(erstCou#))
      from
      ( select
          year(ldatum) * 100 + month(lDatum) as mon,
          left(erstJob,4) arbid, erstPag#, erstCou#
        from $DBOWNER.vpv013a1a
        where left(erstJob,2)
            in ($BEREICHE)
          and lDatum between '${MONTH}01' and  '${MONTH}31'
      ) t1
      group by      arbid , mon
      order by      arbid , mon