Desktop productivity for business analysts and programmers

error

Reply
Occasional Contributor k2k
Occasional Contributor
Posts: 10

error

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.

Respected Advisor
Posts: 3,063

Re: error

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.

Occasional Contributor k2k
Occasional Contributor
Posts: 10

Re: error

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        

Occasional Contributor k2k
Occasional Contributor
Posts: 10

Re: error

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. 

Grand Advisor
Posts: 17,361

Re: error

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). 

Occasional Contributor k2k
Occasional Contributor
Posts: 10

Re: error

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.

Ask a Question
Discussion stats
  • 5 replies
  • 1345 views
  • 4 likes
  • 3 in conversation