Syntax
<lit_column_spec> ::= '<valLITERAL>' <
field_pos>
'<valLITERAL>' |
Text constant |
Use
This is a
syntax rule for describing columns.Use it to define text constants for output in addition to the output values in the
DATAEXTRACT command.DATAEXTRACT * from customer
OUTFIELDS
’customer number:’ 01-15
cno 16-19
’Name:’ 20-25
last name 26-32
zip 34-38
place 50-61
OUTFILE 'customer.data' FORMATTED
The text constant is specified in single quotation marks instead of the column name or column ID (
column_id).