Code: Select all
sudo -u dsadm -g dstage ${DSHOME}/bin/dsjob -run -wait -warn 0 -mode NORMAL ${DSProj} ${sDSJobName}
sDSRetCd=$?
echo "DS Job run status is ${sDSRetCd} running ${sDSJobName}.."
Code: Select all
Waiting for job...
Finished waiting for job
Status code = 0
DS Job run status is 0 running Month_Job..