Reset SAP* user in DB2 database

hi gurus,
Can anyone give me instructions or commands on how to reset sap* password in the database level? we are using db2 ver. 9 database. I am familiar how it is being done in oracle but one of our client is using DB2 and there, we encountered the problem.
Pls. advise.
Best regards,
Jay

Hi
First make sure that the parameter
<b>login/no_automatic_user_sapstar is set to 0 (false)</b>
otherwise you will not be able to login using SAP* by the default password "<b>pass</b>". So make this sure before carrying out the following activity:
Log on to the database with userid <b>ora<sid></b> and
execute the following SQL:
<b>delete from sap<SID>.usr02 where bname='sap*' and mandt='XXX';</b>
<b>commit;</b>
Once this is done check the entry again in the table usr02.
Now try to log into the corresopnding client with user "<b>sap*</b>" and password "<b>pass</b>".
This is how you can reset SAP* user at the database level.
Regards,
Sumit

Similar Messages

  • SAP MDM on DB2 database

    Hi All,
    We are trying to install MDM with DB2 Database (10.1).
    We are following the guide provided (https://websmp106.sap-ag.de/~sapidb/011000358700000059322011E)
    Now while granting the privileges to the user db2mdm we are facing below issues.
    Error:
    C:\Windows\system32>db2 GRANT CONNECT, BINDADD, CREATETAB, IMPLICIT_SCHEMA, LOAD
    , CREATE_EXTERNAL_ROUTINE ON DATABASE TO USER db2mdm
    DB21034E  The command was processed as an SQL statement because it was not a
    valid Command Line Processor command.  During SQL processing it returned:
    SQL0554N  An authorization ID cannot grant a privilege or authority to itself.
    SQLSTATE=42502
    I know that we cannot assign authorization to the same user which is executing the command, but the question is what is the way around as we have tried creating users and then trying to assign authorization via them but it is failing.
    I am not sure how this is going to work when the document is asking to do the same.
    db2 –tvf grant_revoke.sql
    CONNECT TO MDM;
    GRANT SELECT ON SYSIBM.SYSTABLES TO USER db2mdm ;
    GRANT SELECT ON SYSIBM.SYSCOLUMNS TO USER db2mdm ;
    GRANT SELECT ON SYSIBM.SYSINDEXES TO USER db2mdm ;
    GRANT SELECT ON SYSIBM.SYSPLAN TO USER db2mdm ;
    GRANT SELECT ON SYSIBM.SYSVIEWS TO USER db2mdm ;
    GRANT UPDATE ON SYSCAT.INDEXES TO USER db2mdm ;
    GRANT UPDATE ON SYSCAT.TABLES TO USER db2mdm ;
    GRANT UPDATE ON SYSCAT.COLUMNS TO USER db2mdm ;
    GRANT CONNECT, BINDADD, CREATETAB, IMPLICIT_SCHEMA, LOAD,
    CREATE_EXTERNAL_ROUTINE ON DATABASE TO USER db2mdm ;
    GRANT DBADM ON DATABASE TO USER db2mdm ;
    Please suggest as I am sure many of you may have faced this issue.
    Thanks,
    Sharib Tasneem

    Hi Sharib,
    Have you tried to logon as a different user who belongs to the db2admns group and run the command again?
    This should be very simple to fix.
    Regards, Juan

  • Sorting Order for SAP Tables in DB2 database

    Dear Experts -
    ISSUE: When an ABAP program selects data from the DB into an internal
    table, it is changing the way the data is sorted. In other words, the
    internal table data is in a different sort order than what is in the
    DB. It is not working this way in all other non-production systems
    (DEV, QAS, SAX, etc).
    Temporary solution for the programs that have been identified as
    impacted: Use the ABAP Command 'sort' on the internal table.
    Permanent solution needed : Since it is impossible to identify all
    of the programs that will be impacted, we need PRD to work like DEV,
    QAS, SAX, etc. when selecting data into internal tables. The data
    should be in the same order as it is in the DB (sorted by the key).
    ADDITIONAL INFO: DB2 storage disks crashed a day before. H/W team recovered everything. We are facing this only after the recovery.
    Thanks,
    Dinesh

    can you please check in your code if the sql that is being sent has an order by clause .
    Please let us know the SQL statements that is basically used to fill up the internal table.
    When data is fetched from the database, it is not sorted always. Probably you had a clustered index on the tables and the clustering is not there now.
    Edited by: Ratnajit Dey on Dec 16, 2011 1:56 PM

  • Saving Data in SAP and DB2 database

    Hi All,
    I have an SAP application in which 10 fields are there for the user to enter. Out this 10 fields i need to save 5 fields in SAP database and another 5 in DB2 database.Please help me how to achieve this.
    Regards
    VEnk@

    Hi Jesse,
      The Citadel database is not a relational database.  It's highly optimized for storing lower-rate (non-waveform) channel-by-channel, or "trace" measurement data.  Another option you can consider is using DSC and Citadel on the server then writing a utility to export the data from Citdael to an SQL database.  --That would solve the problem of having to write a logger application from scratch.  You would only have to write the relatively simple application to export the data from Citadel and import it into a relational database.
      You could accomplish this two ways.  First, DSC includes a set of VIs that will retrieve historical data from Ciatdel.  You could use LabVIEW to parse this data and write it to a table in a relational database.  Second, Citadel actually includes a locally accessible ODBC interface.  (You can query Citadel using an SQL query from the local computer).  You could query Citadel using this interface, then write the result to a table in a relational database.
      To view Citadel in its native format or query a Citadel database using ODBC from a remote comptuer that comptuer would need to have a licensed DSC RTS installed.
    ~~

  • SAP Org Chart: connection error in setting connection to DB2 database

    Dear SAP Experts,
    We have installed SAP staged installation of SAP OrgChart 2.0. We are not in the process of connecting to the DB2 database.
    We encountered the following error as shown below when in the SAPExtractor configuration.
    Destination Database Details
    The extracted SAP tables will be saved in the specified database.
    Connection Failed: Object reference not set to an instance of an object.
    Server Type:  SQL Server Oracle DB2
    Server Name:   .........
    Initial Catalog:   ........
    User Name:   ........
    Password:   .........
    We have already created a database named ExtractedData using the Console center of DB2. Can you help us to check what might caused this connection failure.
    Thanks in advance,
    Angelo
    Accenture Inc.
    SAP BAsis

    Hello Luke,
    I have provided the connection details in Admin Console. I am currently doing the configuration for SAPExtractor under Destination Database details.
    I used the following details:
    Server Type: DB2
    Server Name: UKDCASAP09
    Initial Catalog: EXTDATA
    User Name: db2nks
    Password: ********
    Upon test connection, we get a connection failure message:
    Connection Failed: Object reference not set to an instance of an object.
    From the CDS.log, I got this error message:
    ERROR: DataConnectionProcessor : createDB2NativeConnection : Source {IBM.Data.DB2}: Message {The type initializer for 'IBM.Data.DB2.DB2Connection' threw an exception.}
    I am not sure if this has something to do with the DB2 set-up. I have checked that the instance we created is already running and connected using the db admin user "db2nks"
    Many thanks.
    Angelo
    Accenture Inc.
    SAP Basis

  • AS/400 db2 database asks signon to AS/400 prompt for USER ID and PASSWORD when BO report is refreshed by client users

    Post Author: LalitJoshi
    CA Forum: Publishing
    I have created a report which is using  AS/400 db2 database.Connection is setup in a universe and through Client Access ODBC driver.
    Users are trying to connect AS/400 db2 system through ODBC(Client Access ODBC driver)  and full client BO 6.5.
    It asks for signon to AS/400 prompt for USER ID and PASSWORD when BO report is refreshed by users.
    Is there any way i can avoid the USER ID and PASSWORD as it is not feasible to give database USER ID and PASSWORD to each users.

    > SAPClassNotFoundException:
    > com.ddtek.jdbc.db2.DB2Driver
    It looks like your JDBC driver is not found. Have you deployed the driver to XI?
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10</a>

  • How to unlock DDIC & SAP* user in 000 client-Sybase database

    Dear Experts,
       Accidentally DDIC and SAP* user in 000 client has locked. We are using SYBASE ASE database. I know how to unlock user in other database (eg:update <sid>.USR02 set UFLAG = 0 where BNAME = '<user id>'' and mandt = <clinet number>;).
       what is the equal query in Sybase.
    Thanks, Jyothish

    Hi Jyothish,
    Please try below commands
    Login to Sybase ASE database using
    isql -Usa -S<SID>  ( it will prompt for password)
    use <DBSID>
    To check the account status
    select UFLAG from USR02 where BNAME ='SAP*' and MANDT='000'
    go
    To unlock the account
    update USR02 set UFLAG=0 where BNAME='SAP*' and MANDT='000'
    go
    You may add schema owner SAPSR3.USR02 in the query if above query does not work.
    Hope this helps.
    Regards,
    Deepak Kori

  • Reset SAP GUI passwords for number of users one time

    Dear,
    i need your help in how to Reset SAP GUI passwords for number of users one time, as we have non-SAP users, only ESS users that they are currently using Portal ESS, but we need to reset thier GUI passwords so that they will not be accessing the GUI.
    we need to do it one shot, one time for more than 600 users.
    is there any way?
    thank you

    You can also create an ABAP program which can be used to do a mass user password change.
    Here are the functions that will do what you need
    SUSR_GENERATE_PASSWORD - Generates a Password. Use this function only if you want to do random passwords. Otherwise you can upload your own password.
    BAPI_USER_CHANGE - You can use this BAPI to change just the password of a user
    Here is an example of some abap code. There may be some syntax errors and possible other issues. I just typed this out and didnt check it. You upload a comma delimited file which is the username,password. If the password field is blank the program will generate its own. Hope this helps
    constants: con_comma TYPE c VALUE ','.
    data: it_tab TYPE filetable,
    gd_subrc TYPE i,
    v_filename_string TYPE string,
    p_npass like XU400-NEWCODE.
    DATA: BEGIN OF itab OCCURS 0,
    dLine(40) type c,
    END OF itab.
    DATA: begin of it_Users occurs 0,
    UserID like BAPIBNAME-BAPIBNAME,
    Password Like XUBCODE,
    end of it_Users.
    parameters: p_file like rlgrap-filename default 'c:\users.txt' LOWER CASE.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    *& FILE_OPEN_DIALOG METHOD *
    CALL METHOD cl_gui_frontend_services=>file_open_dialog
    EXPORTING
    window_title = 'Select File'
    default_filename = '*.txt'
    multiselection = ' '
    CHANGING
    file_table = it_tab
    rc = gd_subrc.
    LOOP AT it_tab INTO p_file.
    ENDLOOP.
    v_filename_string = p_file.
    START-OF-SELECTION.
    *& GUI_UPLOAD function *
    Upload file to internal table
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    FILENAME = v_filename_string
    FILETYPE = 'ASC'
    HAS_FIELD_SEPARATOR = 'X'
    TABLES
    DATA_TAB = ITAB
    EXCEPTIONS
    FILE_OPEN_ERROR = 1
    FILE_READ_ERROR = 2
    NO_BATCH = 3
    GUI_REFUSE_FILETRANSFER = 4
    INVALID_TYPE = 5
    NO_AUTHORITY = 6
    UNKNOWN_ERROR = 7
    BAD_DATA_FORMAT = 8
    HEADER_NOT_ALLOWED = 9
    SEPARATOR_NOT_ALLOWED = 10
    HEADER_TOO_LONG = 11
    UNKNOWN_DP_ERROR = 12
    ACCESS_DENIED = 13
    DP_OUT_OF_MEMORY = 14
    DISK_FULL = 15
    DP_TIMEOUT = 16
    OTHERS = 17.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Loop through internal table and split the comma delimited file
    LOOP AT ITAB.
    SPLIT ITAB-dLINE AT con_comma INTO it_Users-UserID
    it_Users-Password.
    APPEND it_Users.
    ENDLOOP.
    LOOP AT it_Users.
    if it_users-Password is initial.
    CALL FUNCTION 'SUSR_GENERATE_PASSWORD'
    IMPORTING
    PASSWORD = p_npass
    else.
    p_npass = it_users-Password.
    endif.
    CALL FUNCTION 'BAPI_USER_CHANGE'
    EXPORTING
    USERNAME = it_users-userid
    PASSWORD = p_npass
    PASSWORDX = 'X'
    TABLES
    RETURN = it_ret2.
    Loop at it_ret2.
    if it_ret2-number = 039.
    write: / 'password changed'.
    else.
    write: / it_ret2-message.
    endif.
    endloop.
    Write: / ''.
    refresh it_ret2.
    ENDLOOP.

  • Reset SAP GUI passwords for number of users

    Dear,
    i need your help in how to Reset SAP GUI passwords for number of users one time, as we have non-SAP users, only ESS users that they are currently using Portal ESS, but we need to reset thier GUI passwords so that they will not be accessing the GUI.
    we need to do it one shot, one time for more than 600 users.
    is there any way?
    thank you

    Hi ,
    We can do it through the LSMW.
    <b>Reminder : Points should be given on answers.</b>

  • SAP Installation with DB2/LINEX  ,User creation error

    Dear All,
       I have started sap installation with DB2/lLinex at the moment i am struggling in step 2:Creating user for sap system
    Error:Invalid password DIAGNOSIS .The password you specified for user db2ec1 is wrong .(CJS -20004 :Invalid password DIAGNOSIS)
    Solution:Enter the correct password .
    Please advice how to correct the issue ..
    Thanks,
    Rajmohan .s

    Hi Dinesh Sadasivan,
    While doing the sap installation please avoid using special character in password. Use the simple password like password123.
    One more thing is that also cross check the password policy from your os admin, like complexity lenth etc. If its there then tell him to temporary disable the policy.
    Regards,
    Kamal

  • Reset or Clear SAP user context by external RFC caller program

    Hello,
    I have a SAP system with performance problems due to a SAP user context starts using a lot of memory.
    This user context comes from an External RFC caller program written in Delphi and which uses the SAP RFC SDK provided by SAPGUI 6.40: SAP Automation library, SAPFuntionsOCX, I mean, using methods in the object "SAPFunctions" in SAPFunctionsOCX in file "wdtfuncU.ocx", in SAPGUI directory.
    Everytime we have performance problems, this RFC SAP user context is using near 1400 Mb of extended memory, although there is a lot of free physical RAM memory available, there are free dialog processes and CPU load is low (no more than 30%).
    This performance problem is solved by closing the external program (written in Delphi) which connects to SAP via RFC.
    This external program works for the warehouse management and connects to SAP several times per minute. Due to connection performance and the high frequency with which this external program must connect to SAP, the connection to SAP is not closed after each call to RFC SAP function modules.
    The extended memory used by this SAP RFC user is growing along time. I detected, using ST03 transaction, that these user sessions have always the same transaction code hash, I mean, although the external programs call the same SAP RFC funcion modules several times (¡¡¡ always clearing the variables at the beginning and at the end of de ABAP code, with ABAP commands like REFRESH and FREE ¡¡¡¡) the technical transaction code is the same and I suppose the user context (in extended memory) is not deleted.
    I think it is better than the external program close the context memory (similar to "/n" okcode in SAPGUI).
    But we don't want to close the connection, because the external program connects to SAP with a high frequency, and the logon process is expensive.
    Is there any way to send something similar to "/n" (end of transaction) from the external program? Is there any command in the SAP RFC SDK library (SAPFuntionsOCX or something similar?
    I cannot find any method to do that in the object "SAPFunctions" in SAPFunctionsOCX in file "wdtfuncU.ocx", in SAPGUI directory.
    Old information for Object Classes "SAPFunctions" in SAPFunctionsOCX in file "wdtfuncU.ocx", in SAPGUI directory, is described in the following URL:
    http://help.sap.com/saphelp_45b/helpdata/en/39/7e00d1ac6011d189c60000e829fbbd/frameset.htm
    But I cannot find anything related to something similar to a "/n" in SAPGUI.
    As I have the SAPGUI installed on my desktop, I can see all SAP RFC classes and methods from Excel, by opening the Visual Basic editor.
    I am only asking a way to send to SAP a command to free the user context used for an open RFC session in order to avoid the memory used to be continuously growing, without having to close the RFC session.
    The external program only calls a certain SAP function module periodically and we want to free the user context between calls without logging off. This is the same, very similar, as if we called that function from SAPGUI and we used "/n" in SAPGUI between calls.
    Anyone can help me?
    Thanks and best regards.

    Hello,
    I don't know if this will solve your problem, but you may be using MF 'RFC_CONNECTION_CLOSE' between each call of you RFC function.
    Regards
    Brice
    Edited by: blsapsdn on Apr 15, 2011 5:27 PM

  • No suitable driver found error while connecting to remote IBM DB2 database.

    While trying to connect to IBM DB2 database on a remote location, though the connection was successful from 'Application Resources', following trace could be recovered while performing 'Run' from 'AppModule':
    ERROR:
    (oracle.jbo.DMLException) JBO-26061: Error while opening JDBC connection.
    ----- Level 1: Detail 0 -----
    (java.sql.SQLException) No suitable driver found for jdbc:as400://XX.XXX.XX.XXX;naming=system;libraries=TEST;translate binary=true;prompt=false
    [891] (oracle.adf.model.bc4j.DataControlFactoryImpl.SyncMode = Immediate
    [892] Creating a new pool resource
    [893] BC4JDeployPlatform: LOCAL
    [894] Propertymanager: skipping reload of file and system based properties
    [895] {{ begin Loading BC4J properties
    [896] -----------------------------------------------------------
    [897] BC4J Property jbo.default.language='en' -->(MetaObjectManager) from System Default
    [898] BC4J Property jbo.default.country='US' -->(MetaObjectManager) from System Default
    [899] Skipping empty Property jbo.default.locale.variant from System Default
    [900] BC4J Property DeployPlatform='LOCAL' -->(SessionImpl) from Client Environment
    [901] Skipping empty Property ConnectionMode from System Default
    [902] Skipping empty Property HostName from System Default
    [903] Skipping empty Property ConnectionPort from System Default
    [904] BC4J Property jbo.locking.mode='optimistic' -->(MetaObjectManager) from Client Environment
    [905] BC4J Property jbo.txn.disconnect_level='0' -->(SessionImpl) from System Default
    [906] Skipping empty Property ApplicationPath from System Default
    [907] BC4J Property AppModuleJndiName='model.AppModule' -->(SessionImpl) from Client Environment
    [908] Skipping empty Property java.naming.security.principal from System Default
    [909] Skipping empty Property java.naming.security.credentials from System Default
    [910] Skipping empty Property jbo.user.principal from System Default
    [911] BC4J Property jbo.simulate.remote='false' -->(SessionImpl) from System Default
    [912] BC4J Property jbo.security.context='oracle.security.jazn' -->(MetaObjectManager) from System Default
    [913] Skipping empty Property jbo.object.marshaller from System Default
    [914] BC4J Property jbo.use.pers.coll='false' -->(SessionImpl) from System Default
    [915] BC4J Property jbo.pers.max.rows.per.node='70' -->(SessionImpl) from System Default
    [916] BC4J Property jbo.pers.max.active.nodes='30' -->(SessionImpl) from System Default
    [917] BC4J Property jbo.validation.threshold='10' -->(SessionImpl) from System Default
    [918] BC4J Property jbo.sparse.array.threshold='20' -->(SessionImpl) from System Default
    [919] Skipping empty Property jbo.pcoll.mgr from System Default
    [920] BC4J Property jbo.txn_table_name='PS_TXN' -->(SessionImpl) from System Default
    [921] BC4J Property jbo.txn_seq_name='PS_TXN_seq' -->(SessionImpl) from System Default
    [922] BC4J Property jbo.txn_seq_inc='50' -->(SessionImpl) from System Default
    [923] BC4J Property jbo.control_table_name='PCOLL_CONTROL' -->(MetaObjectManager) from System Default
    [924] BC4J Property jbo.stringmanager.factory.class='use_default' -->(SessionImpl) from System Default
    [925] BC4J Property jbo.domain.date.suppress_zero_time='true' -->(MetaObjectManager) from System Default
    [926] BC4J Property jbo.domain.bind_sql_date='true' -->(MetaObjectManager) from System Default
    [927] BC4J Property jbo.domain.string.as.bytes.for.raw='false' -->(MetaObjectManager) from System Default
    [928] BC4J Property jbo.fetch.mode='AS.NEEDED' -->(MetaObjectManager) from System Default
    [929] BC4J Property jbo.323.compatible='false' -->(MetaObjectManager) from System Default
    [930] BC4J Property jbo.903.compatible='false' -->(MetaObjectManager) from System Default
    [931] Skipping empty Property JBODynamicObjectsPackage from System Default
    [932] BC4J Property MetaObjectContextFactory='oracle.jbo.mom.xml.DefaultMomContextFactory' -->(MetaObjectManager) from System Default
    [933] BC4J Property jbo.load.components.lazily='false' -->(MetaObjectManager) from System Default
    [934] BC4J Property MetaObjectContext='oracle.jbo.mom.xml.XMLContextImpl' -->(MetaObjectManager) from System Default
    [935] BC4J Property java.naming.factory.initial='oracle.jbo.common.JboInitialContextFactory' -->(SessionImpl) from Client Environment
    [936] BC4J Property IsLazyLoadingTrue='true' -->(MetaObjectManager) from Client Environment
    [937] BC4J Property oracle.jbo.usemds='true' -->(MetaObjectManager) from System Default
    [938] BC4J Property oracle.adfm.usemds='true' -->(MetaObjectManager) from System Default
    [939] BC4J Property ActivateSharedDataHandle='false' -->(MetaObjectManager) from System Default
    [940] Skipping empty Property HandleName from System Default
    [941] Skipping empty Property Factory-Substitution-List from System Default
    [942] BC4J Property jbo.project='model.Model' -->(Configuration) from Client Environment
    [943] BC4J Property jbo.max.cursors='50' -->(MetaObjectManager) from System Default
    [944] WARNING: Property jbo.dofailoverset to null
    [945] Skipping empty Property jbo.dofailover from null
    [946] WARNING: Property jbo.envinfoproviderset to null
    [947] Skipping empty Property jbo.envinfoprovider from null
    [948] Skipping empty Property jbo.rowid_am_conn_name from System Default
    [949] Skipping empty Property jbo.rowid_am_datasource_name from System Default
    [950] WARNING: Property jbo.ampool.writecookietoclientset to null
    [951] Skipping empty Property jbo.ampool.writecookietoclient from null
    [952] WARNING: Property jbo.doconnectionpoolingset to null
    [953] Skipping empty Property jbo.doconnectionpooling from null
    [954] WARNING: Property jbo.recyclethresholdset to null
    [955] Skipping empty Property jbo.recyclethreshold from null
    [956] WARNING: Property jbo.ampool.dynamicjdbccredentialsset to null
    [957] Skipping empty Property jbo.ampool.dynamicjdbccredentials from null
    [958] BC4J Property jbo.ampool.resetnontransactionalstate='true' -->(SessionImpl) from System Default
    [959] BC4J Property jbo.ampool.sessioncookiefactoryclass='oracle.jbo.common.ampool.DefaultSessionCookieFactory' -->(Configuration) from Client Environment
    [960] WARNING: Property jbo.ampool.connectionstrategyclassset to null
    [961] Skipping empty Property jbo.ampool.connectionstrategyclass from null
    [962] WARNING: Property jbo.ampool.maxpoolsizeset to null
    [963] Skipping empty Property jbo.ampool.maxpoolsize from null
    [964] BC4J Property jbo.ampool.initpoolsize='0' -->(Configuration) from Client Environment
    [965] WARNING: Property jbo.ampool.monitorsleepintervalset to null
    [966] Skipping empty Property jbo.ampool.monitorsleepinterval from null
    [967] WARNING: Property jbo.ampool.minavailablesizeset to null
    [968] Skipping empty Property jbo.ampool.minavailablesize from null
    [969] WARNING: Property jbo.ampool.maxavailablesizeset to null
    [970] Skipping empty Property jbo.ampool.maxavailablesize from null
    [971] WARNING: Property jbo.ampool.maxinactiveageset to null
    [972] Skipping empty Property jbo.ampool.maxinactiveage from null
    [973] WARNING: Property jbo.ampool.timetoliveset to null
    [974] Skipping empty Property jbo.ampool.timetolive from null
    [975] WARNING: Property jbo.ampool.doampoolingset to null
    [976] Skipping empty Property jbo.ampool.doampooling from null
    [977] WARNING: Property jbo.ampool.issupportspassivationset to null
    [978] Skipping empty Property jbo.ampool.issupportspassivation from null
    [979] BC4J Property jbo.ampool.isuseexclusive='true' -->(SessionImpl) from System Default
    [980] BC4J Property jbo.passivationstore='null' -->(SessionImpl) from System Default
    [981] BC4J Property jbo.saveforlater='false' -->(SessionImpl) from System Default
    [982] BC4J Property jbo.snapshotstore.undo='persistent' -->(SessionImpl) from System Default
    [983] BC4J Property jbo.maxpassivationstacksize='10' -->(SessionImpl) from System Default
    [984] BC4J Property jbo.txn.handleafterpostexc='false' -->(SessionImpl) from System Default
    [985] BC4J Property jbo.connectfailover='true' -->(SessionImpl) from System Default
    [986] BC4J Property jbo.datasource_naming_factory='oracle.jbo.server.DataSourceContextFactory' -->(MetaObjectManager) from System Default
    [987] WARNING: Property jbo.maxpoolcookieageset to null
    [988] Skipping empty Property jbo.maxpoolcookieage from null
    [989] WARNING: Property PoolClassNameset to null
    [990] Skipping empty Property PoolClassName from null
    [991] BC4J Property jbo.maxpoolsize='4096' -->(MetaObjectManager) from System Default
    [992] BC4J Property jbo.initpoolsize='0' -->(MetaObjectManager) from System Default
    [993] BC4J Property jbo.poolrequesttimeout='30000' -->(MetaObjectManager) from System Default
    [994] BC4J Property jbo.poolmonitorsleepinterval='600000' -->(MetaObjectManager) from System Default
    [995] BC4J Property jbo.poolminavailablesize='5' -->(MetaObjectManager) from System Default
    [996] BC4J Property jbo.poolmaxavailablesize='25' -->(MetaObjectManager) from System Default
    [997] BC4J Property jbo.poolmaxinactiveage='600000' -->(MetaObjectManager) from System Default
    [998] BC4J Property jbo.pooltimetolive='-1' -->(MetaObjectManager) from System Default
    [999] BC4J Property jbo.qcpool.monitorsleepinterval='1800000' -->(SessionImpl) from System Default
    [1000] BC4J Property jbo.qcpool.maxinactiveage='900000' -->(SessionImpl) from System Default
    [1001] BC4J Property jbo.qcpool.maxweight='-1' -->(SessionImpl) from System Default
    [1002] BC4J Property RELEASE_MODE='Stateful' -->(MetaObjectManager) from System Default
    [1003] BC4J Property jbo.assoc.consistent='true' -->(MetaObjectManager) from System Default
    [1004] BC4J Property jbo.viewlink.consistent='DEFAULT' -->(MetaObjectManager) from System Default
    [1005] BC4J Property jbo.finder.range.size='DEFAULT' -->(MetaObjectManager) from System Default
    [1006] BC4J Property jbo.passivation.TrackInsert='true' -->(MetaObjectManager) from System Default
    [1007] Skipping empty Property jbo.ViewCriteriaAdapter from System Default
    [1008] BC4J Property jbo.SQLBuilder='DB2' -->(MetaObjectManager) from Client Environment
    [1009] BC4J Property jbo.ConnectionPoolManager='oracle.jbo.server.ConnectionPoolManagerImpl' -->(MetaObjectManager) from System Default
    [1010] BC4J Property jbo.TypeMapEntries='OracleApps' -->(MetaObjectManager) from Client Environment
    [1011] Skipping empty Property jbo.sql92.JdbcDriverClass from System Default
    [1012] BC4J Property jbo.sql92.LockTrailer='FOR UPDATE' -->(MetaObjectManager) from System Default
    [1013] BC4J Property jbo.jdbc.trace='false' -->(MetaObjectManager) from System Default
    [1014] BC4J Property jbo.abstract.base.check='true' -->(MetaObjectManager) from System Default
    [1015] BC4J Property jbo.assoc.where.early.set='false' -->(MetaObjectManager) from System Default
    [1016] BC4J Property jbo.use.findbykey.for.assoc='true' -->(MetaObjectManager) from System Default
    [1017] BC4J Property jbo.sql92.DbTimeQuery='select sysdate from dual' -->(MetaObjectManager) from System Default
    [1018] BC4J Property oracle.jbo.defineColumnLength='skipDefines' -->(MetaObjectManager) from System Default
    [1019] BC4J Property jbo.jdbc_bytes_conversion='jdbc' -->(MetaObjectManager) from System Default
    [1020] Skipping empty Property jbo.tmpdir from System Default
    [1021] Skipping empty Property jbo.server.internal_connection from System Default
    [1022] BC4J Property SessionClass='oracle.jbo.server.SessionImpl' -->(SessionImpl) from System Default
    [1023] Skipping empty Property TransactionFactory from System Default
    [1024] Skipping empty Property jbo.def.mgr.listener from System Default
    [1025] Skipping empty Property jbo.use.global.sub.map from System Default
    [1026] BC4J Property jbo.debugoutput='console' -->(Diagnostic) from System Property
    [1027] BC4J Property jbo.debug.prefix='DBG: ' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [1028] BC4J Property jbo.logging.show.timing='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [1029] BC4J Property jbo.logging.show.function='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [1030] BC4J Property jbo.logging.show.level='false' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [1031] BC4J Property jbo.logging.show.linecount='true' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [1032] BC4J Property jbo.logging.trace.threshold='6' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.properties resource
    [1033] BC4J Property jbo.jdbc.driver.verbose='false' -->(Diagnostic) from System Default
    [1034] Skipping empty Property oracle.home from System Default
    [1035] Skipping empty Property oc4j.name from System Default
    [1036] Skipping empty Property jbo.shared.txn from System Default
    [1037] BC4J Property oracle.adfm.useSharedTransactionForFrame='true' -->(MetaObjectManager) from System Default
    [1038] BC4J Property oracle.adfm.joinNewFrameTransaction='false' -->(MetaObjectManager) from System Default
    [1039] BC4J Property jbo.ejb.txntimeout='1830' -->(SessionImpl) from System Default
    [1040] BC4J Property jbo.ejb.txntype='global' -->(SessionImpl) from System Default
    [1041] BC4J Property jbo.ejb.txn.disconnect_on_completion='false' -->(SessionImpl) from System Default
    [1042] BC4J Property jbo.ejb.useampool='false' -->(SessionImpl) from Client Environment
    [1043] Skipping empty Property oracle.jbo.schema from System Default
    [1044] BC4J Property jbo.xml.validation='false' -->(MetaObjectManager) from System Default
    [1045] BC4J Property ord.RetrievePath='ordDeliverMedia' -->(MetaObjectManager) from System Default
    [1046] BC4J Property ord.HttpMaxMemory='102400' -->(MetaObjectManager) from System Default
    [1047] Skipping empty Property ord.HttpTempDir from System Default
    [1048] BC4J Property ord.wmp.classid='clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95' -->(MetaObjectManager) from System Default
    [1049] BC4J Property ord.qp.classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' -->(MetaObjectManager) from System Default
    [1050] BC4J Property ord.rp.classid='clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA' -->(MetaObjectManager) from System Default
    [1051] BC4J Property ord.wmp.codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' -->(MetaObjectManager) from System Default
    [1052] BC4J Property ord.qp.codebase='http://www.apple.com/qtactivex/qtplugin.cab' -->(MetaObjectManager) from System Default
    [1053] Skipping empty Property ord.rp.codebase from System Default
    [1054] BC4J Property ord.wmp.plugins.page='http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&' -->(MetaObjectManager) from System Default
    [1055] BC4J Property ord.qp.plugins.page='http://www.apple.com/quicktime/download/' -->(MetaObjectManager) from System Default
    [1056] BC4J Property ord.rp.plugins.page='http://www.real.com/player/' -->(MetaObjectManager) from System Default
    [1057] BC4J Property jbo.security.enforce='None' -->(SessionImpl) from System Default
    [1058] BC4J Property jbo.security.loginmodule='oracle.security.jazn.oc4j.JAZNUserManager' -->(SessionImpl) from System Default
    [1059] Skipping empty Property jbo.security.config from System Default
    [1060] BC4J Property jbo.server.useNullDbTransaction='false' -->(SessionImpl) from System Default
    [1061] BC4J Property jbo.domain.reopenblobstream='false' -->(MetaObjectManager) from System Default
    [1062] BC4J Property jbo.server.retainAssocAccessor='false' -->(SessionImpl) from System Default
    [1063] BC4J Property jbo.groovy.debug='false' -->(MetaObjectManager) from System Default
    [1064] BC4J Property jbo.busevent.suspendpublication='false' -->(SessionImpl) from System Default
    [1065] BC4J Property oracle.adfm.DefaultEventPolicy='NONE' -->(MetaObjectManager) from System Default
    [1066] BC4J Property oracle.adfm.useRootFrameOnly='false' -->(MetaObjectManager) from System Default
    [1067] Copying unknown Client property (user='TESTER') to session
    [1068] Copying unknown Client property (FullProxyInterfaceName='model.common.AppModule') to session
    [1069] Copying unknown Client property (jbo.applicationmoduleclassname='model.AppModule') to session
    [1070] Copying unknown Client property (jbo.jdbc.username='TESTER') to session
    [1071] Copying unknown Client property (BC4JConfigName='AppModuleLocal') to session
    [1072] Copying unknown Client property (DsPasswd='workout') to session
    [1073] Copying unknown Client property (JDBCName='ConnectTo146') to session
    [1074] Copying unknown Client property (DsUserName='TESTER') to session
    [1075] Copying unknown Client property (name='137E06086E5') to session
    [1076] Copying unknown Client property (ApplicationName='model.AppModule') to session
    [1077] Copying unknown Client property (LastUsedConfiguration='AppModuleLocal') to session
    [1078] Copying unknown Client property (password='*****') to session
    [1079] Copying unknown Client property (JDBCDataSource='java:comp/env/jdbc/ConnectTo146DS') to session
    [1080] Copying unknown Client property (jbo.jdbc.connectstring='jdbc:as400:/;naming=system;libraries=QTEMP XAN4CDXA XAN4CDEM;translate binary=true;prompt=false') to session
    [1081] Copying unknown Client property (DBconnection='jdbc:as400://;naming=system;libraries=QTEMP XAN4CDXA XAN4CDEM;translate binary=true;prompt=false') to session
    [1082] Copying unknown Client property (jbo.jdbc.password='*****') to session
    [1083] }} finished loading BC4J properties
    [1084] -----------------------------------------------------------
    [1085] Connected to Oracle JBO Server - Version: 11.1.2.61.83
    [1086] mPCollUsePMgr is false
    [1087] ViewObjectImpl.mDefaultMaxRowsPerNode is 70
    [1088] ViewObjectImpl.mDefaultMaxActiveNodes is 30
    [1089] Default locking mode changed to: optimistic
    [1090] Created root application module: 'model.AppModule'
    [1091] Locale is: 'en_US'
    [1092] ApplicationPoolImpl.resourceStateChanged wasn't release related. No notify invoked.
    [1093] Trying connection: DataSource='oracle.jbo.server.ConnectionPoolDataSource@191d9ad'...
    [1094] Using the oracle.jbo.server.ConnectionPoolDataSource to acquire a connection...
    [1095] Creating a new pool resource
    [1096] Trying connection/3: url='jdbc:as400:/*****' user='TESTER' password='*****' ...
    [1097] DBTransactionImpl.initTransaction: Login failed
    [1098] java.sql.SQLException: No suitable driver found for jdbc:as400:;naming=system;libraries=QTEMP XAN4CDXA XAN4CDEM;translate binary=true;prompt=false
         at java.sql.DriverManager.getConnection(DriverManager.java:602)
         at java.sql.DriverManager.getConnection(DriverManager.java:185)
         at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:187)
         at oracle.jbo.server.URLConnectionHelper.getConnectionFromDriver(URLConnectionHelper.java:50)
         at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:195)
         at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:166)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)
         at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:313)
         at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:102)
         at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:66)
         at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:52)
         at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:172)
         at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:45)
         at oracle.jbo.server.ConnectionPoolDataSource.getConnection(ConnectionPoolDataSource.java:72)
         at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:964)
         at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1147)
         at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6838)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:298)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:329)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:600)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:417)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9021)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
         at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:222)
         at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:945)
         at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:646)
         at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:612)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:446)
    [1099] A dead application module instance was detected
    [1100] The application module instance was removed from the pool
    [1101] ApplicationPoolImpl.resourceStateChanged wasn't release related. No notify invoked.
    [1102] Resetting AM=AppModule
    [1103] An exception occured during checkout.
    [1104] oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.
         at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:207)
         at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:166)
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)
         at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:313)
         at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:102)
         at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:66)
         at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:52)
         at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:172)
         at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:45)
         at oracle.jbo.server.ConnectionPoolDataSource.getConnection(ConnectionPoolDataSource.java:72)
         at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:964)
         at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1147)
         at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:6838)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:298)
         at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:329)
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:600)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:417)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9021)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4606)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2536)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2346)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3245)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:571)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:504)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:499)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:517)
         at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:867)
         at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:222)
         at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:945)
         at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:646)
         at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:612)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:446)
    Caused by: java.sql.SQLException: No suitable driver found for jdbc:as400://naming=system;libraries=QTEMP XAN4CDXA XAN4CDEM;translate binary=true;prompt=false
         at java.sql.DriverManager.getConnection(DriverManager.java:602)
         at java.sql.DriverManager.getConnection(DriverManager.java:185)
         at oracle.jbo.server.URLConnectionHelper.getConnection(URLConnectionHelper.java:187)
         at oracle.jbo.server.URLConnectionHelper.getConnectionFromDriver(URLConnectionHelper.java:50)
         at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:195)
         ... 32 more
    [1105] JUErrorHandlerDlg.reportException(oracle.jbo.jbotester.ErrorHandler$ExceptionWrapper)
    [1106] UIMessageBundle (language base) being initialized
    Jun 12, 2012 4:38:26 PM oracle.jbo.jbotester.MainFrame exit
    INFO: BC4J Tester exit code(-3)
    Process exited with exit code -3.

    When you use DB2 SQL flavor, the ADF BC use the oracle.jbo.server.DB2SQLBuilderImpl class as an SQLBuilder. This class determines the JDBC driver class name as follows:
    1) If the JBO configuration parameter jbo.sql92.JdbcDriverClass in not empty, then the JDBC driver class name is taken from there;
    2) If the jbo.sql92JdbcDriverClass parameter is empty, then:
    <ul><li>If the JDBC URL starts with "jdbc:db2://", then com.ibm.db2.jcc.DB2Driver
    <li>If the JDBC URL starts with "jdbc:oracle:db2", then com.oracle.ias.jdbc.db2.DB2Driver
    <li>If the JDBC URL starts with "jdbc:datadirect:db2", then com.ddtek.jdbc.db2.DB2Driver
    <li>Otherwise, COM.ibm.db2.jdbc.app.DB2Driver</ul>
    (Have a look at the source of the method DB2SQLBuilderImpl.getJDBCDriverClassName(String url) for more details).
    It is seen from the log in your first post that the parameter jbo.sql92.JdbcDriverClass is empty. As far as your JDBC URL starts with neither of the prefixes specified above (e.g. your URL starts with "jdbc:as400://"), then you should specify the necessary JDBC driver class in the JBO configuration parameter jbo.sql92.JdbcDriverClass. (You can specify it in the AM configuration parameters or in adf-config.xml).
    Dimitar

  • No users available ; no database client tool

    Hi,
    during a system copy we are stuck due to the fact that we can not logon to the 4.6C system.  SAP is up-and-running without errors.
    The database runs on the IBM Mainframe with zOS with DB V8. The SAP application server runs on AIX. Since it is a older version it runs with the ICLI-client as interface for connection between SAP and DB2; not DB2Connect.
    The problems are multiple
    we can not apply a new saplicense to the system (not even a temp license), because we get saplicense connection errors.
    SAPLICENSE (Release 46D) ERROR ***
        ERROR:   Creation of license table failed
        DETAILS: DbSlExecute failed with return code 107
    DSNT408I SQLCODE = -204, ERROR:  SAPLOD IS AN UNDEFINED NAME
    DSNT418I SQLSTATE   = 42704 SQLSTATE RETURN CODE
    DSNT415I SQLERRP    = DSNXISUB SQL PROCEDURE DETECTING ERROR
    DSNT416I SQLERRD    = 40  0  0  -1  0  0 SQL DIAGNOSTIC INF ...
    We have no high privileged users on the system (they now can not login, because of license problems). Furthermore no password of SAPStar.
    A way to go would be to delete the sapstar-user in the database. The problem is that we can not find the tool to connect to the database. This installation works with the ICLI-client, so if we use DB2Connect (db2) we also get the message that ICLI-server is use. So connecting here is not possible.
    db2 => connect to T67 user t67adm
    Enter current password for t67adm:
    SQL30081N  A communication error has been detected.  Communication protocol
    being used: "TCP/IP".  Communication API being used: "SOCKETS".  Location
    where the error was detected: "10.96.18.123".  Communication function
    detecting the error: "recv".  Protocol specific error code(s): "73", "*", "0".
    SQLSTATE=08001
    How can we logon to the system? Is there ICLI-client tool (besides DB2Connect) to execute the SQL-statement to delete the sapstar-user?
    Or is there any other way?
    Please help requested. Thanks in advance.
    best regards,
    Paul Geraedts

    Paul
    How did you copy the system?
    Will the SAP instance start? "sapstart"
    You can get into DB from the SYSTEM Z side using spufi and DB2 commands.
    Find a DBA they should be able to get information .
    The first thing I see strange is
    [code]
    DSNT408I SQLCODE = -204, ERROR: SAPLOD IS AN UNDEFINED NAME
    [/code]
    If really did copy the table should be there.
    from UNIX appserver sidadm run saplicense -get  does this command work?

  • Online DB2 database Copy via backup/restore

    Hi Guru's
    I am new in the world of DB2 (I am always working with Oracle)
    I have to perform an online database copy of our SAP which is running on DB2, but I do not want to use the SAPinst method
    I just want to perform it through the backup/restore method as I always do with oracle databases
    Which procedure do I have to follow on my source and target SIDs
    Regards
    Richard

    Hi Richard,
    Follow the below step db2 nackup restore activity.
    1). Perform full offline or online backup of source system
    2). Go to cd /sapmnt/SSID/exe and run the below script
    brdb6brt -bm RETRIEVE -es –replace SourceSID=TargetSID,db2SourceSID=db2TargetSID,/db2/SourceSID=/db2/TargetSID
    3). Above Generate the script copy the Target System.
    4). Offline PRD (Target System) Backup Images copy to Source Path (Any One Path)
    5). Stop SAP System only DB2 must be Started.
    6). Start the db2 backup redirect restored in Quality System
    7). before run the script below activity must be finished.
    Make Changes to the restore script
    Go to script path
    1). Replace Source SID (XXX) with Target SID (XXX)
    2). Change the backup location
    3). User (source db2sid) USING (Source db2sid Password)
                 USER db2xxx USING XXX(Password)
    8). Restoring Database
         Log in db2sid (db2sid) User
    Go to backup & script Path
    9). Run the below Script
    db2 -tvf <script.scr> for exp. db2 -tvf  xxx_NODE0000.scr
    After successfully restore backup below command run
    10). First Check Roll Forward Status
    Open DB with the below command
    db2 rollforward db <TargetSID> query status – check status of DB
    db2 rollforward db <TargetSID> complete
    11). Once the copy is complete we can check below parameter and make corrections as per your preprocessing
    Db2 list tablespaces show detail (To check tablespaces)
    parameter automatic storage & re-sized YES
    Check the Archive log (LOGARCHMATH1) path
    Log in db2sid & run the below command for change the db2 LOGARCHMATH1 Parameter value.
    After successfully change the parameter restart the db2 database
    12). Perform below step before the Start SAP System
    13). Create SAP connects user using
    PATH :- /usr/sap/SID/SYS/global
    scdb6up create <connect user password> <sidadm password>
    above command will update entry in /sapmnt/SID/global/dscdb6.conf
    Regards,

  • How to save data in DB2 database

    Hi All,
    I have an SAP webdynpro application in which 10 fields are there for the user to enter. Out this 10 fields i need to save 5 fields in SAP database and another 5 in DB2 database.Please help me how to achieve this.
    Regards
    VEnk@

    Dear Venkat,
    Am I right that your requirement is to save some fields into the SAP DB2 database and to save the other fields
    to an external DB2 database.
    For that you have to setup the connection with transaction DBCO (tabel DBCON),
    For details about "how to..." please refer to sap note 323151.
    Hope this will help you.
    Regards,
    Reinhard Meixner

Maybe you are looking for