is there any way we can get the SAS E miner projects list from a Physical folder.
ex:if we use %mdsecgo, membertypes="MiningProject" then it will give all miner projects in metadata. but I am looking for Physical E miner projects list.
If your miner projects storage location is on the SAS server, you can use data step functions to retrieve your filenames:
data projectfiles;
length fref $8 pname $200;
did = filename(fref,"path_to_your_project_files");
did = dopen(fref);
if did
then do;
do i = 1 to dnum(did);
pname = dread(did,i);
if scan(pname,-1,'.') = 'emp' then output;
end;
did = dclose(did);
end;
did = filename(fref);
run;
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.