FORMULA LANGUAGE


@IsDB2
Example

Given a server and filename or server and replica ID, indicates if the specified database is backed by DB2 or not.

Note This @function is new with Release 7.

Syntax

@IsDB2(server : file)

@IsDB2(server ; replicaID)

Parameters

server


file
replicaID
Return value

flag

This function will return an error via @Error if: Usage

This function works in all contexts where @function use is supported, including view selection formulas, column formulas, and from the Web.

If the database has been replicated to a local replica, and an empty string is specified for the server parameter, @IsDB2 will produce an error on the replica. For this reason, it is extremely important to use @Error processing with @IsDB2 when using relative paths.

Example
See Also