Hi Vinita,
The errors are DB2 errors, not GCC errors.
Unless there happens to be somebody on this forum with DB2 experience in the particular environment you are working in (doubtful, but could happen), you'll probably have better luck inquiring on a DB2 help forum.
Sincerely, --Eljay