Write to CSV from volatile table- Teradata

How can i write data to CSV file while i am processing using node “DB SQL Executor” and creating a volatile table in it. Now i want to write data processed in DB sql executor to a CSV . DB SQL executor doesnt connect to CSV writer.

What is the solution