BookmarkSubscribeRSS Feed
SAPPER
Calcite | Level 5
Hello,
I have some huge SAS datasets that I need to read in (one time -one job) for some testing purposes.

I am trying to improve the read performance using the SAS 9.2 DIO options in the LIBNAME statement as shown below:

LIBNAME mylib "/sas/data/mydata" ENABLEDIRECTIO USEDIRECTIO TRANSFERSIZE=128k;
When I do this, I get a warning messages saying that LIBRARY doesnot exist and a note saying that the LIBNAME was successfully assigned.

WARNING: Library MYLIB does not exist.
NOTE: Libref MYLIB was successfully assigned as follows:
Engine: V9
Physical Name: /sas/data/mydata

The platform is SOLARIS 5.10 and it is hosted on a SPARC architecture.

I cannot access anything that the LIBNAME references.
Please let me know if I am missing some options or doing something wrong in assigning the LIBNAME .

Thanks
SAPPER

(Note : I could not find an appropriate forum for this DIO question and am posting it in here though the question is strictly not a DI Studio question)
2 REPLIES 2
LinusH
Tourmaline | Level 20
Does this directory exist?
Do you have the proper access rights?
If this is one time job, why bother using DIO?

/Linus
Data never sleeps
SAPPER
Calcite | Level 5
My mistake, I guess I donot have proper access to it.
I tested the LIBNAME on another drive and it works fine.
Thanks for reminding me of the permissions.

-SAPPER Message was edited by: SAPPER

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1077 views
  • 0 likes
  • 2 in conversation