Use
In a
command for unloading data use the syntax rule longfile_spec in longfile_spec_mlt to specify for each column with the internal database type LONG, the name and path of the LONG data file into which you want to load the LONG values.You can use both variants of the syntax rule to unload the data.
Always use a column ID for the LONG column that you want to unload if a column ID is specified in the column list for this column (see
DATAEXTRACT * from hotel
OUTFIELDS cno 1
name 2
zip 3
address 4
info 5
OUTFILE 'hotel.data'
LONGFILE info 'info.data'
DATAEXTRACT cno, name FROM hotel
OUTFIELDS 1 1
2 2
OUTFILE 'hotel.data'
LONGFILE 2 'info.data'
When you unload LONG values, you must differentiate between the following cases: