With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.
mydir=/start/dir plog=/start/log filename=sasprog1.log search=ERROR outfile=file1.txt sas=/products/SAS/SASFoundation/9.2/sas $sas <$mydir/sasprog1.sas> $plog/$filename # is this a proper way to run a SAS program and then create SAS log?? find $plog -type f -name $filename |while read file do RESULT=$(grep $search $file) # is this correct? if [[ ! -z $RESULT ]] then echo "Error(s) in $file: $RESULT" >> $outfile fi done exit