Using Functions

This manual describes the functions supplied with your Information Builders product. It is intended for application developers who call these functions from their programs to perform calculations or manipulate data. Other users who access corporate data to produce reports can call these functions.

This manual also explains how to create functions tailored to individual needs (called subroutines) for use with your Information Builders product.

How This Manual Is Organized

This manual includes the following chapters:

Available LanguagesOperating Systems
Chapter/Appendix Contents

1

Introducing Functions

Introduces functions and explains the different types of available functions.

2

Accessing and Calling a Function

Describes the considerations for supplying arguments in a function, and explains how to use a function in a command and access functions stored externally.

3

Simplified Analytic Functions

Describes analytic functions that have streamlined parameter lists, similar to those used by SQL functions.

4

Simplified Character Functions

Describes character functions that have streamlined parameter lists, similar to those used by SQL functions.

5

Character Functions

Describes character functions that manipulate alphanumeric fields and character strings.

6

Variable Length Character Functions

Describes variable-length character functions which manipulate alphanumeric fields and character strings.

7

Character Functions for DBCS Code Pages

Describes functions that manipulate strings of DBCS and SBCS characters when the configuration uses a DBCS code page.

8

Maintain-specific Character Functions

Describes Maintain-specific character functions that manipulate alphanumeric fields and character strings.

9

Data Source and Decoding Functions

Describes data source and decoding functions that search for data source records, retrieve data source records or values, and assign values based on the value of an input field.

10

Simplified Date and Date-Time Functions

Describes date and date-time functions that have streamlined parameter lists, similar to those used by SQL functions.

11

Date Functions

Describes date functions that manipulate date values.

12

Date-Time Functions

Describes date-time functions that manipulate date-time values.

13

Maintain-specific Date and Time Functions

Describes Maintain-specific date and time functions that manipulate date and time values.

14

Simplified Conversion Functions

Describes conversion functions that have streamlined parameter lists, similar to those used by SQL functions.

15

Format Conversion Functions

Describes format conversion functions that convert fields from one format to another.

16

Maintain-specific Light Update Support Functions

Describes light update support functions that retrieve WebFOCUS parameter or variable data implicitly from within a Maintain Data procedure.

17

Simplified Numeric Functions

Describes numeric functions that have streamlined parameter lists, similar to those used by SQL functions.

18

Numeric Functions

Describes numeric functions that perform calculations on numeric constants and fields.

19

Maintain-specific Script Functions

Describes script functions that enable you to integrate JavaScript and VBScripts into your Maintain Data applications and to perform client-side execution without returning to the WebFOCUS Server.

20

Simplified Statistical Functions

Describes functions that perform statistical calculations.

21

Machine Learning (Python-based) Functions

Describes functions that run Python scripts to perform classification, regression, extreme gradient boosting, and outlier detection.

22

Simplified System Functions

Describes system functions that have streamlined parameter lists, similar to those used by SQL functions.

23

System Functions

Describes system functions that call the operating system to obtain information about the operating environment or to use a system service.

24

Simplified Geography Functions

Describes geography functions that have streamlined parameter lists, similar to those used by SQL functions.

25

SQL Character Functions

Describes SQL character functions which manipulate alphanumeric fields and character strings.

26

SQL Miscellaneous Functions

Describes miscellaneous SQL functions which perform conversions, tests and manipulations.

27

Creating a Subroutine

Describes how to create custom subroutines in addition to the functions provided by Information Builders.

28

ASCII and EBCDIC Codes