When an RC/Migrator analysis output is executed by Batch Processor .SYNC points are taken at each stage. These set a restart point for Batch Processor to begin again. All work before them has been committed. How can I find out which SYNC point was the last one to be processed?
Release: R19, R20
Component: RBP
Apart from looking at the last job output that failed the RC/Migrator Execution Display will show you this information.
It can be entered in one of two ways.
From option 3 on the RC/Migrator main menu or with the "X" command placed next to a given Analysis output line.
If the job has been executed before, then the restart record can be viewed from this display. Using the BPID of the job, or the Strategy name, the records can be seen.
The results are the restart records for this strategy. Both ANALYSIS jobs and EXECUTION jobs are recorded.
PTEDL1 ------------ Execution Display Panel ----------- yyyy/mm/dd hh:mm COMMAND ===> SCROLL ===> CSR BPID ==> * DB2 SSID ==> ssid Strat Creator ==> USERID1 Timestamp ==> * Status ==> * Strat Name ==> TSROLE Type ==> * ---------------------------------------------------------------------- --- Strategy ---- BPID Creator Name St T Syncpoint-# Timestamp Message __ USERID1-TSROLE-USERID1-2008022 USERID1 TSROLE NI S 40 2008022720540978 LOAD TABLE HLQ.TBROLE __ USERID1-TSROLE-USERID1-2008022 USERID1 TSROLE NC A 0 2008022720404956 ANALYSIS FOR HLQ.TSROLE
The second line shows that the "T" Type column is "A" for the Analysis job. The Message Column indicates that also. The first line shows that the "T" column is "S" for the Execution job and the execution reached Syncpoint-# number 40.
The "ST" status column indicates that "NI" means "Error during execution, job terminated.". If the execution was successful then the "ST column would show "NC", which means "Completed successfully".
The Message column indicates that it was doing a load of a table at the time and the table name involved. This message comes from the .SYNC row in the Analysis output being executed.
".SYNC 40 'LOAD TABLE HLQ.TBROLE'.
From this point the execution can be restarted with the "S" line command. If the problem that caused the execution to stop has been identified and fixed ; Specify RESTART "Y" on the Batch Processor Interface screen and it will start from sync point 40 automatically.
Check to make sure that there is no Utility still stopped (a restart row is there on DB2) and that no work datasets are left over from the last run if a utility was involved.
Utilities must be restarted in the .CALL statement with the RESTART parm.
See Article ID: 54745 for more details on restarting stopped utilities. See also Article ID: 55017 regarding Terminating a Batch Processor ID that is flagged Incomplete.