Macro XSET (from Fraktal SAS Programming): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde neu angelegt: „Kategorie:Zazy {{SeitenNavigation1 |hoch=Duck_zazy_com.png |links=xx_left.png |rechts=xx_right.png |übersicht=Macro Programming (from Fraktal SAS Programm…“) |
K |
||
Zeile 9: | Zeile 9: | ||
}} | }} | ||
− | %MACRO xset; | + | %MACRO xset; |
− | filename path pipe "set" lrecl = 2048; | + | filename path pipe "set" lrecl = 2048; |
− | data _NULL_; | + | data _NULL_; |
− | length xvar $256 xval $1024; | + | length xvar $256 xval $1024; |
− | infile path dlm = '='; | + | infile path dlm = '='; |
− | input xvar $ xval $; | + | input xvar $ xval $; |
− | xvar = translate(xvar,'_','-()'); | + | xvar = translate(xvar,'_','-()'); |
− | call symput(compress(xvar),compress(xval)); | + | call symput(compress(xvar),compress(xval)); |
− | run; | + | run; |
− | %MEND xset; | + | %MEND xset; |
{{SeitenNavigation1 | {{SeitenNavigation1 |