Use the HPL ( High Performance Load). I don't believe you can found another way to execute a unload (or load) faster on the Informix.
With this function you can load and unload to a lot types of formats, include fixed width and custom formats.
study about the commands:
onpladm ( IDS version >= 9.40)
onpload (all versions)
ipload ( the GUI version of onpladm, but i do not recomend, is not a friendly GUI on my opinion)
Take a look on the HPL manual , is very easily to use...
with 2 line command you start your unload.
You maybe must to use more commands if want to custom the output...
Simple Example:
Create a job over a table:
Code:
onpladm create job job_table_xyz -d "/tmp/table_xyz.unl" -D my_database -t table_xyz -fu -zFA
Execute the unload
Code:
onpload -j job_table_xyz -fu -l /tmp/table.xyz.log