BookmarkSubscribeRSS Feed
k2k
Calcite | Level 5 k2k
Calcite | Level 5

i am new user for SAS EG its little bit difficult when compare to SAS BAS. I am unable to  export file from ODS statement. its always showing error like

ERROR: Insufficient authorization to access,

ERROR: Device is offline.


i am using Client System how to get the output from ODS statement.

5 REPLIES 5
SASKiwi
PROC Star

Please post a SAS log containing your errors as we need to know where you are writing your ODS output. For example if you are trying to write to your PC's local drive from your EG SAS server you could get such a message as the server will not know how to reference your local drive.

k2k
Calcite | Level 5 k2k
Calcite | Level 5

thanks for your reply.

ya i am giving the reference to my local drive only. how we want to give the reference to SAS EG server. suggest me the same.

i am facing the same problem for import also.

log details for your reference.

1          %_eg_hidenotesandsource;

5          %_eg_hidenotesandsource;

22        

23         ods pdf file= "C:\new.pdf";

NOTE: Writing ODS PDF output to DISK destination "C:\new.pdf", printer "PDF".

24         ods rtf file="D:\new.rtf";

ERROR: Device is offline.

ERROR: Fatal ODS error has occurred. Unable to continue processing this output destination.

WARNING: No body file. RTF output will not be created.

25         data study;

26         input name$ age;

27         cards;

NOTE: The data set WORK.STUDY has 2 observations and 2 variables.

NOTE: DATA statement used (Total process time):

      real time           0.00 seconds

      cpu time            0.00 seconds

     

30         ;

31         run;

32         proc print;

33         run;

NOTE: There were 2 observations read from the data set WORK.STUDY.

NOTE: PROCEDURE PRINT used (Total process time):

      real time           0.04 seconds

      cpu time            0.01 seconds

     

34         ods pdf close;

ERROR: Insufficient authorization to access C:\new.pdf.

35         ods rtf close;

36        

37        

38         %_eg_hidenotesandsource;

50        

51        

52         %_eg_hidenotesandsource;

55        

k2k
Calcite | Level 5 k2k
Calcite | Level 5

hi all

suggest me how to import and export data through proc import and from ods statement from local system. its possible to import or export from local system. 

Reeza
Super User

Depends on where your server is and how its set up and if they have a common connection, your best off talking to your sas administrator.

You may be able to access your files on a network drive if you have the full path, ie

\\serverinfo\temp\.....my_file.txt

I'm assuming you can actually write to c:\ as well. My computers nowadays don't allow me to (even my personal default windows install). 

k2k
Calcite | Level 5 k2k
Calcite | Level 5

dear Reeza

thanks for your reply. ok i will ask my administrator and i will try.

ya i can able to import and export through server system in E drive  for temporarily purpose because i m not having a access to work in server system.

what is way to import from my local system any solution is there while installing the SAS in server.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 5 replies
  • 2616 views
  • 4 likes
  • 3 in conversation