If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Success message instead of Error message

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-16-06, 09:52
mdx34 mdx34 is offline
Registered User
 
Join Date: Oct 2004
Posts: 238
Success message instead of Error message

Red Hat Linux DB2 V 8.1

We have a scheduled DB2 job that runs a stored procedure. The command for the job is below (syntax error is not important-the real error is in the stored procedure).

connect to database MYDB;
Execute MYSTOREDPROC(1);
Connect reset;

1 st and third lines run successfully but the ' Execute MYSTOREDPROC(1);' step gives error. When we look at the Journal or the output log file, we see 'Succeded' message. How could this be ? SHouldn't it say the job failed ?

Thanks.
Reply With Quote
  #2 (permalink)  
Old 05-16-06, 13:48
angel_s angel_s is offline
Registered User
 
Join Date: Mar 2006
Posts: 3
In the task center, have you checked the 'Stop execution at first return code that is a failure' in the Run properties tabpage for that task?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On