Help using Base SAS procedures

Suppress directory output in PROC Datasets in SAS EG

Accepted Solution Solved
Reply
New Contributor
Posts: 2
Accepted Solution

Suppress directory output in PROC Datasets in SAS EG

Hey all!

 

Long time Base SAS user, recently moved to SAS EG.  

 

I have a program (a lot of programs actually...) that has an extensive PROC DATASETS in it.  Since moving to EG, it has started kicking out a long list of directory information to my output file.  I'm not using ODS code at the moment to control which output goes directly to my final output file (that's a whole 'nother conversation...).  So, how do I suppress the output from PROC DATASETS within the Datasets procedure?

 

Tasha


Accepted Solutions
Solution
‎10-25-2017 05:24 PM
Super User
Posts: 10,238

Re: Suppress directory output in PROC Datasets in SAS EG

Posted in reply to TashaChapWUSS

NOLIST option in the proc datasets statement.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code

View solution in original post


All Replies
Solution
‎10-25-2017 05:24 PM
Super User
Posts: 10,238

Re: Suppress directory output in PROC Datasets in SAS EG

Posted in reply to TashaChapWUSS

NOLIST option in the proc datasets statement.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
How to convert datasets to data steps
How to post code
New Contributor
Posts: 2

Re: Suppress directory output in PROC Datasets in SAS EG

Posted in reply to KurtBremser

Thank you! 

 

I should have listened to Google in the first place.  When I tried to type in "PROC Datasets noprint" it came back with "Did you mean PROC Datasets nolist?"  Apparently even Google knew the right answer.

Super User
Posts: 23,704

Re: Suppress directory output in PROC Datasets in SAS EG

Posted in reply to TashaChapWUSS

I typically add both NODETAILS and NOLIST to the PROC DATASETS statement.

☑ This topic is solved.

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

Discussion stats
  • 3 replies
  • 196 views
  • 0 likes
  • 3 in conversation