When unloading application data, there are special features, if values with the
internal database data type LONG are unloaded.In the syntax rule
longfile_spec in longfile_spec_mlt, specify the name and path of the LONG data stream in which the LONG values are to be inserted.You can use both variants of the syntax rule to unload the data.
DATAEXTRACT * FROM hotel
OUTFILE 'hotel.data'
LONGFILE info 'info.data'
DATAEXTRACT cno, name, zip, address, info FROM hotel
OUTFIELDS
cno 1
name 2
zip 3
address 4
info 5
OUTFILE 'hotel.data'
LONGFILE info 'info.data'
When you unload LONG values, you must differentiate between the following cases: