DB2 Restore Procedure

Hi Gurus,
Due to some power problem one of our ABAP System got crashed now we have a backup but i am not familiar with db2 restore procedure.
Though we have an Online backup but not sure that log_archiving was on or not.
I have gone through the few guides available on SDN / IBM. Now i have doubts before going ahead with restore.
1. What would be the exact command to restore an Online backup ?
2. What would be the exact command for roll-forward recovery after restoring an online backup?
3. Though DB2 Ver. 9.5 includes the Archive log while taking an online backup how can i summarize that whether i need to apply logs after restoring an online database because i am not sure whether log_archive was on or off.
Please suggest ...!!!
Regards,
Jai

Hi Jai,
Since there's no general command to restore a database you should have a look at this [Information Center Page|http://publib.boulder.ibm.com/infocenter/db2luw/v9r5/topic/com.ibm.db2.luw.admin.cmd.doc/doc/r0001976.html] for restoring your database.
It depends on how your backup is made and, of course what kind of logging you use. This can be seen by putting out the database configuration (db2 get db cfg for <dbsid>) and filtering for [logarchmeth1|http://publib.boulder.ibm.com/infocenter/db2luw/v9r5/topic/com.ibm.db2.luw.admin.config.doc/doc/r0011448.html]|. In order to activate [archive logging|http://publib.boulder.ibm.com/infocenter/db2luw/v9r5/index.jsp?topic=/com.ibm.db2.luw.admin.cmd.doc/doc/r0001976.html] this parameter must be set to LOGRETAIN.
Nevertheless my advise is to get familiar of such fundamental knowledge before an incident happens! Anyway I hope these links help to master your situation.
Best regards,
Marcel|

Similar Messages

  • DB2 restore question

    Hi!
    Due to a unwanted batch input job we need to restore a R/3 system from prod to a sandbox system to have a reference system.
    I have created a restore script with the brdb6brt tool to  do a redirected restore, and it is currently creating table spaces in the database.
    We are running on AIX v5.2 and DB2 v8 FP 11.
    We have a full DB backup on disk and incremental backups on a networker managed tape library.
    My question is:
    If you restore with the parameter "incremental", is it possible to mark the DB as restored and start the rollforward process without applying the incremental backups on tape?
    The documentation for DB2 leaves some space for interpretation, and I don't have the time to do wrong for this 1.4 TB DB.
    Here are the examples from the documentation:
    "Notes:
    After successful completion of step 1, and before completing step 3, the restore operation can be aborted by issuing:
       db2 restore db mydb abort
    After successful completion of step 3, and before issuing all the required commands in step 4, the restore operation can be aborted by issuing:
       db2 restore db mydb incremental abort "
    Will any of these commands abort the restore so  I need to restart the restore, or just exit the restore procedure so I can continue with rollforward.
    BR Morten

    Hi!
    I will answer this post myself.
    First read contetn in link: http://publib.boulder.ibm.com/infocenter/db2luw/v8/index.jsp?topic=/com.ibm.db2.udb.doc/admin/t0006070.htm
    In addition:
    Here the description of the command parameters for the restore:
    CONTINUE
    Specifies that the containers have been redefined, and that the
    final step in a redirected restore operation should be performed.
    ABORT
    This parameter:
    Stops a redirected restore operation. This is useful when an
    error has occurred that requires one or more steps to be
    repeated. After RESTORE DATABASE with the ABORT option has
    been issued, each step of a redirected restore operation must
    be repeated, including RESTORE DATABASE with the REDIRECT
    option.
    Terminates an incremental restore operation before completion.
    Therefore if you allready have issued the "RETSTORE DATABASE NBP
    CONTINUE" without any error, then the restore is finished.
    You cannot do a continue manually because you are in another session
    then the script (Therefore you get the SQL2008N).
    Best regards,
    Steffen Stolz
    SAP Global Support, DB2 UDB for UNIX and Windows

  • To call db2 stored procedure having parameters in java application

    Hi,
    I've created db2 stored procedure which is running perfectly on db2 server after giving a CALL to it. But when I tried to call this same stored procedure in java application, its reflecting with following error......
    com.ibm.db2.jcc.b.SqlException: [jcc][10100][10910][3.50.152] java.sql.CallableStatement.executeQuery() was called but no result set was returned.
    Use java.sql.CallableStatement.executeUpdate() for non-queries. ERRORCODE=-4476, SQLSTATE=null
    at com.ibm.db2.jcc.b.wc.a(wc.java:55)
    at com.ibm.db2.jcc.b.wc.a(wc.java:102)
    at com.ibm.db2.jcc.b.tk.b(tk.java:575)
    at com.ibm.db2.jcc.b.vk.yb(vk.java:136)
    at com.ibm.db2.jcc.b.vk.executeQuery(vk.java:114)
    at SPApplication.main(SPApplication.java:31)
    Here is the code.......
    import java.sql.*; public class SPApplication { public static Connection con; public static CallableStatement proc_stmt; public static ResultSet rs; /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub try { Class.forName("DB2 DRIVER CLASS"); System.out.println("Class loaded....."); con = DriverManager.getConnection("jdbc:db2://localhost:PORTNO/" +                                   " DatabaseName", "username", "password"); System.out.println("Connection established....."); proc_stmt = con.prepareCall("call procedure_name(?)"); //IN Parameter proc_stmt.setInt(1, 5); System.out.println("Called procedure....."); rs = proc_stmt.executeQuery(); /******** THIS IS LINE NO. 31 *********/ while (rs.next()) {                              // Fetching rows one by one over here } proc_stmt.close(); rs.close(); con.close(); } catch (ClassNotFoundException cnfe) { cnfe.printStackTrace(); } catch (SQLException sqle) { sqle.printStackTrace(); } finally { /* try { proc_stmt.close(); rs.close(); con.close(); } catch (SQLException sqle) { sqle.printStackTrace(); } */ } } }
    Please correct me, if I am wrong at any point in my application..
    I would really appreciate for resolving my problem.
    Thanks,
    Manasi N.

    Hi jschell ,
    Firstly, I tried out with execute() and getMoreResults() to check if the statement is returning result set. - Its returning "null" only.
    Secondly, I tried with following one by one :
    1. Find a new jdbc driver
    2. Write a different stored procedure.I am using DB2 Express edition - DB2 v9.7.0.0
    I have the required jar files - i)db2jcc.jar ii) db2jcc_license_cu.jar
    From these I found the available jdbc drivers as -
    i) com.ibm.db2.jcc.DB2Driver
    ii) COM.ibm.db2os390.sqlj.jdbc.DB2SQLJDriver
    iii) com.ibm.db2.jcc.uw.DB2StoredProcDriver
    I tried out my code by using each of these drivers, but still returning result set as null.
    Moreover, I changed my stored procedure which has cursor returning result set. In this case also, result set is null.
    Code snippet for this SP is -
    30             Class.forName("com.ibm.db2.jcc.uw.DB2StoredProcDriver");
    31             System.out.println("Class loaded....");
    32             con = DriverManager.getConnection
    33                 ("jdbc:db2://localhost:portno/dbName", "user", "password");
    34             System.out.println("Connection established....");
    35
    36             proc_stmt = con.prepareCall("call javaSP()");
    37            
    38             System.out.println("Called stored procedure....");
    39            
    40             proc_stmt.execute();
    41             //proc_stmt.executeUpdate();
    42             //rs = proc_stmt.getResultSet();
    43
    44             System.out.println("Query executed....");
    45            
    46             if ((proc_stmt.getMoreResults() == false) &&
    47                     (proc_stmt.getUpdateCount() == -1)) {
    48                 System.out.println("No more result sets");
    49             }o/p is (for every mentioned above jdbc driver) :-
    Class loaded....
    Connection established....
    Called stored procedure....
    Query executed....
    No more result sets..
    The o/p is always "No more result sets"
    What else can be tried out to retrieve the result set from stored procedure from Java application? And the most important, these same stored procedures are returning result sets on db2 server after calling them.
    Thank you,
    Manasi.N
    Edited by: Manasi.N on Apr 14, 2010 12:27 AM
    Edited by: Manasi.N on Apr 14, 2010 12:28 AM

  • My daughter forgot her passcode, phone is disabled.  I attempted restore procedures by placing phone in restore mode and syncing to original computer, but it still says I need the passcode and does not offer option to restore as new.  Verizon can't help.

    My daughter forgot her passcode.  Phone is now disabled.  I attempted restore procedures by placing phone in restore mode and connected it to the computer / itunes with which it was originally synced.  itunes recognized phone in restore mode and said I must restore.  I clicked restore, restore and update.  Update began, itunes recognized the device by name and gave error message that stated I must have the passcode to restore.  There was no option to restore as new.  I attempted to restore the iphone 4s on another computer by instaling itunes, but same error messages appeared.  I contacted Verizon and they said they could not help me.  The nearest apple retail store is over 40 miles away.  PLEASE HELP!

    If You Are Locked Out Or Have Forgotten Your Passcode
    iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
    iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    iOS- Understanding passcodes
         If you have forgotten your Restrictions code, then follow the instructions
         below but DO NOT restore any previous backup. If you do then you will
         simply be restoring the old Restrictions code you have forgotten. This
         same warning applies if you need to restore a clean system.
    A Complete Guide to Restore or Recover Your iDevice (if You Forget Your Passcode)
    If you need to restore your device or ff you cannot remember the passcode, then you will need to restore your device using the computer with which you last synced it. This allows you to reset your passcode and re-sync the data from the device (or restore from a backup). If you restore on a different computer that was never synced with the device, you will be able to unlock the device for use and remove the passcode, but your data will not be present. Refer to Updating and restoring iPhone, iPad and iPod touch software.
    Try restoring the iOS device if backing up and erasing all content and settings doesn't resolve the issue. Using iTunes to restore iOS devices is part of standard isolation troubleshooting. Restoring your device will delete all data and content, including songs, videos, contacts, photos, and calendar information, and will restore all settings to their factory condition.
    Before restoring your iOS device, Apple recommends that you either sync with iTunes to transfer any purchases you have made, or back up new data (data acquired after your last sync). If you have movie rentals on the device, see iTunes Store movie rental usage rights in the United States before restoring.
    Follow these steps to restore your device:
         1. Verify that you are using the latest version of iTunes before attempting to update.
         2. Connect your device to your computer.
         3. Select your iPhone, iPad, or iPod touch when it appears in iTunes under Devices.
         4. Select the Summary tab.
         5. Select the Restore option.
         6. When prompted to back up your settings before restoring, select the Back Up
             option (see in the image below). If you have just backed up the device, it is not
             necessary to create another.
         7. Select the Restore option when iTunes prompts you (as long as you've backed up,
             you should not have to worry about restoring your iOS device).
         8. When the restore process has completed, the device restarts and displays the Apple
             logo while starting up:
               After a restore, the iOS device displays the "Connect to iTunes" screen. For updating
              to iOS 5 or later, follow the steps in the iOS Setup Assistant. For earlier versions of
              iOS, keep your device connected until the "Connect to iTunes" screen goes away or
              you see "iPhone is activated."
         9. The final step is to restore your device from a previous backup.
    If you can not restore your device then you will need to go to recovery mode.
    Placing your device into recovery mode:
    Follow these steps to place your iOS device into recovery mode. If your iOS device is already in recovery mode, you can proceed immediately to step 6.
         1. Disconnect the USB cable from the iPhone, iPad, or iPod touch, but leave the other end
             of the cable connected to your computer's USB port.
         2. Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the
             red slider appears, then slide the slider. Wait for the device to turn off.
              If you cannot turn off the device using the slider, press and hold the Sleep/Wake
              and Home buttons at the same time. When the device turns off, release the Sleep/Wake
              and Home buttons.
         3. While pressing and holding the Home button, reconnect the USB cable to the device.
             The device should turn on. Note: If you see the screen pictured below, let the device
             charge for at least ten minutes to ensure that the battery has some charge, and then
             start with step 2 again.
         4. Continue holding the Home button until you see the "Connect to iTunes" screen.
             When this screen appears you can release the Home button.
         5. If necessary, open iTunes. You should see the following "recovery mode" alert:
         6. Use iTunes to restore the device.
    If you don't see the "Connect to iTunes" screen, try these steps again. If you see the "Connect to iTunes" screen but the device does not appear in iTunes, see this article and its related links.
    Additional Information:
    Note: When using recovery mode, you can only restore the device. All user content on the device will be erased, but if you had previously synced with iTunes on this computer, you can restore from a previous backup. See this article for more information.

  • Calling DB2 Stored procedure(with parameters) from powershell

    Hi 
    I am trying to call a DB2 stored procedure that has parameters from Powershell scrip and I am not able to can some one help me here?
    $ServerName = 'XXXX'
    $dbalias='XXXXX'
     $conn_string = "Provider=IBMDADB2;DBALIAS=$dbalias;Uid=;Pwd=;"
     $conn = new-Object system.data.Oledb.OleDbconnection
     $conn.ConnectionString = $conn_string
     $conn.open()
     $query="CALL DBID_CONTROL.GET_TABLE_MAINT_CTL(?,?,?,'MSAS','DATABASE_CONNECTIONS_CUBE','CUBE_PARTITION');"
     $cmd = new-Object system.data.Oledb.OleDbcommand($query,$conn)
      $ds=New-Object system.Data.DataSet
     $da=New-Object System.Data.OleDb.OleDbDataAdapter($cmd)
      $da.Fill($ds) [int]$cur_utc_date_key = $ds.Tables[0].Rows[0][0]
     $cur_utc_date          = $ds.Tables[0].Rows[0][1]
     ###list current date key & current date values
     write-output "current date key value is $cur_utc_date_key"
     write-output "current date value is $cur_utc_date"
     write-output " "
    Thanks

    Hi 
    This is the error message i get when i run the script
    Exception calling "Fill" with "1" argument(s): " CLI0100E  Wrong number of parameters. SQLSTATE=07001"
    At line:45 char:10
    +  $da.Fill <<<< ($ds)
        + CategoryInfo          : NotSpecified: (:) [], ParentContainsErrorRecordException
        + FullyQualifiedErrorId : DotNetMethodException

  • DB2 Stored Procedure from Java-JDBC

    Hi All,
    I am using DB2 stored procedure which have been written in COBOL. I have two types of stored procedures. First types of stored procedure takes IN parameter and returns OUT parameter. These stored procedures are working fine. The second type of stored procedure takes IN parameter and returns a CURSOR. According to Database team (who wrote these stored procedure) claims that they can see data in a cursor when they test these stored procedure directly in the database. However, when I run these stored procedures from Java code it returns NULL ResultSet. Here is the code:
    public SearchResult getAllBenefitHEDType(SearchParameter searchParam) throws DAOException {
    log.debug(" getAllBenefitHEDType method - entering ");
    HashMap searchParametersMap = searchParam.getHashMap();
    SearchResult searchResult = new SearchResult();
    String type = (String) searchParametersMap.get(UDFConstant.LOOKUP_SEARCH_TYPE);
    HashMap resultParametersMap = new HashMap();
    ArrayList resultSetDTO = new ArrayList();
    try {
    conn = this.getConnection();
    conn.setAutoCommit(false);
    System.out.println("getAllBenefitHEDType Step 1");
    CallableStatement cs = conn.prepareCall("{call TEST.APS003(?)}"); // Stored Procedure with one IN parameter.
    cs.setString(1,type);
    boolean retVal = cs.execute(); // this should return true if ResultSet is available.. in my case it is returning false.
    // I tried with getting the Object
    ResultSet rs = (ResultSet) cs.getObject(1); // this should give me a valid result set ... in my case I am getting null
    if (rs!=null) {
    System.out.println("getAllBenefitHEDType Step 4A Result Set Not Null");
    } else {
    System.out.println("getAllBenefitHEDType Step 4A Result Set Is Null");
    // I tried getting the resultset
    ResultSet rs1 = cs.getResultSet(); // this should give me a valid result set ... in my case I am getting null
    if (rs1!=null) {
    System.out.println("getAllBenefitHEDType Step 4D Result Set Not Null");
    } else {
    System.out.println("getAllBenefitHEDType Step 4D Result Set Is Null");
    while (rs.next()) {
    System.out.println("getAllBenefitHEDType Step 5");
    LookupDTO lookupDTO = new LookupDTO();
    // the following code populate the Lookup DTOs from ResultSet.

    A few comments...
    1) Creating tables, particularly tables whose names seem to imply that they are temporary tables, on the fly in a stored procedure is a bad idea. That is not the way to work with Oracle, though it is a common practice in other databases like SQL Server. There is undoubtedly a better way to do this in Oracle if you can explain what you're trying to accomplish from a business standpoint.
    2) If you are going to use dynamic SQL, you almost always want to use bind variables, not literals. One of the quickest ways to kill an Oracle database's performance is to not use bind variables.
    3) As has already been mentioned, assuming FH_INICIO is a DATE column, you need to put an explicit TO_DATE around your strings in order to convert them to dates. Otherwise, Oracle's implicit cast depends on the session's NLS_DATE_FORMAT, which is likely to be different in different client applications and from different client machines.
    Justin

  • Intergration with DB2 stored procedure

    I am using Database adapter to integrate with DB2(version 8) to call a stored procedure,however i receive a message "The adapter configurationwizard doesnot support DB2 stored procedures."
    I am using Jdeveloper 11g.Is there any work around or any other standard method for this.
    Thanks in advance...

    Hi,
    All explanation on Oracle note 1270851.1
    Arik

  • Backup/restore procedures

    We've got a user that accidently deleted sub pages.
    What kind of backup/restore procedures could be
    followed to allow us to selectively restore not only
    page groups, but sub-pages, etc. We'd like to get
    granular on this.
    What is recommended procedure?
    Charlie ;)

    This is exactly the situation we are having. We need a comprehensive backup/restore strategy that will not require a restore of the whole database! Have you gotten any information on this topic that you'd like to share?
    Thanks,
    Ted

  • Calling db2 stored procedures from wls 8.1 sp2

    Hi,
    We noticed strange behaviour when moving customers applications from wls 6.1 to 8.1 sp2. We have a use case where we call db2 stored procedure two times (same prcedure) to make inserts to a database. The first time when procedure is called, everything goes smoothly but at the second time db2 claims that statement is not prepared and gives us sql error sql0518n.
    We do see this error only if we use wls prepared statement cache and without cache (size=0) everything seems to work. We also did some db2 level tracing and noticed that statement is not prepared when using wls cache and db2 cannot execute statement which is not prepared....
    Why I'm asking this? because this is the first time I had disable wls cache. We have used it and even optimized software performance using prepared statement cache in several projects before this.
    Procedure call is done from web container lavel and no EJBs is used. We have tested the use case using autommit option and also committed firts transaction manually and closed connection.
    We are using DB2 8.2 fp7 as a database and IBM level 2 JDBC driver without XA support. Honor global transactions support is on at a datasource.
    Is this normal behaviour? Db2 problem or maybe WLS problem?
    Regards,
    Mika

    I am getting the same exception about an assertion failed at weblogic.t3.srvr.T3Srvr.checkServerLock. Any ideas?

  • Calling DB2 Stored Procedures

    Hi,
    Following is my question.
    From Forte, How to call to a DB2 stored procedure which acceptsparameters?.
    If anybody knows the answer please mail me to [email protected]
    Thank U in Advance
    Ram

    You might want to look into the documentation for the Oracle Transparent Gateway product for DB2. That should let you link to DB2 data from your Oracle database & stored procedures.
    Justin Cave

  • Converting DB2 stored procedure to Oracle?

    I need a little help with a problem I ran across this week. I have an existing DB2 Stored procedure that calls a COBOL program. (See the procedure below). Now, I need to convert this DB2 to an Oracle Stored Procedure. I need the procedure to call the same COBOL program that this DB2 procedure does. Is it possible in Oracle? Do I need to write a Java wrapper class instead? Please help!!
    CREATE PROCEDURE CO_CASEINFORMATION (
    IN PARM1 CHAR(006) FOR SBCS DATA CCSID EBCDIC ,
    IN PARM2 CHAR(018) FOR SBCS DATA CCSID EBCDIC ,
    IN PARM3 CHAR(004) FOR SBCS DATA CCSID EBCDIC ,
    IN PARM4 CHAR(008) FOR SBCS DATA CCSID EBCDIC ,
    IN PARM5 CHAR(026) FOR SBCS DATA CCSID EBCDIC
    LANGUAGE COBOL
    EXTERNAL NAME COSP183
    COLLID CACSDEV9
    PARAMETER STYLE GENERAL
    NOT DETERMINISTIC
    MODIFIES SQL DATA
    WLM ENVIRONMENT CACSDEV9
    STAY RESIDENT YES
    RESULT SETS 01
    ;

    Although I've never done that with COBOL, the documentation says it is possible to call an external COBOL procedure from within Oracle, without a Java wrapper class.
    The way to do it is to rebuild your COBOL program with the Pro*COBOL pre-compiler.
    Read the Pro*COBOL Programmer's Guide for more details.

  • Error while DB2 Restore

    While doing DB2 Restore on one of our system we are facing the below error,
    SQL0902C  A system error (reason code = "200") occurred.  Subsequent SQL
    statements cannot be processed.  SQLSTATE=58005
    Any help would be of great use.
    Thanks,
    Deepak

    Below is the description of DB2diag
    2010-04-26-09.28.32.111000+330 E10008804F402      LEVEL: Severe
    PID     : 5500                 TID  : 6704        PROC : db2bp.exe
    INSTANCE: DB2SEP               NODE : 000
    FUNCTION: DB2 UDB, database utilities, sqludValidateParameters, probe:1961
    DATA #1 : Sqlcode, PD_TYPE_SQLCODE, 4 bytes
    -2008
    DATA #2 : Hexdump, 4 bytes
    0x0000000001EC1358 : 28F8 FFFF                                  (...
    2010-04-26-09.28.32.204000+330 E10009208F806      LEVEL: Severe
    PID     : 5500                 TID  : 6704        PROC : db2bp.exe
    INSTANCE: DB2SEP               NODE : 000
    FUNCTION: DB2 UDB, database utilities, sqludValidateParameters, probe:1961
    MESSAGE : SQL2008N  The callerac parameter is not within valid range or the
              requested action is out of sequence.
    DATA #1 : SQLCA, PD_DB2_TYPE_SQLCA, 136 bytes
    sqlcaid : SQLCA     sqlcabc: 136   sqlcode: -2008   sqlerrml: 0
    sqlerrmc:
    sqlerrp : sqludVal
    sqlerrd : (1) 0x00000000      (2) 0x00000000      (3) 0x00000000
               (4) 0x00000000      (5) 0x00000000      (6) 0x00000000
    sqlwarn : (1)      (2)      (3)      (4)        (5)       (6)   
               (7)      (8)      (9)      (10)        (11)    
    sqlstate:     
    2010-04-26-09.33.11.867000+330 I10010016F371      LEVEL: Warning
    PID     : 4704                 TID  : 6196        PROC : db2syscs.exe
    INSTANCE: DB2SEP               NODE : 000
    APPHDL  : 0-87                 APPID: *LOCAL.DB2SEP.100426040311
    AUTHID  : DB2SEP 
    FUNCTION: DB2 UDB, relation data serv, sqlrr_db_init, probe:100
    MESSAGE : DB2_IMPLICIT_UNICODE enabled
    2010-04-26-09.33.11.883000+330 E10010389F435      LEVEL: Info
    PID     : 4704                 TID  : 6196        PROC : db2syscs.exe
    INSTANCE: DB2SEP               NODE : 000         DB   : SEP
    APPHDL  : 0-87                 APPID: *LOCAL.DB2SEP.100426040311
    AUTHID  : DB2SEP 
    FUNCTION: DB2 UDB, database utilities, sqluxGetDegreeParallelism, probe:481
    DATA #1 : <preformatted>
    Autonomic backup/restore - using parallelism = 2.
    2010-04-26-09.33.14.098000+330 I10010826F315      LEVEL: Warning
    PID     : 4704                 TID  : 6332        PROC : db2syscs.exe
    INSTANCE: DB2SEP               NODE : 000
    FUNCTION: DB2 UDB, database utilities, sqluMCReadMediaHeader, probe:2116
    MESSAGE : Transfer buffer size was changed from 0 to 4194304
    2010-04-26-09.33.14.098000+330 E10011143F434      LEVEL: Info
    PID     : 4704                 TID  : 6196        PROC : db2syscs.exe
    INSTANCE: DB2SEP               NODE : 000         DB   : SEP
    APPHDL  : 0-87                 APPID: *LOCAL.DB2SEP.100426040311
    AUTHID  : DB2SEP 
    FUNCTION: DB2 UDB, database utilities, sqludPrintStartingMsg, probe:1630
    DATA #1 : <preformatted>
    Starting a full database restore.
    Agent PID: 6196
    2010-04-26-09.33.14.098000+330 E10011579F499      LEVEL: Warning
    PID     : 4704                 TID  : 6196        PROC : db2syscs.exe
    INSTANCE: DB2SEP               NODE : 000         DB   : SEP
    APPHDL  : 0-87                 APPID: *LOCAL.DB2SEP.100426040311
    AUTHID  : DB2SEP 
    FUNCTION: DB2 UDB, database utilities, sqluCompareDB, probe:149
    DATA #1 : Sqlcode, PD_TYPE_SQLCODE, 4 bytes
    2539
    DATA #2 : Hexdump, 4 bytes
    0x000000002DD25780 : EB09 0000                                  ....
    2010-04-26-09.33.14.114000+330 E10012080F950      LEVEL: Warning
    PID     : 4704                 TID  : 6196        PROC : db2syscs.exe
    INSTANCE: DB2SEP               NODE : 000         DB   : SEP
    APPHDL  : 0-87                 APPID: *LOCAL.DB2SEP.100426040311
    AUTHID  : DB2SEP 
    FUNCTION: DB2 UDB, database utilities, sqluCompareDB, probe:149
    MESSAGE : SQL2539W  Warning!  Restoring to an existing database that is the
              same as the backup image database.  The database files will be
              deleted.
    DATA #1 : SQLCA, PD_DB2_TYPE_SQLCA, 136 bytes
    sqlcaid : SQLCA     sqlcabc: 136   sqlcode: 2539   sqlerrml: 0
    sqlerrmc:
    sqlerrp : sqluComp
    sqlerrd : (1) 0x00000000      (2) 0x00000000      (3) 0x00000000
               (4) 0x00000000      (5) 0x00000000      (6) 0x00000000
    sqlwarn : (1)      (2)      (3)      (4)        (5)       (6)   
               (7)      (8)      (9)      (10)        (11)    
    sqlstate:     
    2010-04-26-09.33.20.307000+330 E10013032F463      LEVEL: Info
    PID     : 4704                 TID  : 6196        PROC : db2syscs.exe
    INSTANCE: DB2SEP               NODE : 000         DB   : SEP
    APPHDL  : 0-87                 APPID: *LOCAL.DB2SEP.100426040311
    AUTHID  : DB2SEP 
    FUNCTION: DB2 UDB, database utilities, sqluxGetAvailableHeapPages, probe:592
    DATA #1 : <preformatted>
    Autonomic BAR - heap consumption.
    Targetting (90%) - 117921 of 131024 pages.
    2010-04-26-09.33.20.323000+330 E10013497F450      LEVEL: Info
    PID     : 4704                 TID  : 6196        PROC : db2syscs.exe
    INSTANCE: DB2SEP               NODE : 000         DB   : SEP
    APPHDL  : 0-87                 APPID: *LOCAL.DB2SEP.100426040311
    AUTHID  : DB2SEP 
    FUNCTION: DB2 UDB, database utilities, sqludTuneBuffers, probe:843
    DATA #1 : <preformatted>
    Autonomic restore - tuning enabled.
    Using buffer size = 4096, number = 4.
    2010-04-26-11.49.12.810000+330 I10017267F368      LEVEL: Warning
    PID     : 4704                 TID  : 4440        PROC : db2syscs.exe
    INSTANCE: DB2SEP               NODE : 000
    APPHDL  : 0-94                 APPID: *LOCAL.DB2SEP.100426061913
    AUTHID  : DB2SEP 
    FUNCTION: DB2 UDB, base sys utilities, sqleCheckForRestore, probe:10
    RETCODE : ZRC=0xFFFFFBA1=-1119
    2010-04-26-11.49.12.904000+330 I10017637F376      LEVEL: Warning
    PID     : 4704                 TID  : 4440        PROC : db2syscs.exe
    INSTANCE: DB2SEP               NODE : 000
    APPHDL  : 0-94                 APPID: *LOCAL.DB2SEP.100426061913
    AUTHID  : DB2SEP 
    FUNCTION: DB2 UDB, base sys utilities, sqlePrepareForSerialization, probe:20
    RETCODE : ZRC=0xFFFFFBA1=-1119
    2010-04-26-11.49.12.904000+330 I10018015F356      LEVEL: Severe
    PID     : 4704                 TID  : 4440        PROC : db2syscs.exe
    INSTANCE: DB2SEP               NODE : 000
    APPHDL  : 0-94                 APPID: *LOCAL.DB2SEP.100426061913
    AUTHID  : DB2SEP 
    FUNCTION: DB2 UDB, base sys utilities, sqleserl, probe:10
    RETCODE : ZRC=0xFFFFFBA1=-1119
    2010-04-26-11.49.12.950000+330 I10018373F368      LEVEL: Warning
    PID     : 4704                 TID  : 4440        PROC : db2syscs.exe
    INSTANCE: DB2SEP               NODE : 000
    APPHDL  : 0-95                 APPID: *LOCAL.DB2SEP.100426061914
    AUTHID  : DB2SEP 
    FUNCTION: DB2 UDB, base sys utilities, sqleCheckForRestore, probe:10
    RETCODE : ZRC=0xFFFFFBA1=-1119
    2010-04-26-11.49.12.950000+330 I10018743F376      LEVEL: Warning
    PID     : 4704                 TID  : 4440        PROC : db2syscs.exe
    INSTANCE: DB2SEP               NODE : 000
    APPHDL  : 0-95                 APPID: *LOCAL.DB2SEP.100426061914
    AUTHID  : DB2SEP 
    FUNCTION: DB2 UDB, base sys utilities, sqlePrepareForSerialization, probe:20
    RETCODE : ZRC=0xFFFFFBA1=-1119
    2010-04-26-11.49.12.950000+330 I10019121F356      LEVEL: Severe
    PID     : 4704                 TID  : 4440        PROC : db2syscs.exe
    INSTANCE: DB2SEP               NODE : 000
    APPHDL  : 0-95                 APPID: *LOCAL.DB2SEP.100426061914
    AUTHID  : DB2SEP 
    FUNCTION: DB2 UDB, base sys utilities, sqleserl, probe:10
    RETCODE : ZRC=0xFFFFFBA1=-1119
    2010-04-26-12.54.12.273000+330 I10019479F368      LEVEL: Warning
    PID     : 4704                 TID  : 4440        PROC : db2syscs.exe
    INSTANCE: DB2SEP               NODE : 000
    APPHDL  : 0-97                 APPID: *LOCAL.DB2SEP.100426072413
    AUTHID  : DB2SEP 
    FUNCTION: DB2 UDB, base sys utilities, sqleCheckForRestore, probe:10
    RETCODE : ZRC=0xFFFFFBA1=-1119
    2010-04-26-12.54.12.383000+330 I10019849F376      LEVEL: Warning
    PID     : 4704                 TID  : 4440        PROC : db2syscs.exe
    INSTANCE: DB2SEP               NODE : 000
    APPHDL  : 0-97                 APPID: *LOCAL.DB2SEP.100426072413
    AUTHID  : DB2SEP 
    FUNCTION: DB2 UDB, base sys utilities, sqlePrepareForSerialization, probe:20
    RETCODE : ZRC=0xFFFFFBA1=-1119
    2010-04-26-12.54.12.383000+330 I10020227F356      LEVEL: Severe
    PID     : 4704                 TID  : 4440        PROC : db2syscs.exe
    INSTANCE: DB2SEP               NODE : 000
    APPHDL  : 0-97                 APPID: *LOCAL.DB2SEP.100426072413
    AUTHID  : DB2SEP 
    FUNCTION: DB2 UDB, base sys utilities, sqleserl, probe:10
    RETCODE : ZRC=0xFFFFFBA1=-1119
    2010-04-26-12.54.12.414000+330 I10020585F368      LEVEL: Warning
    PID     : 4704                 TID  : 4440        PROC : db2syscs.exe
    INSTANCE: DB2SEP               NODE : 000
    APPHDL  : 0-98                 APPID: *LOCAL.DB2SEP.100426072414
    AUTHID  : DB2SEP 
    FUNCTION: DB2 UDB, base sys utilities, sqleCheckForRestore, probe:10
    RETCODE : ZRC=0xFFFFFBA1=-1119
    2010-04-26-12.54.12.414000+330 I10020955F376      LEVEL: Warning
    PID     : 4704                 TID  : 4440        PROC : db2syscs.exe
    INSTANCE: DB2SEP               NODE : 000
    APPHDL  : 0-98                 APPID: *LOCAL.DB2SEP.100426072414
    AUTHID  : DB2SEP 
    FUNCTION: DB2 UDB, base sys utilities, sqlePrepareForSerialization, probe:20
    RETCODE : ZRC=0xFFFFFBA1=-1119
    2010-04-26-12.54.12.414000+330 I10021333F356      LEVEL: Severe
    PID     : 4704                 TID  : 4440        PROC : db2syscs.exe
    INSTANCE: DB2SEP               NODE : 000
    APPHDL  : 0-98                 APPID: *LOCAL.DB2SEP.100426072414
    AUTHID  : DB2SEP 
    FUNCTION: DB2 UDB, base sys utilities, sqleserl, probe:10
    RETCODE : ZRC=0xFFFFFBA1=-1119
    2010-04-26-13.54.12.745000+330 I10021691F368      LEVEL: Warning
    PID     : 4704                 TID  : 4440        PROC : db2syscs.exe
    INSTANCE: DB2SEP               NODE : 000
    APPHDL  : 0-100                APPID: *LOCAL.DB2SEP.100426082413
    AUTHID  : DB2SEP 
    FUNCTION: DB2 UDB, base sys utilities, sqleCheckForRestore, probe:10
    RETCODE : ZRC=0xFFFFFBA1=-1119
    2010-04-26-13.54.12.839000+330 I10022061F376      LEVEL: Warning
    PID     : 4704                 TID  : 4440        PROC : db2syscs.exe
    INSTANCE: DB2SEP               NODE : 000
    APPHDL  : 0-100                APPID: *LOCAL.DB2SEP.100426082413
    AUTHID  : DB2SEP 
    FUNCTION: DB2 UDB, base sys utilities, sqlePrepareForSerialization, probe:20
    RETCODE : ZRC=0xFFFFFBA1=-1119
    2010-04-26-13.54.12.839000+330 I10022439F356      LEVEL: Severe
    PID     : 4704                 TID  : 4440        PROC : db2syscs.exe
    INSTANCE: DB2SEP               NODE : 000
    APPHDL  : 0-100                APPID: *LOCAL.DB2SEP.100426082413
    AUTHID  : DB2SEP 
    FUNCTION: DB2 UDB, base sys utilities, sqleserl, probe:10
    RETCODE : ZRC=0xFFFFFBA1=-1119
    2010-04-26-13.54.12.870000+330 I10022797F368      LEVEL: Warning
    PID     : 4704                 TID  : 4440        PROC : db2syscs.exe
    INSTANCE: DB2SEP               NODE : 000
    APPHDL  : 0-101                APPID: *LOCAL.DB2SEP.100426082414
    AUTHID  : DB2SEP 
    FUNCTION: DB2 UDB, base sys utilities, sqleCheckForRestore, probe:10
    RETCODE : ZRC=0xFFFFFBA1=-1119
    2010-04-26-13.54.12.870000+330 I10023167F376      LEVEL: Warning
    PID     : 4704                 TID  : 4440        PROC : db2syscs.exe
    INSTANCE: DB2SEP               NODE : 000
    APPHDL  : 0-101                APPID: *LOCAL.DB2SEP.100426082414
    AUTHID  : DB2SEP 
    FUNCTION: DB2 UDB, base sys utilities, sqlePrepareForSerialization, probe:20
    RETCODE : ZRC=0xFFFFFBA1=-1119
    2010-04-26-13.54.12.870000+330 I10023545F356      LEVEL: Severe
    PID     : 4704                 TID  : 4440        PROC : db2syscs.exe
    INSTANCE: DB2SEP               NODE : 000
    APPHDL  : 0-101                APPID: *LOCAL.DB2SEP.100426082414
    AUTHID  : DB2SEP 
    FUNCTION: DB2 UDB, base sys utilities, sqleserl, probe:10
    RETCODE : ZRC=0xFFFFFBA1=-1119
    2010-04-26-14.52.56.137000+330 I10023903F350      LEVEL: Error
    PID     : 4704                 TID  : 6332        PROC : db2syscs.exe
    INSTANCE: DB2SEP               NODE : 000
    FUNCTION: DB2 UDB, database utilities, sqluReadFromFileDevice, probe:996
    DATA #2 : Hexdump, 4 bytes
    0x000000002E61F0B8 : C800 0F80                                  ....
    2010-04-26-14.52.56.231000+330 I10024255F467      LEVEL: Warning
    PID     : 4704                 TID  : 6332        PROC : db2syscs.exe
    INSTANCE: DB2SEP               NODE : 000
    FUNCTION: DB2 UDB, database utilities, sqluMCReadFromDevice, probe:1318
    MESSAGE : Media controller -- Problem reading from local device
    192.168.101.101\db2dumpSEP\test (zrc = 0x                                                                               
    800f00c8)
    2010-04-26-14.52.56.231000+330 E10024724F504      LEVEL: Severe
    PID     : 4704                 TID  : 6196        PROC : db2syscs.exe
    INSTANCE: DB2SEP               NODE : 000         DB   : SEP
    APPHDL  : 0-87                 APPID: *LOCAL.DB2SEP.100426040311
    AUTHID  : DB2SEP 
    FUNCTION: DB2 UDB, database utilities, sqludMRResponse, probe:963
    DATA #1 : Sqlcode, PD_TYPE_SQLCODE, 4 bytes
    -902
    DATA #2 : Hexdump, 8 bytes
    0x000000002DD25780 : 7AFC FFFF 3230 3000                        z...200.
    2010-04-26-14.52.56.231000+330 E10025230F906      LEVEL: Severe
    PID     : 4704                 TID  : 6196        PROC : db2syscs.exe
    INSTANCE: DB2SEP               NODE : 000         DB   : SEP
    APPHDL  : 0-87                 APPID: *LOCAL.DB2SEP.100426040311
    AUTHID  : DB2SEP 
    FUNCTION: DB2 UDB, database utilities, sqludMRResponse, probe:963
    MESSAGE : SQL0902C  A system error (reason code = "") occurred.  Subsequent SQL
              statements cannot be processed.
    DATA #1 : SQLCA, PD_DB2_TYPE_SQLCA, 136 bytes
    sqlcaid : SQLCA     sqlcabc: 136   sqlcode: -902   sqlerrml: 3
    sqlerrmc: 200
    sqlerrp : sqludMRR
    sqlerrd : (1) 0x00000000      (2) 0x00000000      (3) 0x00000000
               (4) 0x00000000      (5) 0x00000000      (6) 0x00000000
    sqlwarn : (1)      (2)      (3)      (4)        (5)       (6)   
               (7)      (8)      (9)      (10)        (11)    
    sqlstate:     
    2010-04-26-14.52.56.262000+330 E10026138F375      LEVEL: Severe
    PID     : 4704                 TID  : 6196        PROC : db2syscs.exe
    INSTANCE: DB2SEP               NODE : 000         DB   : SEP
    APPHDL  : 0-87                 APPID: *LOCAL.DB2SEP.100426040311
    AUTHID  : DB2SEP 
    FUNCTION: DB2 UDB, database utilities, sqludrsa, probe:901
    MESSAGE : Restore Terminated.
    Thanks,
    Deepak

  • How do I call a DB2 Stored procedure?

    I am having problems trying to call a DB2 stored procedure.
    I am using the Service: Foundation -> JDBC 1.0 -> Call Stored Procedure.
    Stored procedure I am calling is (with 4 input params):
    CALL DB2D.SYSPROC.REGC1389(?, ?, ?, ?,
    {$ /process_data/@Name_Full $},
    {$ /process_data/@Name_Title $},
    {$ /process_data/@Name_Last $},
    {$ /process_data/@Name_Middle $},
    {$ /process_data/@Name_First $},
    {$ /process_data/@Name_Suffix $},
    {$ /process_data/@Address_1 $},
    {$ /process_data/@Address_2 $},
    {$ /process_data/@Address_3 $},
    {$ /process_data/@Address_City $},
    {$ /process_data/@Address_State $},
    {$ /process_data/@Address_Zip $},
    {$ /process_data/@ex_Code $},
    {$ /process_data/@Birthdate $},
    {$ /process_data/@ID_TypeCode_1 $},
    {$ /process_data/@ID_Number_1 $},
    {$ /process_data/@ID_TypeCode_2 $},
    {$ /process_data/@ID_Number_2 $},
    {$ /process_data/@ID_TypeCode_5 $},
    {$ /process_data/@ID_Number_5 $},
    {$ /process_data/@ID_TypeCode_6 $},
    {$ /process_data/@ID_Number_6 $},
    {$ /process_data/@ID_TypeCode_7 $},
    {$ /process_data/@ID_Number_7 $},
    {$ /process_data/@ID_TypeCode_8 $},
    {$ /process_data/@ID_Number_8 $},
    {$ /process_data/@ID_TypeCode_9 $},
    {$ /process_data/@ID_Number_9 $},
    {$ /process_data/@ID_TypeCode_10 $},
    {$ /process_data/@ID_Number_10 $},
    {$ /process_data/@ID_TypeCode_11 $},
    {$ /process_data/@ID_Number_11 $},
    {$ /process_data/@ID_TypeCode_12 $},
    {$ /process_data/@ID_Number_12 $},
    {$ /process_data/@ID_TypeCode_13 $},
    {$ /process_data/@ID_Number_13 $},
    {$ /process_data/@ID_TypeCode_14 $},
    {$ /process_data/@ID_Number_14 $},
    {$ /process_data/@ID_TypeCode_15 $},
    {$ /process_data/@ID_Number_15 $},
    {$ /process_data/@ID_TypeCode_16 $},
    {$ /process_data/@ID_Number_16 $},
    {$ /process_data/@ID_TypeCode_17 $},
    {$ /process_data/@ID_Number_17 $},
    {$ /process_data/@ID_TypeCode_18 $},
    {$ /process_data/@ID_Number_18 $},
    {$ /process_data/@Return_Code $},
    {$ /process_data/@SQL_RTNC $},
    {$ /process_data/@SQL_StateCode $},
    {$ /process_data/@SQL_Errmsg $});
    (I can call this same stored proc in ColdFusion, so the procedure does work.)
    The error message I get when I invoke it is:
    =======================================
    ALC-DSC-005-000: com.adobe.idp.dsc.DSCNotSerializableException: Not Serializable
    Caused by: ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.
    at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.transientInvoke(WorkflowDSCInvoker. java:367)
    at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.invoke(WorkflowDSCInvoker.java:157)
    at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:342)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doRequiresNew (EjbTransactionCMTAdapterBean.java:284)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EJSLocalStatelessEjbTransactionCMTAdapter_ caf58c4f.doRequiresNew(Unknown Source)
    at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:143)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:102)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)
    at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:118)
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.invoke(AbstractMessageReceiv er.java:315)
    at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invokeCall(SoapSdkEndpoint. java:138)
    at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invoke(SoapSdkEndpoint.java :81)
    at sun.reflect.GeneratedMethodAccessor171.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:618)
    at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
    at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
    at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
    at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
    at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1096)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1037)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
    at com.adobe.idp.dsc.provider.impl.soap.axis.InvocationFilter.doFilter(InvocationFilter.java :43)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java: 190)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:832)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:679)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:566)
    at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
    at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.jav a:90)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
    at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1466)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:119)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink .java:458)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink .java:387)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConn ectionInitialReadCallback.java:214)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitia lReadCallback.java:113)
    at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionLi stener.java:165)
    at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
    at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
    at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
    at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
    at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
    at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
    Caused by: java.lang.RuntimeException: String Literal support for procedure calls to DB2/390 is disabled.  Failing SQL text CALL DB2D.SYSPROC.REGC1389(?, ?, ?, ?,
    at com.adobe.workflow.engine.PEUtil.invokeAction(PEUtil.java:837)
    at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.transientInvoke(WorkflowDSCInvoker. java:346)
    ... 66 more
    Caused by: java.lang.RuntimeException: String Literal support for procedure calls to DB2/390 is disabled.  Failing SQL text CALL DB2D.SYSPROC.REGC1389(?, ?, ?, ?,
    at com.adobe.idp.dsc.jdbc.helper.StoredProcedureHelper.callStoredProcedure(StoredProcedureHe lper.java:115)
    at com.adobe.idp.dsc.jdbc.JDBCService.callStoredProcedure(JDBCService.java:660)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:618)
    at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
    at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doBMT(EjbTran sactionBMTAdapterBean.java:197)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EJSLocalStatelessEjbTransactionBMTAdapter_ 3af08fdf.doBMT(Unknown Source)
    at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:95)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:132)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)
    at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:118)
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:91)
    at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:21 5)
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:57)
    at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
    at com.adobe.workflow.engine.PEUtil.invokeAction(PEUtil.java:724)
    ... 67 more
    Caused by: com.ibm.db2.jcc.c.SqlException: String Literal support for procedure calls to DB2/390 is disabled.  Failing SQL text CALL DB2D.SYSPROC.REGC1389(?, ?, ?, ?,
    at com.ibm.db2.jcc.c.ig.i(ig.java:2531)
    at com.ibm.db2.jcc.c.jg.b(jg.java:292)
    at com.ibm.db2.jcc.c.jg.<init>(jg.java:263)
    at com.ibm.db2.jcc.c.kg.<init>(kg.java:72)
    at com.ibm.db2.jcc.a.fc.<init>(fc.java:91)
    at com.ibm.db2.jcc.a.b.b(b.java:1959)
    at com.ibm.db2.jcc.c.p.a(p.java:2317)
    at com.ibm.db2.jcc.c.p.prepareCall(p.java:1909)
    at com.ibm.db2.jcc.c.nc.prepareCall(nc.java:246)
    at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.pmiPrepareCall(WSJdbcConnection.java:1832)
    at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.prepareCall(WSJdbcConnection.java:1959)
    at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.prepareCall(WSJdbcConnection.java:1914)
    at com.adobe.idp.dsc.jdbc.helper.StoredProcedureHelper.callStoredProcedure(StoredProcedureHe lper.java:105)
    ... 96 more
    at com.adobe.idp.dsc.provider.impl.base.AbstractResponseHolder.handleException(AbstractRespo nseHolder.java:136)
    at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkBindingStubUtil.deSerializeResponse( SoapSdkBindingStubUtil.java:122)
    at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapAxisDispatcher.doSend(SoapAxisDispatche r.java:128)
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:57)
    at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
    at com.adobe.common.utils.invoke.InvokeWithProgressRunner.invokeServiceOperation(InvokeWithP rogressRunner.java:170)
    at com.adobe.common.utils.invoke.InvokeWithProgressRunner.run(InvokeWithProgressRunner.java: 97)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    =======================================
    I am using the JDBC Provider: DB2 Universal JDBC Provider
    Implementation class name : com.ibm.db2.jcc.DB2ConnectionPoolDataSource
    For the Data source : DB2D
    Data store helper class name:Data store helper classes provided by WebSphere Application Server
    This is my first attempt at calling a DB2 stored procedure, so any tips on how to make it work would be appreciated.
    Thanks
    Jim

    Jasmin,
    Thanks for the "db2.jcc.supportZosSpLiterals=yes" configuration property suggestion.
    I worked with our WebSphere support team to set this property.  We set it as a Custom Property in the data source.
    The DB2 driver version is higher then the APAR which supports this property, but it doesn't seem to recognize it.
    [8/28/09 11:15:42:775 CDT] 0000003f DSConfigurati W DSRA8200W: DataSource Configuration: DSRA8020E: Warning: The property 'supportZosSpLiterals' does not exist on the DataSource class com.ibm.db2.jcc.DB2ConnectionPoolDataSource.
    [8/28/09 11:15:43:337 CDT] 0000003f InternalDB2Un I DSRA8203I: Database product name : DB2
    [8/28/09 11:15:43:353 CDT] 0000003f InternalDB2Un I DSRA8204I: Database product version : DSN08015
    [8/28/09 11:15:43:353 CDT] 0000003f InternalDB2Un I DSRA8205I: JDBC driver name : IBM DB2 JDBC Universal Driver Architecture
    [8/28/09 11:15:43:353 CDT] 0000003f InternalDB2Un I DSRA8206I: JDBC driver version : 2.11.24
    [8/28/09 11:15:43:369 CDT] 0000003f InternalDB2Un I DSRA8212I: DataStoreHelper name is: [email protected]
    [8/28/09 11:15:43:384 CDT] 0000003f WSRdbDataSour I DSRA8208I: JDBC driver type : 4
    Are we setting the property in the right place?  What version of the DB2 driver is needed for this property?  Any other tips?
    Thanks
    Jim

  • HT201401 my 3GS was dropped into water. Is there any way to recover? It will power up and I went through the restore procedure but nothing from there. help!!

    My 3GS was dropped into water-is there anything I c an do to save it? It will power up and I put it through the restore procedure, which it seemed to respond to, but it still won't work. HELP!!

    It is very likly dead.

  • Restore procedures of 2 node RAC

    I have 2 node RAC running 11gr2 (11.2.0.2), linux RHEL 5.x in my test server using Oracle VM. This set up has 5 diskgroups in ASM (ocrvote1, ocrvote2, ocrvote3), data, fra. Both data and fra are in externally redundancy and ocrvote1-3 in normal redundancy. As i'm getting ready to test the recovery procedures of the whole setup, I wanted to check here to see, if i have covered the necessary bits and not missing anything obvious.
    I will be taking full backup of database and md_backup of disk groups prior to testing these procedures. Below is the list of procedures i had come up, for getting the system restored in shortest time frame. If you think i can cut-down the time even further, would appreciate your inputs.
    -- Install OS via jump start on all nodes.
    -- Partition disks same set of disk and give similar names as before.
    -- Stamp disks with asmlib and present them to all nodes
    -- Install GI and RDBMS homes
    -- Bring up ASM with OCRVOTE diskgroup on all nodes. OCR and voting disks will be created as part of ASM setup.
    -- Restore data and fra dg from backup using md_restore
    -- Restore latest backup from tapes or disk in to FRA
    -- Restore and Recover database via Rman.
    Thanks
    Steve

    Very good point Sebastian. I guess i need to replace OCR created from new GI cluster install with OCR from backup right, unless you say i can restore OCR from backup while building the new GI cluster. If so, can you point to me to link or documentation in doing so.
    I was also thinking about using clones of GI and RDBMS home instead of making fresh install as part of the restore procedures. Is that an option?
    If i have all the storage partitions intact from previous install and if have to restore the system without any data loss, anything different i should be doing here.
    Steve

Maybe you are looking for