Help using Base SAS procedures

Proc Access

Reply
N/A
Posts: 0

Proc Access

Trying to connect to DDB aka. Datacom tables.

I've read and searched, and searched and read, but I can't find where it tells you how to provide it with the connection information. The documentation states that this type of data cannot be connected to using the normal Libname statement. Below is the sample from the docs on how to connect, but where does the path information go?

Server?
DSN?

Thank you for your help.


proc access dbms=Datacom;
create mylib.custs.access;
user=demo;
table=customers;
assign = yes;
drop contact;
list all;
extend all;
rename customer = custnum telephone = phone
streetaddress = street;
format firstorderdate = date7.;
informat firstorderdate = date7.;
content firstorderdate = yymmdd6.;
list all;

create vlib.usacust.view;
select customer state zipcode name
firstorderdate;
list view;
extend view;

subset where customer eq 1#;
subset sort firstorderdate;
list view;

create vlib.custadd.view;
select state zipcode country name city;
list view;

list all;

run;
Super Contributor
Super Contributor
Posts: 3,174

Re: Proc Access

SAS support website http://support.sas.com/ has SAS/ACCESS (9.2) DOC for CA-Datacom - here is the link I found doing a Google advanced search against the SAS.COM website. From the DOC, I noticed a DATABASE statement, for example, with one of your questions.

SAS/ACCESS(R) 9.2 Interface to CA-Datacom/DB: Reference

http://support.sas.com/documentation/cdl/en/acdcdb/59524/HTML/default/a001131191.htm


Scott Barry
SBBWorks, Inc.
N/A
Posts: 0

Re: Proc Access

Thanks for the reply.

That's some of the documentation I had been looking at.

I was hoping for a coded sample in the docs that fit my need.

I'm always terrible at translating the sample syntax.

Looks like I'll have to experiment with it.

Cheers.
Ask a Question
Discussion stats
  • 2 replies
  • 114 views
  • 0 likes
  • 2 in conversation