Validate Process

The “validate” Process command is used to perform a set of background checks to ensure that all the necessary parameters have been supplied to enable the functionality of Capture or Apply Process. This command will also provide the “last” successfully processed transaction’s LSN/SCN but only if the Process has previously been run or reset.

CLI Syntax:

repcli validate process=capture|apply id=processID 

The input parameters are:

  • process – The process type that can be either capture or apply
  • id – The Process Identifier

REST API:

  • Endpoint: https://repstance_url/configure/process
  • MethodPOST
  • Header:
    • Content-Type: application/json
    • X-Token: token
  • Body:
    {
      "command": "validate",
      "parameters": [
        ["process","capture|apply"],
        ["id","processID"]
      ]
    }

Server response:

  • HTTP Status – Status of the command, possible codes are:
    • 200 – if no error occurs
    • 422 – if error occurs
  • Body:
    {
      "Status":"{Valid|Invalid}",
      "Message":"The command execution details"
    }

In case the Status is Invalid the Message will contain detailed information about the validation error.

Prev page:

Alter Process

Next page:

Show Process
 
On this page