반응형
RSUBMIT;
%MACRO TXT_INFILE(P_CORP, P_MODEL, P_FILE);
DATA DT_RULE_&P_CORP._&P_MODEL;
CORP = "&P_CORP";
MODEL = "&P_MODEL";
INFILE "&P_FILE";
LENGTH SCRIPT $1000.;
INPUT SCRIPT 1-1000 @@;
RUN;
%ORA_TBL_UPLOAD(WORK.DT_RULE_&P_CORP._&P_MODEL);
%MEND;
ENDRSUBMIT;
RSUBMIT;
%TXT_INFILE(SC3, M09, C:\Documents and Settings\sassrv\My Documents\My SAS Files\9.2\DT_RULE\SC3_M09.TXT);
ENDRSUBMIT;
'전산Tip > SAS' 카테고리의 다른 글
[SAS] spawn 설정 (win NT) (0) | 2011.02.25 |
---|---|
[SAS] 오라클 UPLOAD 매크로 (0) | 2011.02.21 |
[SAS] proc format (0) | 2011.02.21 |