I just googled to find it. I haven't done a .CSV myself in ages but it can be done. You could use PROC SQL to create a macro variable then a dummy data step to write it to a dataset or other techniques. This is most definitely a case where Google is your friend. The closest thing I do to a .CSV file these days is when I write a report to a single sheet Excel spreadsheet. That worked pretty well by 9.4.3. Not knowing what level of SAS 9.4 you are at makes it tough to know for sure what will work because the latest release is 9.4.8. Saying you run 9.4 is basically saying that it was refreshed within the last 10 years or so.
I apologize for not being more help Jim Horne -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Mark Regan Sorry, that code is not working for me, as SAS is totally ignoring that "%DS2CSV" even exists. There are no errors in the SASLOG either. I'm using SAS v9.4. ________________________________ NOTICE: All information in and attached to the e-mails below may be proprietary, confidential, privileged and otherwise protected from improper or erroneous disclosure. If you are not the sender's intended recipient, you are not authorized to intercept, read, print, retain, copy, forward, or disseminate this message. If you have erroneously received this communication, please notify the sender immediately by phone (704-758-1000) or by e-mail and destroy all copies of this message electronic, paper, or otherwise. By transmitting documents via this email: Users, Customers, Suppliers and Vendors collectively acknowledge and agree the transmittal of information via email is voluntary, is offered as a convenience, and is not a secured method of communication; Not to transmit any payment information E.G. credit card, debit card, checking account, wire transfer information, passwords, or sensitive and personal information E.G. Driver's license, DOB, social security, or any other information the user wishes to remain confidential; To transmit only non-confidential information such as plans, pictures and drawings and to assume all risk and liability for and indemnify Lowe's from any claims, losses or damages that may arise from the transmittal of documents or including non-confidential information in the body of an email transmittal. Thank you. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN