Optim Data Privacy Providers  11.7.0
 All Data Structures Files Functions Variables Macros Groups Pages
Specific Parameters
Collaboration diagram for Specific Parameters:

Base values used by Age Defines

#define AGEOPERANDBASE   0x1A64 /* 6756 */
 

The following defines are associated with the usParameterID member of DP_INIT_OP_DEF structure.

#define ODPP_OPR_AGE_YEAR   AGEOPERANDBASE + 0 /* 6756 */
 
#define ODPP_OPR_AGE_MONTH   AGEOPERANDBASE + 1 /* 6757 */
 
#define ODPP_OPR_AGE_WEEK   AGEOPERANDBASE + 2 /* 6758 */
 
#define ODPP_OPR_AGE_DAY   AGEOPERANDBASE + 3 /* 6759 */
 
#define ODPP_OPR_AGE_SPECIFIC_YEAR   AGEOPERANDBASE + 4 /* 6760 */
 
#define ODPP_OPR_AGE_CENTURY_PIVOT   AGEOPERANDBASE + 5 /* 6761 */
 

Detailed Description

Macro Definition Documentation

#define AGEOPERANDBASE   0x1A64 /* 6756 */
  • Use:
    This is the Base value which is used by Age Parameter Defines.
  • Description:
    N/A
  • Optional:
    N/A
  • Exclusive:
    N/A
  • Inclusive:
    N/A
  • Specification Protocol:
    N/A
  • Example:
    N/A
#define ODPP_OPR_AGE_YEAR   AGEOPERANDBASE + 0 /* 6756 */
  • Use:
    This parameter is used to age the date by the specified number of years.
  • Description:
    This parameter increments or decrements the input date by the specified number of years. A positive value will increment the year of the input date, while a negative value will decrement it. The Age Service Provider supports date aging in single units (for example 20 years) or multiple units (for example, 2 years, 3 months, 2 days).

    This parameter can be specified with the following parameters:
    The valid values for this parameter are -2500 to +1581.
  • Optional:
    Yes
  • Inclusive:
    N/A
  • Example:
    • ODPP_OPR_AGE_YEAR = -2
      This decrements the input date by 2 years.
#define ODPP_OPR_AGE_MONTH   AGEOPERANDBASE + 1 /* 6757 */
  • Use:
    This parameter is used to age the date by the specified number of months.
  • Description:
    This parameter increments or decrements the input date by the specified number of months. A positive value will increment the month of the input date, while a negative value will decrement it. The Age Service Provider supports date aging in single units (for example 20 months) or multiple units (for example, 2 years, 3 months, 2 days).

    This parameter can be specified with the following parameters:
    The valid values for this parameter are -30000 to +30000.
  • Optional:
    Yes
  • Inclusive:
    N/A
  • Example:
    • ODPP_OPR_AGE_MONTH = 3
      This increments the input date by Three months.
#define ODPP_OPR_AGE_WEEK   AGEOPERANDBASE + 2 /* 6758 */
  • Use:
    This parameter is used to age the date by the specified number of weeks.
  • Description:
    This parameter increments or decrements the input date by the specified number of weeks. A positive value will increment the input date, while a negative value will decrement it. The Age Service Provider supports date aging in single units (for example 10 weeks) or multiple units (for example, 2 years, 3 months, 2 days).

    This parameter can be specified with the following parameters:
    The valid values for this parameter are -30000 to +30000.
  • Optional:
    Yes
  • Inclusive:
    N/A
  • Example:
    • ODPP_OPR_AGE_WEEK = -3
      This decrements the input date by Three weeks.
#define ODPP_OPR_AGE_DAY   AGEOPERANDBASE + 3 /* 6759 */
  • Use:
    This parameter is used to age the date by the specified number of days.
  • Description:
    This parameter increments or decrements the input date by the specified number of days. A positive value will increment the input date, while a negative value will decrement it. The Age Service Provider supports date aging in single units (for example 15 days) or multiple units (for example, 2 years, 3 months, 2 days).

    This parameter can be specified with the following parameters:
    The valid values for this parameter are -99999 to +99999.
  • Optional:
    Yes
  • Inclusive:
    N/A
  • Example:
    • ODPP_OPR_AGE_DAY = -3
      This decrements the input date by Three days.
#define ODPP_OPR_AGE_SPECIFIC_YEAR   AGEOPERANDBASE + 4 /* 6760 */
  • Use:
    This parameter is used to age dates based on a specific four digit year.
  • Description:
    This operand specifies a four digit year value to age dates. The year in the source date is replaced with the supplied year value. The rest of the date value and format remains the same.

    The valid values for this parameter are 1582 to 3999.
  • Optional:
    Yes
  • Inclusive:
    N/A
  • Example:
    • ODPP_OPR_AGE_SPECIFIC_YEAR = 2000
#define ODPP_OPR_AGE_CENTURY_PIVOT   AGEOPERANDBASE + 5 /* 6761 */
  • Use:
    This parameter is used to determine the appropriate century for source dates having two digit years.
  • Description:
    This operand determines the appropriate century for source dates having two digit years.

    When this parameter is specified:
    • All two digit years equal to or greater than the Pivot value are placed in the 20th century (19xx).
    • All two digit years less than the Pivot value are placed in the 21st century (20xx).

    The valid values for this parameter are 0 to 99.
  • Optional:
    Yes.
    The default Pivot value is 65.
  • Exclusive:
    N/A
  • Inclusive:
    N/A
  • Example:
    • ODPP_OPR_AGE_CENTURY_PIVOT = 50