Draft Document for Review July 28, 2004 7:33 pm

6320ax02.fm

The batch scripts consists of:

testrun.bat

This file is the initial start file. This will call migration.bat with the correct parameters.

migration.bat

This file will perform the actual migration. It calls other scripts in the following order:

i.pre.migration.bat

ii.migratedb.bat (WebSphere Commerce V5.6 script)

iii.post.migration.bat

pre.migration.bat

This file will perform all the pre-migration tasks.

post.migration.bat

This file will perform the post-migration tasks

The sequence in when the the scripts are executed is described in Figure 12-1 on page 261

testrun.bat

 

pre.migration.bat

1

2

 

 

 

migration.bat

3

migratedb.bat

4

(WC 5.6 script)

 

 

 

 

 

post.migration.bat

Figure 12-1 Sequence diagram of the batch files

Database preparation batch script

The script pre.migration.bat prepares the database for migration. This script takes the following parameters:

1. Database name

Appendix C. Migration scripts 261

Page 279
Image 279
IBM SG24-6320-00 manual Database preparation batch script, Sequence diagram of the batch files