473,394 Members | 1,709 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Sqlstate = 56038

I am getting an SQLCODE = -4700, SQLSTATE = 56038 on
Below SQL returned - SQLCODE = -4700, SQLSTATE = 56038 We are on version 8 of DB2 but not in NFM yet
Expand|Select|Wrap|Line Numbers
  1. UPDATE    CORETSTA.DDA C                                  
  2.    SET   C.B1_ACCT_PROD_CD = (SELECT B1_ACCT_PROD_CD        
  3.                                   FROM CORETSTB.DDA B       
  4.                                  WHERE B.FINL_ENTY_ID =     
  5.                                          A.FINL_ENTY_ID     
  6.                                    AND B.ACCT_NBR =         
  7.                                          A.ACCT_NBR)        
  8.  WHERE EXISTS (SELECT 1                                     
  9.             FROM CORETSTB.DDA B                             
  10.                , CORETSTA.DDA A                             
  11.            WHERE A.FINL_ENTY_ID = '01'                      
  12.     AND B.FINL_ENTY_ID = A.FINL_ENTY_ID                     
  13.     AND B.ACCT_NBR = A.ACCT_NBR)             
  14.  
I modified the above and it worked..below is the modified one.
Expand|Select|Wrap|Line Numbers
  1. UPDATE  COREINTA.DDA  A                          
  2.    SET  ACCT_ANAL_CD  =                          
  3.        (SELECT ACCT_ANAL_CD                      
  4.           FROM COREINTB.DDA  X                   
  5.           WHERE X.FINL_ENTY_ID = A.FINL_ENTY_ID  
  6.             AND X.ACCT_NBR = A.ACCT_NBR)         
  7.  WHERE A.FINL_ENTY_ID = '01';
Jul 26 '07 #1
3 10218
pbmods
5,821 Expert 4TB
Heya, Gene. Welcome to TSDN!

I'm going to go ahead and move this thread to the DB2 forum, where our resident Experts will be better able to help you out.
Jul 26 '07 #2
FYI...
-4700 ATTEMPT TO USE NEW FUNCTION BEFORE NEW FUNCTION MODE
SQLSTATE 56038: The requested feature is not supported in this
environment.

Most of the time the error 4700 is returned from DB2 zOS if running in
Compatibility Mode, and is just a Warning about some features could not
be used until New Mode is used.

This will help you ...
If your case is diff then paste the exact error msg from db2diag.log and give some details abt the exact environment DB2/OS/

Thanks and Regards,
Shashank K.
Jul 29 '07 #3
Hi
i am getting same -4700 SQL Code and sql state = 56038
STATEMENT=705
SQLCODE=-4700
SQLSTATE=56038

Here line 705 is my UPDATE statement which is giving me an error.
Can anyone plese tell me?
Oct 10 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Srinivas B.S.S | last post by:
Hi, I am using MyODBC 3.51.06 on solaris. When a ODBC call fails to execute due to communication problems with database server, according to ODBC reference, sqlstate should be set to 08S01...
2
by: Herbert | last post by:
Hallo colleques, I get during the following error message "SQL1035N No database manager command was issued. SQLSTATE=57019", when issuing the following command on the Command Line Processor:...
5
by: Jean-Marc Blaise | last post by:
Dear all, Could you explain why some SQL messages do not possess a SQLSTATE ? Why not transmitting the SQLSTATE of the original <sqlcode>, for example if you get a -911 on a RUNSTATS ? ...
3
by: Jason Gyetko | last post by:
I'm running DB2 v8.1 FP5 and am trying to link tables via ODBC from Access 2002 to my DB2 database. Access lets me connect to the database and returns a list of all tables I can select from, but...
1
by: xf wang via DBMonster.com | last post by:
when i call db2 store producedure,db2 throws exception whose sqlstate is identical t0 38503.I find information as follows: DB2 does check for certain types of limited actions that erroneously...
2
by: Richard | last post by:
Our web programmer was looking in his application log an found the following error: 2006-08-31 16:33:35,129 ERROR org.hibernate.util.JDBCExceptionReporter - < SQL0723N An error occurred in a...
4
by: Pool | last post by:
I tried to connect DB2 (Sitting in Unix server at my client location) using Db2 connect V8. I am getting the following error message. I tried all the possible options BUt the error is same.. See each...
2
by: skt | last post by:
CREATE PROCEDURE NYCIKCP.LIB_SEQUNCE_GEN(IN "@ADB_DIVISION" VARCHAR(32)) SPECIFIC LIB_SEQUNCE_GEN MODIFIES SQL DATA NOT DETERMINISTIC NULL CALL LANGUAGE SQL BEGIN DECLARE SQLSTATE CHAR(5)...
1
by: Rudolf Bargholz | last post by:
Hi, We have created triggers to log modifications to tables in our application. The triggers work fine, just on one of the tables in our database the triggers fail with the error message...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.