BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi,

i am running sas code on server.......when i pront the report am getting the listing files by default........so now i dont want to get these listing files(.lst)
so what is the syntax for this?


kumar
3 REPLIES 3
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Where do you want to direct your SAS-generated output? You can use PROC PRINTTO or ODS LISTING if you want to re-direct your output to an alternate file allocated with FILENAME.

Scott Barry
SBBWorks, Inc.
deleted_user
Not applicable
Hi,

actually my problem is, when am running sas code on server, listing files are generated in the server which inturn occupying large amount of space on server. so i just dont want to generate listing files itself
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
If you have SAS code that is generating unneeded reports but you do not want to remove the code that is generating the reports, you can use:

ODS LISTING CLOSE;

Your listing file will be empty.

Scott Barry
SBBWorks, Inc.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1218 views
  • 0 likes
  • 2 in conversation