WINDOWS SAS command line call code and exemplary output path specified

ECHO "Setting SAS.EXE Path"

SET PATH=D:\Program Files\SASHome\SASFoundation\9.4\SAS.EXE

 

echo "01@APP_SRE_NBR 申请分"
"%PATH%" -SYSIN ..\05@Format\01@APP_SRE_NBR.sas -log ..\05@Format\01@APP_SRE_NBR.log -print ..\05@Format\01@APP_SRE_NBR.lst

echo "02@FLAG_ACTIVITY 激活状态"
"%PATH%" -SYSIN ..\05@Format\02@FLAG_ACTIVITY.sas -log ..\05@Format\02@FLAG_ACTIVITY.log -print ..\05@Format\02@FLAG_ACTIVITY.lst

echo "03@FLAG_PUNCH 刷卡状态"
"%PATH%" -SYSIN ..\05@Format\03@FLAG_PUNCH.sas -log ..\05@Format\03@FLAG_PUNCH.log -print ..\05@Format\03@FLAG_PUNCH.lst

echo "04@FLAG_CATEGORY 客户分类"
"%PATH%" -SYSIN ..\05@Format\04@FLAG_CATEGORY.SAS -log ..\05@Format\04@FLAG_CATEGORY.log -print ..\05@Format\04@FLAG_CATEGORY.lst

echo "05 @ FLAG_MP customer classification"
"% the PATH%" -SYSIN .. \ 05 @ the Format \ 05@FLAG_MP.SAS -log .. \ 05 @ the Format \ 05@FLAG_MP.log -print .. \ 05 @ the Format \ 05@FLAG_MP.lst

echo "06@FLAG_NUM 次数分类"
"%PATH%" -SYSIN ..\05@Format\06@FLAG_NUM.SAS -log ..\05@Format\06@FLAG_NUM.log -print ..\05@Format\06@FLAG_NUM.lst

PAUSE

Guess you like

Origin www.cnblogs.com/wdkshy/p/10988670.html