Previous Topic Next topic Print topic


OFFSETSUBTRACT Function

Purpose

Subtracts an integer from an offset.

Syntax

OFFSETSUBTRACT(x,y)

Parameters

x is an expression. x must be specified as OFFSET.

y is an expression. y must have a computational type and is converted to FIXED BINARY(31,0).

Description

OFFSETSUBTRACT is equivalent to OFFSETADD(x,-y). You can use it to set the value of an offset variable.

Restrictions

None.

Previous Topic Next topic Print topic