Syntax Rules for Column Descriptions
<output_column> ::= <column_id_spec> | <lit_column_spec>
Use this rule in a command for unloading application data to assign the columns of the source table to the data fields in the data stream, and to specify the external data types and conditions for unloading the data.
DATAEXTRACT * FROM article
OUTFIELDS
ano 01-08
CHAR
desrc 09-39
CHAR
stock 40-43
INTEGER
min_ord 44-45 INTEGER
ordered 46-49 INTEGER
delivery_date 50-57 CHAR
price 58-65
DECIMAL (2)
weight 66-69
REAL
OUTSTREAM 'article.data' FORMATTED