April 25, 2007 at 3:54 pm
Hi,
I am new to SAS and I have a SAS 9.1.3XP_PRO platform installed. I need to create a DTS with SAS format. The questions I have are how do I connect SAS to SQL 2000 in the DTS and output to a SAS format ? Which I icon do I use to call the SAS? Any examples is apprecicated. Please advise. Thanks.
April 26, 2007 at 4:42 am
Hi,
I've never used SAS but can you set up a System DSN pointing to the SAS source on your Sql Server machine? If so you should be able to use the "Other Connection" (the last one on the connections list) to connect through the DSN.
* Edit *
You can download ODBC drivers for SAS from http://www.sas.com/apps/demosdownloads/setupcat.jsp;jsessionid=06AA4C460FDCB834A8E83BEF348ACB18.tomcat4?cat=ODBC+Drivers to set up the DSN.
April 30, 2007 at 10:24 pm
Is there a way to invoke the SAS to pick up the .csv file and convert to SAS .xpt format from the DTS? Anybody?
May 1, 2007 at 5:29 am
Theres an article on creating a SAS program to read a csv file here:
http://www.ts.vcu.edu/faq/stats/sasexcel.html
Once set up you might be able to execute that using the SAS command line. If that is possible then you can use the Execute Process Task within DTS.
May 1, 2007 at 9:04 am
Hi Adrian,
That import wizard helps a lot but it did not show me how to execute the SAS command line. any dieas? Thanks.
May 1, 2007 at 9:18 am
May 1, 2007 at 9:52 am
Hi Adrian,
Any ideas after importing the csv file through import wizard and modified the formats dataset, is there a way to generate the create script from the SAS? Please advise. Thanks.
May 1, 2007 at 10:03 am
May 1, 2007 at 10:07 am
Thanks. Let me know if you find out the answer to generate the create script. By the way if you do not know SAS how did you know the command line to invoke SAS? Just curious.
May 1, 2007 at 10:20 am
Viewing 10 posts - 1 through 9 (of 9 total)
You must be logged in to reply to this topic. Login to reply