How do I resolve the error: BPA0022E BPID IS FLAGGED INCOMPLETE - RESTART IS REQUIRED?

Document ID : KB000026035
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

When running the CA DB2 tools Post Install Create job (ssid0001), I receive the following error:

BPA0022E BPID IS FLAGGED INCOMPLETE - RESTART IS REQUIRED

What needs to be done to resolve this error so the job can continue?

 

Answer:

The BPA0022E message indicates a log record found for the specified BPID has an incomplete status. The .RESTART command must be used to restart the job. This could be caused by the job being submitted a second time without a .RESTART command or an old log record with the same name exists on table PTI.BPLOG_0203 from a Batch Processor job run long ago.

If the BPA0022E message is due to the job being submitted for a second time due to a previous error, add a new line with .RESTART SYNC after the .OPTION card. This will cause the job to restart after the last successful SYNC point. The following is an example of .RESTART SYNC added to the Batch Processor //BPIOPT DD:

.CONTROL BPID(highlvl.CONTROL-ssidDDL) +
LOGID(ssid) UNIT(SYSDA)
.LIST SYSOUT(*)
.OPTION ERRORS NOSQLERRORS RETRY(24) NOBINDERRORS
.RESTART SYNC
.CONNECT ssid

If the BPA0022E message is due to an old log record with the same name for a job run log ago, either modify the BPID within parenthesis after the BPID entry on the .CONTROL statement or add .RESTART OVERRIDE after the .OPTION card. The following is an example of .RESTART OVERRIDE added to the Batch Processor //BPIOPT DD:

.CONTROL BPID(highlvl.CONTROL-ssidDDL) +
LOGID(ssid) UNIT(SYSDA)
.LIST SYSOUT(*)
.OPTION ERRORS NOSQLERRORS RETRY(24) NOBINDERRORS
.RESTART OVERRIDE **
.CONNECT ssid

** Note - Special care should be taken if specifying .RESTART OVERRIDE as this will rerun the CA Batch Processor input stream over from the beginning.

 

Additional Information:

R18 and earlier - Bookshelf : Batch Processor Guide - Chapter 3: How Restart Processing Works, Chapter 4:  Commands

R18 and later - https://docops.ca.com ( See Restart command:  Batch Processor Restart Command)

 - Enter 'Restarting Jobs or Batch Processor Commands' in the search box for the product space.