08-15-2013 01:13 PM
I have some questions about the procedure proc document.
At the start I use the "ods document" to open and write in a open document. After that I close the document.
"ods document name=add(write);
ods document close;"
After that I use the following code to figure out which path the different table and directory has
"proc document name=Add;
and the result in the output window is;
Obs Path Type
1 Report#1 Dir
2 Report#2 Dir
3 Report#4 Dir
4 Report#5 Dir
5 Report#6 Dir
6 Report#7 Dir;
My problem is that I need to know what the different directories path is and it would be easy for my coding if I got the path in a data set.
Are there any solution to get the path in a data set or something like that?
08-15-2013 03:03 PM
Are you looking for a program/macro that will read all of the paths and then use those paths as parameters? Or, are you simply looking to write the directories to a data set?
08-15-2013 03:19 PM
I'm about writing a program that includes a macro, and in this macro I'm looking for a way to read all those paths and use them as parameters. My program are using loops so there will be different path every time the macro uses the loop.
does it make sense to you?
Need further help from the community? Please ask a new question.