DB2ClobFileReference class

The com.ibm.db2.jcc.DB2ClobFileReference class is subclass of DB2FileReference that is used for creating CLOB file reference variable objects. This class applies only to IBM® Data Server Driver for JDBC and SQLJ type 2 connectivity to Db2 for z/OS® Version 9 or later.

DB2ClobFileReference constructor

The following constructor is defined only for the IBM Data Server Driver for JDBC and SQLJ.

DB2ClobFileReference
Format:
public DB2ClobFileReference(String fileName,
                                 int fileCcsid)
  throws java.sql.SQLException
public DB2ClobFileReference(String fileName,
                                 String fileEncoding)
  throws java.sql.SQLException

Constructs a DB2ClobFileReference object for a CLOB file reference variable.

Parameter descriptions:
fileName
The name of the file for the file reference variable. The name must specify the absolute path name for an existing HFS file.
fileCcsid
The CCSID of the data in the file for the file reference variable.
fileEncoding
The encoding scheme of the data in the file for the file reference variable.