Type : EXTERNE
The macro does not use SAS datasets. It interacts directly with the OS file system (Unix) to list its contents via a shell command. The source of the information is therefore the operating system.
| 1 | %macro lsfpq(dir); |
| 2 | %unquote(%qreadpipe(for fn in %sysfunc(dequote(&dir)) ; |
| 3 | DO echo \"$fn\" ; |
| 4 | done)) |
| 5 | %mend lsfpq; |
| 6 |