Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
DB2 Sql Error code -407 while doing package or plan

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
srebba
Warnings : 1

New User


Joined: 26 Apr 2007
Posts: 37
Location: USA

PostPosted: Wed May 23, 2007 7:14 pm    Post subject: DB2 Sql Error code -407 while doing package or plan
Reply with quote

Hi,

I am trying to Bind package for new module i am gettgin error code -407.
and I am tryint to Bind plan directly but eventhough iam getting same error code below. Please help me

DSNX200I + BIND SQL ERROR
USING RUSRP AUTHORITY
PLAN=STYMF01
DBRM=STYMFDB2
STATEMENT=503
SQL CODE=-407
TOKENS=STYY_COLOR
CSECT NAME=DSNXODM
RDS CODE=12
DSNT201I + BIND FOR PLAN STYMF01 NOT SUCCESSFUL
***
What does it mean by TOKENS? I am unable to proceed from here.
Thank you,
Sree
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed May 23, 2007 7:41 pm    Post subject:
Reply with quote

Hello,

If you talk with your database support people, they will tell you what you need to change.
Back to top
View user's profile Send private message
srebba
Warnings : 1

New User


Joined: 26 Apr 2007
Posts: 37
Location: USA

PostPosted: Wed May 23, 2007 8:29 pm    Post subject: Re: DB2 Sql Error code -407 while doing package or plan
Reply with quote

Frankly Speaking My porject is using DB2 very less and already i searched for this.

please let me know

Thank you
Sree
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed May 23, 2007 8:52 pm    Post subject:
Reply with quote

Hello,

Did you research the -407? IBM says the -407 is raised when
Quote:
AN UPDATE OR INSERT VALUE IS NULL, BUT THE OBJECT COLUMN
column-name CANNOT CONTAIN NULL VALUES


The concept of tokens takes more words than i'm able to present here. You might do a bit of research in the manuals linked to from this site.

What is at statement 503?

As i mentioned earlier, your best bet is to talk with the database admin or the most senior of the application developers that use DB2 - it shouldn't matter that your organization is "using DB2 very less " - i suspect there are some other binds that are working. You might compare one that works with the problem bind if you don't want to talk with the other people.
Back to top
View user's profile Send private message
srebba
Warnings : 1

New User


Joined: 26 Apr 2007
Posts: 37
Location: USA

PostPosted: Wed May 23, 2007 8:57 pm    Post subject: Re: DB2 Sql Error code -407 while doing package or plan
Reply with quote

I got it got it got it

Thank you very much
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed May 23, 2007 9:46 pm    Post subject:
Reply with quote

You're welcome icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts Speed-up/reduce CPU use of code prino PL/I & Assembler 0 Tue Sep 26, 2017 12:05 am
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us