SQLCODE -28

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • PCK

    SQLCODE -28

    Hello,

    I am using an UPDATE statement through java program. It works fine on
    windows. But When I moved the same code over to OS/390, I get the
    following error


    java.sql.SQLExc eption: DB2JDBCSection Received Error in Method
    setParameters:S QLCODE==> -28 SQLSTATE ==> FFFFF Error Tokens ==> <<DB2
    7.1 SQLJ/JDBC>>


    But SQLCODE -28 could not be found in the reference manual.

    Any help will be highly appreciated !!
    Thx
  • Anton Versteeg

    #2
    Re: SQLCODE -28

    On UDB -28 indicates something i qrong with the bind file version:

    SQL0028C The release number of the bind
    file is not valid.

    Explanation: The release number of the bind
    file is not compatible with the release number of
    the installed version of the database manager.
    The bind file cannot be used with the current
    version of the database manager. The command
    cannot be processed.
    User Response: If possible, repeat the
    precompile process with the current database
    manager. Otherwise, use only bind files created
    with a compatible release level of the database
    manager.


    PCK wrote:
    [color=blue]
    > Hello,
    >
    > I am using an UPDATE statement through java program. It works fine on
    > windows. But When I moved the same code over to OS/390, I get the
    > following error
    >
    >
    > java.sql.SQLExc eption: DB2JDBCSection Received Error in Method
    > setParameters:S QLCODE==> -28 SQLSTATE ==> FFFFF Error Tokens ==> <<DB2
    > 7.1 SQLJ/JDBC>>
    >
    >
    > But SQLCODE -28 could not be found in the reference manual.
    >
    > Any help will be highly appreciated !!
    > Thx[/color]

    Comment

    Working...