DB2Copier - Copy DB2 data from one to another »

Download DB2Copier Free Trial »     Buy DB2Copier Now »

How to execute command line and scheduled

When you save session

save copy DB2 session

Click "Save & Make Batch File"

create batch file for copy DB2

Click "OK", you'll get batch file created, and you can run it in command line, like this:

command line for copy DB2

Or click "Create & Schedule Task", you can run this batch file at a specific time and/or at a certain time every day. See this for detail: Schedule Task.

The DB2Copier parameter descriptions are as follows:

	session: The session file name.

	source_sql: Sql file to execute in source database.

	dest_sql: Sql file to execute in target database.

	logfile: The log file name.