SAS Data Integration Studio, DataFlux Data Management Studio, SAS/ACCESS, SAS Data Loader for Hadoop and others

Cannot set LIBNAME using DIO options

Reply
Contributor
Posts: 34

Cannot set LIBNAME using DIO options

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)
Super User
Posts: 5,438

Re: Cannot set LIBNAME using DIO options

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
Contributor
Posts: 34

Re: Cannot set LIBNAME using DIO options

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
Ask a Question
Discussion stats
  • 2 replies
  • 286 views
  • 0 likes
  • 2 in conversation