beautypg.com

IBM Data Server DB2 User Manual

Page 267

background image

Chapter 5. Deploying pre-configured databases

253

Table 5-7 Supportive shell scripts

None of the shell scripts take any arguments. All the scripts set the DB2
environment and can be executed directly from a standard command shell.

Table 5-8 Shell scripts

Script name

Description

exe.cmd

Execute another shell script and terminate the execution
environment with the return code returned by the invoked
shell script. The shell script to be executed must be given as
the argument. Example:

c:>exe createdb.cmd

exe_shell.cmd

Execute another shell script and print out the return code
from the invoked shell script to the console. The shell script
to be executed must be given as the argument. Example:

c:>exe_shell createdb.cmd

Script name

Description

createdb.cmd

Create the ITSODB sample database. if ITSODB already
exist, it will be deleted. Only the database is created, no
layouts or objects are created. Example:

c:>createdb.cmd

Log file: createdb.log

createdb2.cmd

Create the ITSODB2 sample database. If ITSODB2 already
exist, it will be deleted. Only the database is created, no
layouts or objects are created. Example:

c:>createdb2.cmd

Log file: createdb.log

itsodb.cmd

Create the ITSODB sample database along with the
database layout and the database objects. The database is
created with a call to createdb.cmd, then the layout and
objects are created by executing the script itso.ddl. Example:

c:>itsodb.cmd

Log file: createdb.log

itsodb2.cmd

Create the ITSODB2 sample database along with the
database layout and the database objects. The database is
created with a call to createdb2.cmd, then the layout and
objects are created by executing the script itso2.ddl.
Example:

c:>itsod2b.cmd

Log file: createdb.log