Learning SAS? Welcome to the exclusive online community for all SAS learners.

ODS Output using SAS University Edition - ERROR Lockdown State

Accepted Solution Solved
Reply
Regular Contributor
Posts: 199
Accepted Solution

ODS Output using SAS University Edition - ERROR Lockdown State

I am trying to use ODS to write PROC MEANS output to an RTF file. My ODS statement is as follows:
 
ods rtf file="/Users/.../SASUniversityEdition/myfolders/table1_continuous.rtf";
	
I am receiving the following error:
 
ERROR: The path /Users/.../SASUniversityEdition/myfolders/table1_continuous.rtf is not in the list of accessible paths when SAS is in the lockdown state.
ERROR: Fatal ODS error has occurred. Unable to continue processing this output destination.
WARNING: No body file. RTF output will not be created.
 
Any help would be greatly appreciated!

Accepted Solutions
Solution
‎06-08-2016 03:39 PM
Super User
Posts: 17,963

Re: ODS Output using SAS University Edition - ERROR Lockdown State

You've specified the path incorrectly for SAS University Edition.

 

Please read the SAS University Edition FAQ or Installation instructions on how to specify your output path.

If you search on here you'll see multiple examples of your question.

 

'/folders/myfolders/myfile.rtf';

View solution in original post


All Replies
Solution
‎06-08-2016 03:39 PM
Super User
Posts: 17,963

Re: ODS Output using SAS University Edition - ERROR Lockdown State

You've specified the path incorrectly for SAS University Edition.

 

Please read the SAS University Edition FAQ or Installation instructions on how to specify your output path.

If you search on here you'll see multiple examples of your question.

 

'/folders/myfolders/myfile.rtf';
Regular Contributor
Posts: 199

Re: ODS Output using SAS University Edition - ERROR Lockdown State

@Reeza Thanks for the guidance. The path error is resolved and the rtf file is output, but...it's empty. I can output an HTML file, but the rtf file is empty.

 

Does it have anything to do w/ this note?

 

"NOTE: ODS statements in the SAS Studio environment may disable some output features."

Super User
Posts: 17,963

Re: ODS Output using SAS University Edition - ERROR Lockdown State

No. 

 

Did you close the RTF destination? 

And are you opening file in Word or a different application? Sometimes OpenOffice doesn't read the files correctly. 

 

Regular Contributor
Posts: 199

Re: ODS Output using SAS University Edition - ERROR Lockdown State

@Reeza <Did you close the RTF destination?>

 

No...Thanks. That solved the problem.

 

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 4 replies
  • 769 views
  • 2 likes
  • 2 in conversation