Rocket® Enterprise Developer (formerly a product of Micro Focus or formerly a product of Open Text) documentation, created before Rocket Software acquired certain products from OpenText, may include outdated references to "Micro Focus" or "OpenText", both of which are trademarks of OpenText or its affiliates. Rocket Software is not affiliated with Micro Focus or OpenText and has since rebranded these products as Rocket® products. You may also encounter outdated links in this documentation. If you do, please contact Rocket Support (support@rocketsoftware.com) for assistance.
OFFSETVALUE Function
Purpose
Converts an integer to an offset.
Syntax
OFFSETVALUE(x)
Parameters
x is an expression. x must be specified as OFFSET.
must have a computational type and is converted to FIXED BINARY(31,0).
Restrictions
None.
Description
OFFSETVALUE returns an offset value that is the converted value of x.
OFFSETVALUE can be applied to a restricted expression when PL/I required a (possibly) signed constant. It can also be used to convert locator data to and from FIXED BINARY (p,0) data types.