Unix Technical Forum

DB2 Task Failed w/-22201

This is a discussion on DB2 Task Failed w/-22201 within the DB2 forums, part of the Database Server Software category; --> I'm running DB2 Express-C on a Server 2003 box acting as an additional domain controller in our small domain. ...


Go Back   Unix Technical Forum > Database Server Software > DB2

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 02:11 PM
Mesan
 
Posts: n/a
Default DB2 Task Failed w/-22201

I'm running DB2 Express-C on a Server 2003 box acting as an additional
domain controller in our small domain.

I'm trying to create a simple task to connect to a database, call a
stored procedure and the disconnect.

I've made the task OK, but whenever I try to run the task I get the
following email:

The task MYSCHEMA.MyTaskName with status Not successful ran on the DB2
Administrative Server on dbserver.mydomain.local and completed with
return code -22201. The task started on dbserver(0) at 2008-02-08
11:17:58.0 and completed at 2008-02-08 11:17:59.0. The task lasted 1
seconds.

SQL22201N seems to do with user authentication, but I've tried
multiple user accounts, verified each of their passwords and still no
luck.

Any ideas???
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 02:11 PM
Norm
 
Posts: n/a
Default Re: DB2 Task Failed w/-22201

On Feb 8, 1:38 pm, Mesan <935m...@gmail.com> wrote:
> I'm running DB2 Express-C on a Server 2003 box acting as an additional
> domain controller in our small domain.
>
> I'm trying to create a simple task to connect to a database, call a
> stored procedure and the disconnect.
>
> I've made the task OK, but whenever I try to run the task I get the
> following email:
>
> The task MYSCHEMA.MyTaskName with status Not successful ran on the DB2
> Administrative Server on dbserver.mydomain.local and completed with
> return code -22201. The task started on dbserver(0) at 2008-02-08
> 11:17:58.0 and completed at 2008-02-08 11:17:59.0. The task lasted 1
> seconds.
>
> SQL22201N seems to do with user authentication, but I've tried
> multiple user accounts, verified each of their passwords and still no
> luck.
>
> Any ideas???


I'm assuming you're using the DB2 Task Center. Are you able to get
any tasks to run immediately? Each task has a security and by default
only the task creator is able to execute the task. When you edit a
task the last tab is the security tab. If you schedule the task to
run, the userid must have execute rights in the security tab.

HTH,
Norm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:20 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com