Kourier Integrator Online Help

Kourier Command Keywords

Kourier contains a number of TCL commands that support the use of keywords to control their behavior. The command line options are described below.

Keyword

Description

ASSOC

Used as a field qualifier in a Kourier statement to associate a field with an association of multi-valued fields. Syntax is: ASSOC "association". The ASSOC keyword temporarily overrides the file dictionary for the duration of the statement. This keyword is only supported when the output of a command is in XML format.

COL.HDG

Used as a field qualifier in a Kourier statement to define a column heading for the field. Syntax is:  COL.HDG "heading". The COL.HDG keyword temporarily overrides the file dictionary for the duration of the statement. When the output of a command is in XML format, the column heading is used as the xml tag.

CONV

Used as a field qualifier in a Kourier statement to define a conversion for the field. Syntax is: CONV "conversion". conversion is any BASIC conversion code available to the ICONV and OCONV functions. The CONV keyword temporarily overrides the file dictionary for the duration of the statement.

DICT

Used with a filename to specify the file dictionary rather than the data file. This keyword should immediately proceed the filename in a Kourier statement.

EXPORT-2MEM

Used to specify that the output of the KEXPORT command should not be written to a disk file.

EXPORT-FILE

Used to specify where the output of the KEXPORT command should be written. Syntax is:  EXPORT-FILE "filename".

EXPORT-FORMAT

Indicates the format of the output generated by a command. Syntax is:  EXPORT-FORMAT "format". Each Kourier command may support a subset (or none) of the following formats: FIXED, HTML, TAB, and XML.

EXPORT-ID

When used in the KEXPORT command, it specifies the name of the item to write on the file specified by the EXPORT-FILE keyword. Syntax is:  EXPORT-FILE "itemname". When used in the KMK.EXPORT command, it indicates the name of the KommerceServer export to process.

EXPORT-KCLAPP

Used by the KEXPORT command to specify the name of the application associated with a net change export. Syntax is:  EXPORT-KCLAPP "appname".

EXPORT-KCLFILE

Used by the KEXPORT command to specify the name of the net change file associated with a net change export. Syntax is:  EXPORT-KCLFILE "filename".

EXPORT-NETCHG

Indicates that an export should be processed in Net Change mode.

FMT

Used as a field qualifier in a Kourier statement to define a field format. Syntax is:  FMT "fmt". fmt indicates the number of characters to pad the display field and a justification code. Possible justification codes are L for left justified, R for right justified, T for left justified wrapped on words, or C for centered (e.g., 15T).

NO-AUTOSELECT

Used by the KEXPORT command to over-ride the default behavior of doing an internal select of all records in a file when the KEXPORT command is executed without an active select list.

OVERWRITING

Used by the KEXPORT command to specify that the item specified by the EXPORT-ID keyword should be overwritten in the file specified by the EXPORT-FILE keyword.

SQUAWK

Indicates that the progress of a command should be displayed. In some cases it may also display additional informational messages.

USING

Indicates that an alternate dictionary should be used as the file dictionary. Syntax is:  USING {DICT} filename.

XML-PARSE-SUB

Used by the KMK.IMPORT command to indicate the name of a BASIC subroutine that should be used to convert a message to XML format. Syntax is:  XML-PARSE-SUB "subroutinename".