DECREMENT - connect_cdc_sqdata - Latest

Connect CDC (SQData) Apply engine

Product type
Software
Portfolio
Integrate
Product family
Connect
Product
Connect > Connect CDC (SQData)
Version
Latest
Language
English
Product name
Connect CDC (SQData)
Title
Connect CDC (SQData) Apply engine
Copyright
2024
First publish date
2000
Last edition
2024-07-30
Last publish date
2024-07-30T20:19:56.898694

The DECREMENT function subtracts one (1) from a number. This function can be used to decrement a counter that may be used for tasks such as loop control.

Category

Mathematical

Syntax

DECREMENT(numeric_value)

Parameter and Description

Parameter Description
numeric value A numeric value from a source datastore field/column, user specified numeric value or the numeric result of another Function.

Example

Decrement the source field COUNTER by 1 and map the result to target field RCDS_LEFT. Assume that the value of Counter, prior to the DECREMENT operation, is equal to 10.

TARGET_DS.RCDS_LEFT = DECREMENT (COUNTER)

Returns the value of 9.

Decrement the number 25 by 1 and map the result to target field DECR_VALUE.

DECR_VALUE = DECREMENT (25)

Returns the value of 24.