Thursday, July 25, 2013

how to check if goldengate trail file is corrupt

open the trail file and  do a count
if it says
Bad record found

then that means the trail file is corrupt.

Saturday, July 6, 2013

unix one liner




 for i in `ls *.dmp`; do mv $i $i.`date +%m%d` ; done
 for i in `ls *.log`; do mv $i $i.`date +%m%d` ; done