ifx_close()

Read(3358) Label: close, database connection,

Description:

Close Informix database connection.

Syntax:

ifx_close(ifxconn)

Note:

The external library function (See External Library Guide) closes connection to Informix database.

Parameter:

ifxconn

Ifxconn object

Example:

 

A

 

1

="d:/frag.txt"

A fragmentation information file.

 

2

=ifx_conn("com.informix.jdbc.IfxDriver","jdbc:informix-sqli://192.168.0.3:9088/tpch:informixserver=tpch&user=informix&pwd=informix";A1)

Connect to Informix database and get the fragmentation information via a file handle.

3

=ifx_close(A2)

Close Informix database connection.