MACRO BLK CONV: Unterschied zwischen den Versionen

Aus phenixxenia.org
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „Kategorie:zazy 200px|thumb == Type == '''User module''' from Phase-III Macro System based on '''''[[Frakta…“)
 
K
Zeile 10: Zeile 10:
  
 
[[Datei:MACRO_BLK_CONV.png]]
 
[[Datei:MACRO_BLK_CONV.png]]
 +
 +
== Source ==
 +
 +
%MACRO BLK_CONV(dsn=,row=,col=,stats=,num=,stat=Y,space=2,pvalue=,nulltxt=N) / store des="Create Super Row from one continuous variable" ;
 +
 +
%LOCAL name;
 +
%LET name=BLK_CONV;
 +
  %TOP_FILT(dsn=&DSN,grp=,by=&COL,grplvl=&NUM,var=&ROW);
 +
  %ROW_UNIV(dsn=top_filt,context=,by=&COL,var=&ROW,stats=&STATS,misscol=y);
 +
  %ROW_OUTV(dsn=row_univ,head=y,stat=&STAT,var=&ROW,pvalue=&PVALUE,nulltxt=&NULLTXT);
 +
%IF &TAB_NAME ne %THEN %DO;
 +
  data %SUBSTR(&TAB_NAME,1,3)&NUM%SUBSTR(&TAB_NAME,5,4) ;
 +
    set
 +
  %IF &SPACE eq 1 %THEN dummy;
 +
    &SYSLAST
 +
  %IF &SPACE eq 2 %THEN dummy;
 +
    ;
 +
%END;
 +
%GEN_MAIL(name=&NAME);
 +
 +
%MEND BLK_CONV;

Version vom 11. Juli 2013, 16:54 Uhr


FRAKTAL MACRO ARCHITECTURE.png

Type

User module from Phase-III Macro System based on Fractal System Architecture.

Workflow

MACRO BLK CONV.png

Source

%MACRO BLK_CONV(dsn=,row=,col=,stats=,num=,stat=Y,space=2,pvalue=,nulltxt=N) / store des="Create Super Row from one continuous variable" ;
%LOCAL name;
%LET name=BLK_CONV;
  %TOP_FILT(dsn=&DSN,grp=,by=&COL,grplvl=&NUM,var=&ROW);
  %ROW_UNIV(dsn=top_filt,context=,by=&COL,var=&ROW,stats=&STATS,misscol=y);
  %ROW_OUTV(dsn=row_univ,head=y,stat=&STAT,var=&ROW,pvalue=&PVALUE,nulltxt=&NULLTXT);
%IF &TAB_NAME ne %THEN %DO;
  data %SUBSTR(&TAB_NAME,1,3)&NUM%SUBSTR(&TAB_NAME,5,4) ;
   set
  %IF &SPACE eq 1 %THEN dummy;
    &SYSLAST
  %IF &SPACE eq 2 %THEN dummy;
   ;
%END;
%GEN_MAIL(name=&NAME);
%MEND BLK_CONV;