Just enclose the SQL statements within --#BGBLK and --#EOBLK and feed it with a repeat-count as shown in input.sql.
Then run
db2batch -n DATABASE_NAME -f input.sql| sudo add-apt-repository -y ppa:synapse-core/ppa | |
| sudo add-apt-repository -y ppa:webupd8team/sublime-text-3 | |
| sudo add-apt-repository -y ppa:moka/stable | |
| sudo add-apt-repository -y ppa:ricotz/docky | |
| sudo add-apt-repository -y ppa:webupd8team/java | |
| sudo apt-get update | |
| sudo apt-get install -y moka-gnome-shell-theme plank moka-icon-theme faba-icon-theme faba-mono-icons plank-theme-orchis | |
| sudo apt-get install -y synapse sublime-text-installer curl build-essential wget oracle-java8-installer |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| grammar FixityTest; | |
| @header { | |
| import java.util.*; | |
| } | |
| @members { | |
| Map<String, String> fmap = new HashMap<>(); | |
| Map<String, Integer> pmap = new HashMap<>(); |
| import org.apache.log4j.* | |
| import grails.util.Holders | |
| myconfig { | |
| myvariable { | |
| workdir = 0 | |
| } | |
| } | |
| log4j = { |
| def getIPAddress() { | |
| return "ip route show dev eth0".execute().getText().tokenize()[9] | |
| } |
#Installing Node.js and NPM in 30s