This looks like an Oracle SQL script, but that does not matter. I run SQL scripts for Informix from a lot of shell scripts. I have two utilities installed for Informix, dbaccess and isql. Both are capable of running sql scripts from the command line.
You need to find a similar utility for your database, unless these scripts can be marked executable directly and invoked right out of the shell script, but my educated guess is you need to invoke the utility.
isql invocation is like this:
isql ics my_script.sql
isql is the program (utility) name,
ics is the database (ics.dbs), and
my_script.sql is a file filled with sql statements, and you can leave off the .sql.
I cannot use these scripts if they depend on embedded sql
(select w.* into ws_bill_rec.* from ws_bill w where w.yr = "08"). I have to use a language like 4GL for that.