Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us