Could do some thing like that
db2 -x +o -z grant.ddl "select 'grant select on '||'.'|| tabschema '||' to group test;' from syscat.tables where tabschema ='DB2INST1'"
// Change the DB2INST1 to your schema name and group test to your group
check the file
more grant.ddl
run
db2 -tvf grant.ddl
regards,
mujeeb