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.
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.
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
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.
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).
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.
Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.