WRITE

The WRITE command reads the specified DataSet file and creates a transaction file.

Syntax:

Command

Keyword

Value

Developer notes

WRITE

FILE

value

Mandatory. File path.

SEF

value

Mandatory. File path.

MAP

value

Mandatory. File path.

DATASET

value

Mandatory. File path.

ENCODING

value

Optional. File encoding.
Default. ISO8859_1.

DOCUMENT

*X12

Optional.
Default. *X12.

*EDIFACT

 

*TRADCOM

 

COMPRESS

*YES

Optional.
Default. *YES.

*NO

 

SEGMENT_DELIMITER

value

Optional.

ELEMENT_DELIMITER

value

Optional.

COMPOSITE_DELIMITER

value

Optional.

DECIMAL

value

Optional.

ESCAPE

value

Optional.