DB2XmlAsClobFileReference class

The com.ibm.db2.jcc.DB2XmlAsClobFileReference class is subclass of DB2FileReference that is used for creating XML AS 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.

DB2XmlAsClobFileReference constructor

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

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

Constructs a DB2XmlAsClobFileReference object for an XML AS 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.