Changed diag by note function.
Removed unnecessary error outputs from rpcdata file.