Hi Co's, I wanted to upload files from local SAS studio to Mainframe and I could do it, by using Proc upload.
Same way, I wanted to upload files from local SAS Studio to Oracle, but that didn't work with Proc upload/download. Can anyone help me on this?
You need to have a connection to the database, either with SAS/ACCESS for Oracle or SAS/ACCESS for ODBC.
Both require Oracle client software on the SAS server.
You can then define LIBNAMEs to database schemas, or use explicit pass-through to execute SQL code directly in the database.
Alternatively, you can export SAS data to text files, copy those to the Oracle server, and have them imported there.
PROC UPLOAD copies SAS datasets from one SAS session to another. It can't be used to copy into external databases like Oracle. PROC COPY will do it though, assuming that you have a working Oracle data connection created by using a LIBNAME statement.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.