DATA Step, Macro, Functions and more

How to read MS Access database table into mainframe SAS?

Reply
Occasional Contributor
Posts: 7

How to read MS Access database table into mainframe SAS?

Does anyone know how to read a MS Access database table into SAS for mainframe?  Is it best to export data to the desktop and then FTP the MS Access data into a mainframe dataset for mainframe SAS to read in?  Or is there syntax I can use in a mainframe SAS program that would allow me to read the table directly when I run my mainframe SAS program?

PROC Star
Posts: 1,562

Re: How to read MS Access database table into mainframe SAS?

Can you read it using SAS PC and proc upload the data set?

Occasional Contributor
Posts: 7

Re: How to read MS Access database table into mainframe SAS?

Thank you!  Do you  (or does anyone reading this) know of some sample syntax for the proc upload to get the table into mainframe?  

Occasional Contributor
Posts: 7

Re: How to read MS Access database table into mainframe SAS?

Or do I even need to use proc import at all?  Can I just define a library in my mainframe SAS code, something like this?

 

LIBNAME mydata ACCESS PATH='c:\myaccessdb.accdb';

Ask a Question
Discussion stats
  • 3 replies
  • 122 views
  • 0 likes
  • 2 in conversation