Creating batch jobs to specify the log mark and log scan jobs
To perform the daily migration
- Define a BMC AMI Log Master batch job to create a log mark with a point of consistency (a quiesce point) for the table spaces involved. Give that point a log mark name of ENDBATCH.
- Run the batch job.
- Create a second (repeatable) BMC AMI Log Master batch job that contains the following job steps:
A step to define a log mark, create a quiesce point, and assign a log mark name to that point, also named ENDBATCH
By repeating the same log mark name, you create two relative versions of the log mark. For more information about versions of log mark names, see the section about MARK logMarkName.
A step to define a log scan with the time frame of ENDBATCH(-1) to ENDBATCH(0)
At this point, ENDBATCH(-1) refers to the log mark version that was created during the first job, and ENDBATCH(0) refers to the log mark version that was created during the first step of the current job. The log scan produces a MIGRATE SQL file and a Summary report. This output captures the data changes for migration.
Run the second batch job one day after the initial full migration.