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 -104 & State 42601

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

New User


Joined: 29 Aug 2005
Posts: 10
Location: Hyderabad, India

PostPosted: Fri Sep 24, 2010 12:31 pm    Post subject: DB2 SQL Error Code -104 & State 42601
Reply with quote

Hi,

I am Executing a SQL statement in SPUFI and it ran fine in one environment (Suppose Dev) when I moved the same to another environment (Suppose UAT) using Endevor, and Ran the same it is throwing an error DB2 SQL Error Code -104 & State 42601,

Can anybody please check the same and let me know Why this Happens and is there any Solution for the same,
As there is no change to the SQL Statement as well.

I need the response ASAP.

Thanks in Advance.

Desireddy
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Fri Sep 24, 2010 12:46 pm    Post subject: Reply to: DB2 SQL Error Code -104 & State 42601
Reply with quote

sorry but we do not do ASAP

the fastest response would obtained by looking at the manuals Yourself

remember... replying is
on voluntary basis
responders time
responders equipment

edited after checking the ts profile
occupation ==> Project Lead in a Reputed MNC icon_eek.gif
a project leader in a reputed MNC should know better icon_evil.gif

a forum search SQL 104 42601 returned quite a few hits and suggestions
Back to top
View user's profile Send private message
GuyC

Senior Member


Joined: 11 Aug 2009
Posts: 1280
Location: Belgium

PostPosted: Fri Sep 24, 2010 1:01 pm    Post subject:
Reply with quote

It's a bit hard to check "a sql statement".
maybe undefined column ?
anyway I would check the definitions of the tables in the two environments.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Fri Sep 24, 2010 1:03 pm    Post subject: Reply to: DB2 SQL Error Code -104 & State 42601
Reply with quote

Quote:
It's a bit hard to check "a sql statement".

I guess the TS wanted a bit of manual reading and searching done on his behalf!

after all a project lead is not supposed to do the dirty work, just plan other people work icon_biggrin.gif icon_biggrin.gif
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Sep 24, 2010 1:17 pm    Post subject:
Reply with quote

Psychic day test - maybe the DB2 subsystem name changes with the environment
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 Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts INVOKE WEBSERVICE error danik56 CICS 11 Thu Mar 09, 2017 11:52 am
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm


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