Macro XEDIT (from Fraktal SAS Programming): Unterschied zwischen den Versionen

Aus phenixxenia.org
Zur Navigation springen Zur Suche springen
K
K
Zeile 38: Zeile 38:
 
|-
 
|-
 
|
 
|
;%IF &XENTRY. ne %THEN %DO;
+
;filename path "&XPATH";
 
|
 
|
 
|-
 
|-
 
|
 
|
;filename path "&XPATH";
+
;%IF %LENGTH(&XENTRY.) != 0 %THEN %DO;
 
|
 
|
 
|-
 
|-

Version vom 31. Juli 2014, 15:58 Uhr

Zurück

Übersicht

Vorwärts

Code executed Function performed
%MACRO xedit(xentry,xpath);
%LOCAL xpath;
%IF %LENGTH(&XPATH.) = 0 %THEN %DO;
%XSET(homeshare);
%LET xpath = &HOMESHARE.;
%END;
filename path "&XPATH";
%IF %LENGTH(&XENTRY.) != 0 %THEN %DO;
DM "PGM";
DM "inc path(&XENTRY.)";
%END;
%ELSE %DO;
%XDIR(&HOMESHARE.);
%END;
filename path clear;
%MEND xedit;

Zurück

Übersicht

Vorwärts