Syntax
<lit_column_spec> ::= '<valLITERAL>' <
field_pos>
valLITERAL |
Text constant |
Use
Use this rule 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
name 26-32
zip 34-38
city 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).