|
|
| Author |
Message |
Johore
Specialist
Joined: 12 Sep 2003 Posts: 20
|
|
|
|
Hello,
When an SQL query is written in a program with a typo error of the table name , when can we know the error.
Is it while compilation or while executing the program. Can we see the message in the JCL output.
Thanks in advance,
johore |
|
| Back to top |
|
 |
References
|
Posted: Mon Jan 05, 2004 3:47 pm Post subject: Re: TYPO ERROR OF TABLE NAME |
 |
|
|
 |
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1470
|
|
|
|
Hi johore,
If I'm not mistaken, the DB2 preprocessor should detect the error. If not then, the compiler should pick it up.
Regards, Jack. |
|
| Back to top |
|
 |
Johore
Specialist
Joined: 12 Sep 2003 Posts: 20
|
|
|
|
Hi MMWIFE,
Yes ur right , I also checked the same.
The error appears when the BIND process is done . The system searched for the TABLE and the user access details. It gives the error at this point.
Thanks again.
johore |
|
| Back to top |
|
 |
|
|