Each Loader command comprises one or more keywords, arguments and syntax rules.
The syntax used for Loader commands is the Backus Naur Form (BNF) with the following conventions:
<rule_name> ::= <rule_section>
The terms in angle brackets represent syntactical units. Each rule name must be resolved by a rule section.
A rule section is any combination of rules and end symbols.
End symbols are numbers, literals, or keywords and are not resolved further.
End symbols that start with val stand for values that must be specified by the user. Note that you might have to place these values in single quotation marks, if the syntax rule requires this.
· [<rule_section>]: Rule sections set in angle brackets indicate an optional user input. Do not enter square brackets when specifying a command.
· (<Rule section> | <Rule section> | ...): Rule sections in round brackets refer to the option of selecting one of the proposed user entries. Do not enter round brackets when specifying a command.
· <rule_section>...: The rule section can be repeated as often as required. The individual repetitions must be written one immediately after the other and separated by spaces.
The keywords used in the commands are written in uppercase for the sake of clarity. They can be specified by the user in upper or lower-case letters.
If you use keywords as names of columns, tables, or database users, you must place them in double quotation marks.
Blank characters are allowed in commands. These are not interpreted by the Loader.
<autocommit_command>
::=
AUTOCOMMIT ON
| AUTOCOMMIT OFF
<bool_spec> ::=
BOOLEAN
'<valVALUE_FOR_TRUE>/<valVALUE_FOR_FALSE>'
<catalog_instream_spec>
::=
CATALOG <instream_spec>
<catalog_outstream_spec>
::=
CATALOG <outstream_spec>
<code_page_spec>
::=
CODEPAGE [<valCODEPAGE_NAME>]
<code_spec>
::=
<standard_code_spec>
| CODESET <valCODESET_NAME>
<column_assignment>
::=
<valCOLUMN_NAME> '<valLITERAL>'
| <valCOLUMN_NAME> <generate_spec>
<column_descriptor>
::=
<valCOLUMN_NAME> <field_pos>
<format_spec>
<column_id>
::=
<valCOLUMN_NAME>
| <valCOLUMN_ID>
<column_id_spec>
::=
<column_id> <field_pos> <format_spec>
<null_assign>
<column_names>
<valCOLUMN_NAME>
| <valCOLUMN_NAME>,<column_names>
<compare_operator>
::=
<
| >
| =
| <=
| >=
| !=
<condition>
::=
<simple_condition>
| (<condition>)
| <condition> AND <condition>
| NOT <condition>
<configuration_instream_spec>
::=
CONFIGURATION <instream_spec>
<database_name_statement>
::=
SERVERDB <valDBNAME> [ON <valDBNODE> [ENCRYPTION
<valPROTOCOL_NAME>]]
<data_instream_spec>
::=
DATA <instream_spec>
<data_outstream_spec>
::=
DATA <outstream_spec>
<date_spec>
::=
DATE <standard_date_mask>
| DATE '<valFREE_MASK>'
<delimiter_spec>
::=
DELIMITER '<valDELIMITER>'
<duplicates_clause>
::=
REJECT DUPLICATES
| IGNORE DUPLICATES
| UPDATE DUPLICATES
<ebid_spec>
::=
EBID '<valEBID>'
<export_columns_command>
::=
EXPORT COLUMNS
<select_expression>
[MAP COLUMNS <output_column_list>]
<data_oustream_spec>
[<longfile_spec>...]
<export_command>
::=
EXPORT <part_spec>
[<configuration_instream_spec]
[<order_clause>]
(<catalog_outstream_spec>
<data_outstream_spec>
|<catalog_outstream_spec>
|<data_outstream_spec>
[<longfile_spec>...])
[<package_outstream_spec>]
[<restart>]
<field_format>
::=
/* empty */
| CHAR
| DECIMAL [<valFRACTION>]
| INTEGER
| REAL
| ZONED [<valFRACTION>]
<field_pos>
::=
<valSTART_POS>
| <valSTARTPOS> - <valEND_POS>
<format_spec>
::=
<field_format> [HEX]
[<numerical_functions>]
<generate_spec>
::=
DATE
| FALSE
| <sequence_number>
| STAMP
| TIME
| TIMESTAMP
| TRUE
| USER
| USERGROUP
<if_condition>
::=
IF <condition>
<import_columns_command>
::=
IMPORT COLUMNS TABLE <table_spec>
[<duplicates_clause>]
<load_column_spec>...
<data_instream_spec>
[<longfile_spec>...]
<import_command>
::=
IMPORT <part_spec>
[<duplicates_clause>]
[<configuration_instream_spec]
(<catalog_instream_spec>
<data_instream_spec>
|<catalog_instream_spec>
|<data_instream_spec>)
[<package_outstream_spec>]
[<restart>]
<import_table_spec_command>
::=
IMPORT TABLE <table_spec>
[<duplicates_clause>]
[<catalog_instream_spec>]
<data_instream_spec> <load_column_spec>...
[<longfile_spec>...]
[<usage_spec>]
[<package_outstream_spec>]
<instream_spec>
::=
INSTREAM [<mediumtype_spec>] '<valSTREAM_NAME>'
[<stream_format_spec>] [<stream_extract>]
[<noheader_spec>]
<int_spec>
::=
INTEGER HILO
| INTEGER LOHI
<isolation_level_spec>
::=
ISOLATION LEVEL <valISOLATION_LEVEL>
<lit_column_spec>
::=
'<valLITERAL>' <field_pos>
<load_column_spec>
::=
<column_descriptor> [<null_condition>]
| <column_assignment>
<longfile_code_spec>
::=
<code_spec>
| BINARY
<longfile_spec>
::=
LONGFILE (<valCOLUMN_ID> | <valCOLUMN_NAME>)
<longfile_code_spec>
| LONGFILE (<valCOLUMN_ID> | <valCOLUMN_NAME>)
'<valFILE_NAME>' [<longfile_code_spec>]
<mediumtype_spec>
::=
FILE
| PIPE
| TAPE [<ebid_spec>]
<noheader_spec>
::=
NOHEADER <valRECORD_LENGTH>
<null_assign>
::=
[IF] NULL SET '<valLITERAL>'
<null_condition>
::=
NULL [IF] <condition>
| DEFAULT NULL
<null_spec> ::=
NULL '<valLITERAL>'
<number_spec>
::=
DECIMAL '/[<t>]/<d>/'
<numerical_functions>
::=
<scale_spec>
| <round_or_trunc_spec>
| <scale_spec> <round_or_trunc_spec>
<order_clause>
ORDER BY <column_names>
<output_column>
::=
<column_id_spec>
| <lit_column_spec>
<output_column_list>
::=
<output_column>
| <output_column> <output_column_list>
<outstream_spec>
::=
OUTSTREAM [<mediumtype_spec>] '<valSTREAM_NAME>'
[<stream_format_spec>]
[<stream_extract>]
<package_outstream_spec>
::=
PACKAGE <outstream_spec>
<part_spec>
::=
DB
| USER
| SCHEMA <schema_name>
| TABLE <table_name>
<remark_command>
::=
REMARK "<valREMARK>"
<restart> ::=
RESTART <valPACKAGEGUID>
<round_or_trunc_spec>
::=
ROUND <valFRACTION>
| TRUNC <valFRACTION>
<scale_spec>
::=
SCALE <valSCALE_FACTOR>
<schema_spec>
::=
SCHEMA <valSCHEMA_NAME>
<schema_name>
::=
<valSCHEMA_NAME>
<select_expression>
::=
<select_statement>
<separator_spec>
::=
SEPARATOR '<valSEPARATOR>'
<sequence_number>
::=
SEQUNO
| SEQUNO <valSTART>
| SEQUNO <valSTART> <valINCREMENT>
<set_column_spec>
::=
SET <load_column_spec>
<set_command> ::=
SET
| SET BACKUPTOOL (TSM | NETWORKER | BACKINT)
| SET <bool_spec>
| SET CODETYPE <standard_code_spec>
| SET <code_page_spec>
| SET COMPRESSED ′/<s>/<d>/′
| SET CONFIGURATION (EXCLUDE | INCLUDE)
| SET CURRENT SCHEMA = <valSCHEMA_NAME>
| SET DATE <standard_date_mask>
| SET FORMAT <standard_date_mask>
| SET <isolation_level_spec>
| SET MAXERRORCOUNT <valMAXERRORCOUNT>
| SET <null_spec>
| SET <number_spec>
| SET TIME <standard_time_mask>
| SET TIMESTAMP <standard_timestamp_mask>
| SET TRANSACTION SIZE
<valTRANSACTION_SIZE>
<simple_column_spec>
::=
<column_descriptor>
| <column_assignment>
<simple_condition>
::=
POS <field_pos> <field_format> [HEX]
<compare_operator> '<valLiteral>'
<sql_mode> ::=
INTERNAL
| ANSI
| DB2
| ORACLE
<sql_mode_command>
::=
SQLMODE <sql_mode>
<standard_code_spec>
::=
ASCII
| UCS2
| UTF8
<standard_date_mask>
::=
EUR
| INTERNAL
| ISO
| JIS
| USA
<standard_time_mask>
::=
EUR
| INTERNAL
| ISO
| JIS
| USA
<standard_timestamp_mask>
::=
EUR
| INTERNAL
| ISO
| JIS
| USA
<stream_extract>
::=
START <valSTART_POS> (MAXROWS | MAXRECORDS)
| START <valSTART_POS> <valEND_POS>
<stream_format_spec>
::=
<bool_spec> <stream_format_spec>
| <code_spec> <stream_format_spec>
| <date_spec> <stream_format_spec>
| <delimiter_spec> <stream_format_spec>
| <int_spec> <stream_format_spec>
| <null_spec> <stream_format_spec>
| <number_spec> <stream_format_spec>
| <separator_spec> <stream_format_spec>
| <time_spec> <stream_format_spec>
| <timestamp_spec> <stream_format_spec>
| COMPRESSED <stream_format_spec> <usage_spec>
| DDL
| DTL <usage_spec>
| FORMATTED <stream_format_spec> <usage_spec>
| FORMATTED BINARY <stream_format_spec> <usage_spec>
| PAGES <stream_format_spec>
| RECORDS <stream_format_spec>
<table_name>
::=
<valTABLE_NAME>
| <valTABLE_SCHEMA>.<valTABLE_NAME>
<table_spec>
::=
<table_name> <if_condition>
<time_spec>
::=
TIME <standard_time_mask>
| TIME '<valFREE_MASK>'
<timestamp_spec>
::=
TIMESTAMP <standard_timestamp_mask>
| TIMESTAMP '<valFREE_mask>'
<update_columns_command>
::=
UPDATE COLUMNS TABLE <table_spec>
<simple_column_spec>... <set_column_spec>...
<data_instream_spec>
[<longfile_spec>...]
<usage_spec> ::=
PAGE WITH <valUSAGE> % USAGE
| PAGE WITH <valUSAGE> ROWS USAGE
| WITH <valUSAGE> ROWS USAGE
<use_schema_command>
::=
USE <schema_spec>
<use_serverdb_command>
::=
USE <database_name_statement>
<use_user_command>
::=
USE USER <valUSERNAME> <valPASSWORD>
[<schema_spec>]
[<database_name_statement>]
[<isolation_level_spec>]