You should verify that the string in "DATE_STAMP" is actually a valid string representation for a date value. Next, you have to have single-quotes in the SQL statement to get the string as string to DB2, i.e. something like:
Code:
db2 -x "select count(*) from schema.tablename where PROCESS_DT=DATE('$DATE_STAMP')
Also, you have a single-quote in next to "RecCount=" but a back-tick at the end. This can't work anyway.