Yes. You can unload data using a stored procedure. You just cannot use the UNLOAD verb since that is not an SQL command but a dbaccess built-in command.
You can create an external table and have the proc copy data to that with a simple
SELECT ... FROM source_table
INSERT INTO external_table;
------------------------------
Art S. Kagel, President and Principal Consultant
ASK Database Management Corp.
www.askdbmgt.com------------------------------