What I have understood about DB2 precompiler is that it reads the source code and comments the SQL statement and replaces them with call to DB2. It checks SQL statement for syntax errors. Also Precompiler do not refer to DB2 catalog table.
I have been asked in an interview that how does Precompiler identifies SQL statement if DB2 catalog table is not refered?
Can anyone please explain me that how precompiler identifies SQL statement ?
Thanks