The SAS Output Delivery System and reporting techniques

Proc contents with external files

Accepted Solution Solved
Reply
Contributor
Posts: 46
Accepted Solution

Proc contents with external files

Hello everybody!

I'd like to know if there is a way to make a proc contents with files that are not sas table.

For example: I have a folder with 50 text files. Is there any way to list the names of these files, like a proc contents?

tk's in advanced!

att

Gustavo Abud.


Accepted Solutions
Solution
‎07-16-2012 11:33 PM
Super User
Super User
Posts: 6,499

Re: Proc contents with external files

You can read the names using DOPEN and DREAD.

See this thread https://communities.sas.com/message/56032#56032

View solution in original post


All Replies
Super Contributor
Posts: 1,636

Re: Proc contents with external files

Do you want the name of the files or the variables in the files?

Contributor
Posts: 46

Re: Proc contents with external files

Hello !

Just the name of the files.

Solution
‎07-16-2012 11:33 PM
Super User
Super User
Posts: 6,499

Re: Proc contents with external files

You can read the names using DOPEN and DREAD.

See this thread https://communities.sas.com/message/56032#56032

☑ This topic is SOLVED.

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

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