Step 1:
get the Export working outside of the job using your preferred way (e.g. from SSMS and save the export as SSIS package or use bcp or whatever).
Step 2: wrap that code in a sproc
Step 3: create a job calling the sproc.
If you need a more detailed answer please provide a more detailed description what you're trying to do.
Lutz
A pessimist is an optimist with experience. How to get fast answers to your question[/url]
How to post performance related questions[/url]
Links for Tally Table [/url] , Cross Tabs [/url] and Dynamic Cross Tabs [/url], Delimited Split Function[/url]