Text EN Version 1.90

SECTION IMPORT

Description

The record to be imported is defined here.
No @Functions can be used.
Tabs and comments must not be used!!!

Syntax:

Simple field:
DataType,Length,Delimiter,FieldName;

List field:
DataType,TotalLength,TotalDelimiter,ElementLength,ElementDelimiter,FieldName;

Reference field:
DataType(R),Length,Delimiter,FieldName,ReferenceName;

Reference list field:
DataType(RL),TotalLength,TotalDelimiter,ElementLength,ElementDelimiter,FieldName,ReferenceName;

Parameter description:

DataType:
A ASCII
N Number
F Float
R Reference
X Dummy
AL ASCIIList
NL NumberList
FL FloatList
RL ReferenceList

Length:
Length of a field in the record (if 0, see Delimiter).

Delimiter:
If the length of a field is specified as 0, the field is terminated by the delimiter specified in this parameter.

FieldName:
The name the field should have in the document.
(Addressed in processing using the SystemNoteHandle MAIN).

TotalLength:
For lists, the length of the entire field.

TotalDelimiter:
Delimiter that terminates a list field.

ElementLength:
Length of an individual list element in the field of the record.

ElementDelimiter:
Delimiter that terminates an element of a list.

ReferenceName:
Reference to a conversion list in SECTION REFERENCE.

Examples of simple fields:

A,5,"",Name;

Defines a field of data type ASCII with length 5, no delimiter, and the name Name.

A,0,"#",Name;

Defines a field of data type ASCII without a predefined length, with the delimiter "#", and the name Name.

Examples of simple list fields:

AL,6,"",2,"",Name;

Defines a field of data type ASCII list with a total length of 6, no field delimiter, and the name Name.
The elements of the list are each 2 characters long; no list element delimiter is used.

AL,0,"#",0,"*",Name;

Defines a field of data type ASCII list without a predefined length, with the field delimiter "#", and the name Name.
The elements of the list are separated by "*"; a fixed element length is not defined.

Examples of simple reference fields:

SECTION IMPORT;

R,5,"",Name,Reference1;

SECTION REFERENCE;

A,Reference1
{
" *"="EMPTY ";
"*****"="ASTERISK";   
};

Defines a field of data type Reference with length 5, no delimiter, and the name Name; it refers to Reference1; see SECTION REFERENCE.

SECTION IMPORT;

R,0,"#",Name,Reference1;

SECTION REFERENCE;

A,Reference1
{
" *"="EMPTY ";
"*****"="ASTERISK";   
};

Defines a field of data type Reference without a predefined length, with the delimiter "#", and the name Name; it refers to Reference1; see SECTION REFERENCE.

Examples of simple reference list fields:

SECTION IMPORT;

RL,6,"",2,"",Name,Reference1;

SECTION REFERENCE;

AL,Reference1
{
" *"="EMPTY ";
"*****"="ASTERISK";   
};

Defines a field of data type Reference list with a total length of 6, no field delimiter, and the name Name.
The elements of the list are each 2 characters long; no list element delimiter is used.
It refers to Reference1; see SECTION REFERENCE.

SECTION IMPORT;

RL,0,"#",0,"*",Name,Reference1;

SECTION REFERENCE;

AL,Reference1
{
" *"="EMPTY ";
"*****"="ASTERISK";   
};

Defines a field of data type Reference list without a predefined length, with the field delimiter "#", and the name Name.
The elements of the list are separated by "*"; a fixed element length is not defined.
It refers to Reference1; see SECTION REFERENCE.

Note : This text was machine-translated and may contain inaccuracies.