Search Result

Collapse
21 results in 0.0015 seconds.
Keywords
Members
Tags
sqlcode
  •  

  • fahimghauri
    started a topic Sqlcode=-443, Sqlstate=38553 Sysibm:cli:-727
    in DB2

    Sqlcode=-443, Sqlstate=38553 Sysibm:cli:-727

    Hi,

    DB2 SQL Error: SQLCODE=-443, SQLSTATE=38553, SQLERRMC=SYSIBM .SQLCOLUMNS;COL UMNS;SYSIBM:CLI :-727, DRIVER=3.50.152


    My developers receive this error trying to run queries on a DB2 V8.2 database on linux, through JDBC drivers, exactly like an IBM page describe this:

    http://www-1.ibm.com/support/docview.wss?uid =swg1LI70279

    But the strange thing is, that if the users has DBA authority...
    See more | Go to post

  • Dobber
    started a topic Sqlstate 22007 Sqlcode -181

    Sqlstate 22007 Sqlcode -181

    I am trying to construct an SQL statment and pass it to an i5. However I keep getting the above error message. At its simplest I am trying to convert an 8 0 numeric field in the format 20070817 to a date so that I can subtract a number of days. The statement consists of:

    Cast((SUBSTR(CH AR(OHDATE),7,2) ||'/'|| SUBSTR(CHAR(OHD ATE),5,2) ||'/'|| SUBSTR(CHAR(OHD ATE),3,2)) As date)

    I have also tried:

    Date(SUBSTR(CHA R(OHDATE),7,2)| |'/'||...
    See more | Go to post

  • michael.schmitz@tietoenator.com
    Guest started a topic PHP5, ibm_db2 connection problem
    in DB2

    PHP5, ibm_db2 connection problem

    Hello,

    my tiny PHP5 test application cannot establish a connection to a
    database while I am able to connect to the same database using the DB2
    command line tool.

    Our server is 64 bit system running SuSE Enterprise Linux 10. The PHP
    version installed is v5.1.2.

    Product Name = "DB2 Personal Edition"
    Product Identifier = "DB2PE"...
    See more | Go to post

  • monika thotha
    started a topic getting sqlcode -206
    in DB2

    getting sqlcode -206

    i m working on mainframes, coding in cobol and db2
    EXEC SQL
    UPDATE BOOKS_STAT17
    SET STATUS1 = 'O' , EMP_NUMBER=NULL
    WHERE COPY_NUMBER = WS-COPY-NUM
    AND ISBN_NUMBER = WS-ISBN-NUM
    END-EXEC.
    error i m getting:
    DBH3 BIND SQL ERROR
    USING TRG4SUSR AUTHORITY
    PLAN=MONIKA ...
    See more | Go to post

  • Ian Boyd
    Guest started a topic "Application must execute a rollback."
    in DB2

    "Application must execute a rollback."

    We're encountering a situation where we're encountering a deadlock, and
    someone's been made the deadlock victim. But after that, DB2 refuses to run
    any SQL, and instead we get the error message:

    "Applicatio n must execute a rollback. The unit of work has already been
    rolled back in the database but other resource managers involved in this
    unit of work might not. To ensure integrity of this application, all...
    See more | Go to post

  • scorpion53061
    Guest started a topic Error In SQL Statement
    in DB2

    Error In SQL Statement

    My Visual Studio 2005 Query Window reports the following error when
    this query runs. Any idea what might be causing it? Thanks for any
    help. I have tried subsitituing for the parameter a fixed number and
    same error. I also have established it does connect and close properly
    with my connection string.

    [DB2/LINUX] SQL0952N Processing was cancelled due to an interrupt.
    SQLSTATE=57014


    SELECT...
    See more | Go to post

  • amarhegde
    started a topic Resolving SQLCODE -911 in IBM DB2
    in DB2

    Resolving SQLCODE -911 in IBM DB2

    Hi ,
    This error is got in the logs
    ErrorLogger E org.quartz.core .ErrorLogger schedulerError An error occured
    while scanning for the next trigger to fire.
    org.quartz.JobP ersistenceExcep tion: Couldn't
    acquire next trigger: DB2 SQL error: SQLCODE: -911, SQLSTATE: 40001, SQLERRMC: 2


    On going through few DB2 sites i was able to find that SQLSTATE: 40001 is...
    See more | Go to post

  • amarhegde
    started a topic REsolving SQLCODE -302 in IBM DB2
    in DB2

    REsolving SQLCODE -302 in IBM DB2

    When u perform the SELECT operation,

    Sometimes u get this error Code

    java.rmi.Remote Exception: ; nested exception is:
    javax.ejb.EJBEx ception: nested exception is:
    com.ibm.db2.jcc .b.SqlException : DB2 SQL error: SQLCODE: -302, SQLSTATE: 22001,
    SQLERRMC: null


    SQLCODE: -302 occurs when the host variable size is too large .

    Can any one provide me solution...
    See more | Go to post

  • uday123
    started a topic SQLSTATE 42074 error
    in DB2

    SQLSTATE 42074 error

    Hi,
    We are using DB2 in an enterprise J2EE application and extracting data from here.

    But i get the following exception when i try to retriece records from this database:

    _______________ _______________ _______________ _______________ _____
    COM.ibm.db2.jdb c.DB2Exception: [IBM][CLI Driver][DB2/SUN] SQL0727N An error occurred during implicit system action type "1". Information returned for the...
    See more | Go to post

  • Error: SQLCODE: -805, SQLSTATE: 51002, SQLERRMC: NULLID.SYSLH205 0X5359534C564C3031

    Stack trace below.

    Only happens in WebSphere 6.0.
    DB2 v 8.2. FP12.

    Only against 1 database. I have other databases in this database
    instance, but they don't seem to have this problem.

    Looked up SQLCODE: -805. It said either
    a) the client and server versions don't match (which doesn't make
    sense, because we've run the same versions since May with no problem)
    b) There was an SQL PKG...
    See more | Go to post

  • Richard
    Guest started a topic Error SQLCODE "-811", SQLSTATE "21000"
    in DB2

    Error SQLCODE "-811", SQLSTATE "21000"

    Our web programmer was looking in his application log an found the
    following error:

    2006-08-31 16:33:35,129 ERROR org.hibernate.u til.JDBCExcepti onReporter
    - <[IBM][CLI Driver][DB2/6000] SQL0723N An error occurred in a
    triggered SQL statement in trigger "OLGCWEB.TBLPRO PS_INS_TRG".
    Information returned for the error includes SQLCODE "-811", SQLSTATE
    "21000" and message tokens...
    See more | Go to post

  • kenfar
    Guest started a topic how to tell if database is activated?
    in DB2

    how to tell if database is activated?

    I'd like our daily quality & policy testing framework to also test if
    our databases are activated. However, I haven't found a good way to do
    this yet - every approach has issues:

    1. get snapshot for database on [db] - I can't tell if the database is
    activated - or if it is inactivated by has a connection

    2. list active databases - same as above

    3. activate database and check return code...
    See more | Go to post

  • Sintesi
    Guest started a topic Urgent SQL0293N
    in DB2

    Urgent SQL0293N

    I got the SQL0293N error. someone can help me to solve this problem? My
    db2 is version 7.1 on win2000 server....
    See more | Go to post

  • mperkins@forzani.com
    Guest started a topic SQL7962 Error When Selecting From AS400 DB2 Database
    in DB2

    SQL7962 Error When Selecting From AS400 DB2 Database

    Hello.

    I have a curious problem.

    Occasionally executing a simple select against an AS400 DB2 database
    through JDBC fails with the following error: (SQLState = 57014) -
    java.sql.SQLExc eption: [SQL7962] Cursor CRSR0002 opened.

    Does anyone know what might be causing this error?

    Thanks.

    - Mat...
    See more | Go to post

  • David H. Cook
    Guest started a topic SQLCODE -204 using a jdbc-driver to UDB DB2 v8.2
    in DB2

    SQLCODE -204 using a jdbc-driver to UDB DB2 v8.2

    Hi -

    I just installed the express-edition of DB2 server (on a Win-XP
    machine),
    and then I setup a client JDBC driver to access it. The query is a
    simple
    'select * from EMPLOYEE' against their SAMPLE database.

    (This query works fine from within 'Control Center'...there is data in
    this table, etc.)

    The 'connect' using JDBC works fine. It is just the SQL-query that
    gives the...
    See more | Go to post
Working...