Type : EXTERNE
Das Skript konfiguriert den Zugriff auf externe Ordner über absolute Windows-Pfade (C:\pharma\...).
| 1 | %macro allocr; |
| 2 | |
| 3 | %*- declare which libref to use for the "protocol" and "titles" dataset -; |
| 4 | %global _ptlibref_; |
| 5 | %let _ptlibref_=der; |
| 6 | |
| 7 | LIBNAME der "C:\pharma\xenuyama\tokyo\DRUG001\DRUG001C3001\24weeks\data\derived" |
| 8 | access=readonly; |
| 9 | LIBNAME stats "C:\pharma\xenuyama\tokyo\DRUG001\DRUG001C3001\24weeks\data\analysis" |
| 10 | access=readonly; |
| 11 | |
| 12 | *- assign format libraries for increment, protocol, drug, office and client -; |
| 13 | LIBNAME iformats "C:\pharma\xenuyama\tokyo\DRUG001\DRUG001C3001\24weeks\formats" |
| 14 | access=readonly; |
| 15 | LIBNAME pformats "C:\pharma\xenuyama\tokyo\DRUG001\DRUG001C3001\formats" |
| 16 | access=readonly; |
| 17 | LIBNAME dformats "C:\pharma\xenuyama\tokyo\DRUG001\formats" access=readonly; |
| 18 | LIBNAME oformats "C:\pharma\xenuyama\tokyo\formats" access=readonly; |
| 19 | LIBNAME cformats "C:\pharma\xenuyama\formats" access=readonly; |
| 20 | |
| 21 | options fmtsearch=(iformats.formats pformats.formats dformats.formats |
| 22 | oformats.formats cformats.formats); |
| 23 | RUN; |
| 24 | |
| 25 | %put NOTE: fmtsearch=%sysfunc(getoption(fmtsearch)); |
| 26 | |
| 27 | %mend allocr; |