FORMULA LANGUAGE
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
flag
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