BookmarkSubscribeRSS Feed
anyone
Calcite | Level 5
Hi!

I have a webdav folder, but i don't get file list from base sas code.
Can anyone help for me?

Thanx
5 REPLIES 5
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Sugest you search the SAS support http://support.sas.com/ website for related documentation and supplemental technical reference information - here is a Google advanced search argument to consider using:

webdav folder site:sas.com


Scott Barry
SBBWorks, Inc.
milts
Pyrite | Level 9
Hi

you can browse its contents if your xythos is up. if the set up in your site is the default configuration then you can view it in
http://:8300/sasdav

you might want to check the content mapping tab of the BIP Tree using SAS Management console

Hope this helps

Regards,
Milton
anyone
Calcite | Level 5
Hi

Thanks, your replay. But, we use sas9.2 so we haven't Bip tree in SMC.
I would like create base sas code, that is make dataset, that is contains filenames from WEBDAV folder. I haven't idea how write it.

Thanx
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Explore using the FILENAME PIPE engine to read up and parse the remote-server machine directory.

Suggested Google advanced search argument for DOC and related technical reference material on the subject:

filename pipe engine read directory information site:sas.com

Scott Barry
SBBWorks, Inc.
SAS_user
Calcite | Level 5
Do you know where physical path is?

Simple code could be:
data _null_;
path = "&physical_path";
rc = filename("flref",path);
did = dopen("flref");
end = dnum(did);
put end;
do i = 1 to end;
filename = strip(dread(did,i));
put filename;
end;
rc = close(did);
run;

Although, this code does not drill down to sub-directories.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 5 replies
  • 1062 views
  • 0 likes
  • 4 in conversation