ControlM and SAS
hi
we use SAS and Controlm 7
the job sas are executed by script unix (ksh) with the command
$SASROOT/sas -work ${SASTMP}${NUMTEMP} -log ${SASLOGF} -print ${SASLSTF} ${SASPROGF}
you can after analyse the SASLOG by grep
ie
rc=`/usr/xpg4/bin/grep -E -c '^ERROR |^ERROR: | ERROR | ERROR: | Copyright ' "${SASLOGF}"`
if [ $rc -ne " 1" ] ; then
export SASEXIT="PB"
fi
we use SAS and Controlm 7
the job sas are executed by script unix (ksh) with the command
$SASROOT/sas -work ${SASTMP}${NUMTEMP} -log ${SASLOGF} -print ${SASLSTF} ${SASPROGF}
you can after analyse the SASLOG by grep
ie
rc=`/usr/xpg4/bin/grep -E -c '^ERROR |^ERROR: | ERROR | ERROR: | Copyright ' "${SASLOGF}"`
if [ $rc -ne " 1" ] ; then
export SASEXIT="PB"
fi
Hii...Simmi this is Allison...Control-M is a software solution (supplied by BMC) which allows enterprise users to schedule and control complex job batches. The product exists in two distinct versions, one for the mainframe (which is the original version) and another for distributed systems.But
SAS (pronounced "sass", originally Statistical Analysis System) is an integrated system of software products provided by SAS Institute Inc., which enables programmers to perform:
retrieval, data management, and data mining
report writing and graphics
statistical analysis
business planning, forecasting, and decision support
operations research and project management
quality improvement
applications development
data warehousing (extract, transform, load)
platform independent and remote computing
SAS (pronounced "sass", originally Statistical Analysis System) is an integrated system of software products provided by SAS Institute Inc., which enables programmers to perform:
retrieval, data management, and data mining
report writing and graphics
statistical analysis
business planning, forecasting, and decision support
operations research and project management
quality improvement
applications development
data warehousing (extract, transform, load)
platform independent and remote computing
I run very little SAS but my command line is below. Maybe this will help.
"D:\Program Files\SAS\SASFoundation\9.2\sas.exe" -SYSIN "D:\SAS Folders\SAS Programs\MasterBuildUserTable.sas" -noautoexec -noterminal -nosplash -log %%1 -CONFIG "D:\Program Files\SAS\SASFoundation\9.2\SASV9.CFG"
Where %%1 is defined on the Set tab as
%1 = "\\Sysnet\ftproot\ControlM\SAS\MasterBuildUserTable%%$DATE.%%TIME..log"
"D:\Program Files\SAS\SASFoundation\9.2\sas.exe" -SYSIN "D:\SAS Folders\SAS Programs\MasterBuildUserTable.sas" -noautoexec -noterminal -nosplash -log %%1 -CONFIG "D:\Program Files\SAS\SASFoundation\9.2\SASV9.CFG"
Where %%1 is defined on the Set tab as
%1 = "\\Sysnet\ftproot\ControlM\SAS\MasterBuildUserTable%%$DATE.%%TIME..log"