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

No need to start posting the same question twice, please just continue with your original topic.

Thanks for replying @ArjenEX but i put it again here because i wasnt aware that which forum is right one to put this question.