SYSCAT.EXTERNALTABLEOPTIONS catalog view

Each row represents a named external table.

Table 1. SYSCAT.EXTERNALTABLEOPTIONS Catalog View
Column name Data type name Nullable Description Data type schema Column length Scale
TABLENAME VARCHAR No Name of the external table. SYSIBM 128 0
SCHEMA VARCHAR     SYSIBM 128 0
FILENAME CLOB No Fully-qualified name of the file that contains the data for this external table. SYSIBM 4096 0
FIELDDELIMITER CHAR Yes Character that indicates the end of a field. SYSIBM 1 0
RECORDDELIMITER CHAR Yes Character string that indicates the end of a record. SYSIBM 4 0
DECIMALDELIMITER CHAR No Character to represent the decimal delimiter. SYSIBM 1 0
DATEDELIMITER CHAR No Character to separate date components. SYSIBM 1 0
TIMEDELIMITER CHAR No Character to separate time components. SYSIBM 1 0
DATESTYLE CHAR No Format that determines how a date is represented. SYSIBM 12 0
TIMESTYLE VARCHAR No Time format. Possible values are '24HOUR' and '12HOUR' SYSIBM 6 0
BOOLEANSTYLE CHAR No Boolean style. Possible values are '1_0', 'TRUE_FALSE', and 'YES_NO'. SYSIBM 32 0
NULLVALUE CHAR No String that is used to indicate a null value. The default is 'NULL'. SYSIBM 8 0
QUOTEDVALUE CHAR Yes Type of quotation marks that are to be stripped away from data values that are enclosed by them. Possible values are 'YES' or 'SINGLE' (for single quotation marks), 'DOUBLE' (for double quotation marks), and 'NO' (if no quotation marks are to be stripped). SYSIBM 12 0
REQUIREQUOTES VARCHAR Yes Whether all data values are enclosed in quotation marks. Possible values are: 'TRUE' or 'FALSE'. If REQUIREQUOTES is set to 'TRUE', QUOTEDVALUE must be set to 'YES', 'SINGLE', or 'DOUBLE'. SYSIBM 5 0
RECORDLENGTH INTEGER Yes Length of each record of a fixed-format file. SYSIBM 4 0
MAXERRORS BIGINT No Maximum number of errors before an external table operation is rolled back. SYSIBM 8 0
MAXROWS BIGINT No Maximum number of rows to load. If this value is exceeded, the load operation fails. SYSIBM 8 0
Y2BASE SMALLINT No The hundreds component of a year that is specified as only 2 digits. For example, 19 if the 2-digit year 15 represents 1915; 20 if it represents 2015. SYSIBM 2 0
FORMAT VARCHAR No A character string that indicates the data format. Possible values are 'TEXT', 'INTERNAL', 'FIXED', 'BINARY', 'GENERIC', 'NZ_REPL', 'DB2Z_BRF' and 'DB2Z_RRF'. SYSIBM 8 0
ENCODING CHAR Yes Code set of the external data file. SYSIBM 20 0
REMOTESOURCE VARCHAR Yes Remote source type. Possible values are: 'ODBC', 'JDBC', 'LOCAL', 'OLEDB', or 'NZ_REPLSRV'. SYSIBM 10 0
SOCKETBUFFERSIZE BIGINT No Chunk size, in bytes, at which data is read from the source file. SYSIBM 8 0
SKIPROWS BIGINT No When reading a table, the number of rows from the top that are to be skipped. SYSIBM 8 0
CARDINALITY BIGINT Yes   SYSIBM 8 0
CCSID SMALLINT Yes   SYSIBM 2 0
DATE_FORMAT VARCHAR No   SYSIBM 255 0
DATETIMEDELIM CHAR No   SYSIBM 1 0
DECPLUSBLANK VARCHAR No   SYSIBM 5 0
PARTITION VARCHAR No   SYSIBM 5 0
TIMESTAMP_FORMAT VARCHAR No   SYSIBM 255 0
TIME_FORMAT VARCHAR No   SYSIBM 255 0
TRIMBLANKS VARCHAR No   SYSIBM 8 0
ISBINARYNUMERICS VARCHAR No   SYSIBM 5 0
ISPACKEDDECIMAL VARCHAR No   SYSIBM 5 0
ISZONEDDECIMAL VARCHAR No   SYSIBM 5 0
ISFILLRECORD VARCHAR Yes Whether all fields must be specified. Possible values are: 'TRUE' or 'FALSE'. SYSIBM 5 0
ISESCAPE CHAR Yes A character in the range ASCII 32 to ASCII 127 that is interpreted as an escape character. SYSIBM 1 0
ISCRINSTRING VARCHAR No Whether a carriage return character is to be regarded as part of string. Possible values are: 'TRUE' or 'FALSE'. SYSIBM 5 0
ISTRUNCSTRING VARCHAR Yes Whether to truncate a string if it exceeds the size of the column of the external table into which it is to be loaded. Possible values are TRUE (a string that is too large to fit in a column is truncated) or FALSE (a string that is too large terminates and rolls back the load operation). SYSIBM 5 0
ISCONTROLCHARACTERS VARCHAR No Whether ASCII characters 1 to 31 are to be allowed in a string. Possible values are: 'TRUE' or 'FALSE'. SYSIBM 5 0
ISIGNOREZERO VARCHAR Yes Whether all occurrences of ASCII character 0 in a string are to be discarded. Possible values are: 'TRUE' or 'FALSE'. SYSIBM 5 0
ISTIMEROUNDNANOS VARCHAR Yes Whether time values are to be rounded to the nearest microsecond. Possible values are: 'TRUE' or 'FALSE'. SYSIBM 5 0
ISCOMPRESS VARCHAR Yes Whether data that is being read from an external table is compressed, and data being written to an external table is to be compressed. Possible values are: 'TRUE' or 'FALSE'. SYSIBM 5 0
ISINCLUDEHEADER VARCHAR No Whether column names are to be included during an unload operation ('TRUE') or ignored ('FALSE'). SYSIBM 5 0
ISINCLUDEZEROSECONDS VARCHAR Yes During an unload operation, whether values of 00 seconds are to be unloaded ('TRUE') or ignored ('FALSE'). SYSIBM 5 0
ISDISABLENFC VARCHAR No   SYSIBM 5 0
ISINCLUDEHIDDEN VARCHAR No   SYSIBM 5 0
ISLFINSTRING VARCHAR No   SYSIBM 5 0
ISNOLOG VARCHAR No   SYSIBM 5 0
ISQUOTEDNULL VARCHAR No   SYSIBM 5 0
ISSTRICTNUMERIC VARCHAR No   SYSIBM 5 0
LOGFILEPATH CLOB No Name of the file in which to log external table operations. SYSIBM 4096 0