Code:
export to file.asc of del
select substr(col1, 1, 10) || substr(char(col2),1,5)) || .... from table
Basically, you generate the entire output line with SQL. The only thing you'll need to do after the export would be to strip double quotes that DB2 uses to enclose the output string.