Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
TYPO ERROR OF TABLE NAME

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL
Author Message
Johore

Specialist


Joined: 12 Sep 2003
Posts: 20

PostPosted: Mon Jan 05, 2004 3:47 pm    Post subject: TYPO ERROR OF TABLE NAME
Reply with quote

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
View user's profile Send private message
References
PostPosted: Mon Jan 05, 2004 3:47 pm    Post subject: Re: TYPO ERROR OF TABLE NAME Reply with quote

mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1470

PostPosted: Tue Jan 06, 2004 2:23 am    Post subject:
Reply with quote

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
View user's profile Send private message
Johore

Specialist


Joined: 12 Sep 2003
Posts: 20

PostPosted: Tue Jan 06, 2004 12:11 pm    Post subject: TYPO ERROR OF TABLE NAME
Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 Hours
Page 1 of 1