DB2 for z/OS has several options to exec SQL statements via batch. Take a look at DSNTEP2 and DSNTEP4. They are sample programs that come with DB2. Check them out in the APSG manual. Also DSNTIAUL with the SQL option.
I also suggest you check with your DBA or other staff in house – there may be rules to be followed.