SQL Errors In Informatica Session Logs

I am running a new installation of Analytics 7.9.6. No customizations have been made, and I'm trying to load data from a vanilla "Vision" instance of EBS 11.5.10. I have successfully completed loading of the Financial Analytics data warehouse tables, and have set up a new Execution Plan to load the Supply Chain/Order Management Analytics data warehouse tables.
In loading the Supply Chain tables, however, Informatica jobs are failing for me and I'm not able to complete the initial load. In looking at the session logs, I'm discovering invalid SQL! It looks like malformed SQL is being generated (including fundamental errors like "FROM not expected"). When I try to take these SQL statements and run them SQL*Developer, I'm finding that there are indeed syntax errors. In one case, the SQL statement was that failed was a very simple Select/From/Where with correct syntax, however, the field name in the Where clause did not exist in my EBS instance. ( SDE_ORA_Project_HierarchyDimension_Stage2 - "SYS_PROGRAM_FLAG" field doesn't exist in the PA_PROJECTS_ALL source table )
Any SC-OM veterans out there with thoughts on why this would be going wrong???
Thank you!

This seems to be related to a patchset M required on the EBS system. See the following Metalink note:
Tasks Related To Projects Table Failed During Full Load [ID 1300293.1]
Here are the details:
Cause
The Employee Expenses subject area in DAC includes several Project Dimension tasks and patchset M has not been applied to EBS 11.5.10
Solution
1). As documented in the Oracle Business Intelligence Applications Release Notes > section 1.3.30 Implementation of Oracle Project Analytics with Oracle eBusiness Suite 11.5.10:
Implementation of Oracle Project Analytics with Oracle eBusiness Suite 11.5.10
requires Family Pack M (11i.PJ_PF.M) to be applied to Oracle eBusiness Suite 11.5.10.
2). The customer does not use OBI Project Analytics as it is not used in eBusiness at the client site.
In this case, the recommendation is to disable the Project Dimension as documented in the Oracle Business Intelligence Applications Configuration Guide for Informatica PowerCenter Users > 6.2.1.1 How to Disable Project Dimensions

Similar Messages

  • Error from the session log between Informatica and SAP BI

    HI friends,
          I am working extraction from bi by Informatica 8.6.1.
          now, I start the process Chain from bi, and I got a error from Informatica's session log.Pls help me to figure out what's going on during me execution.
    Severity     Timestamp     Node     Thread     Message Code     Message
    INFO     2010-12-17 11:01:31     node01_dcinfa01     DIRECTOR     TM_6228     Writing session output to log file [D:\Informatica\PowerCenter8.6.1\server\infa_shared\SessLogs\s_taorh.log].
    INFO     2010-12-17 11:01:31     node01_dcinfa01     DIRECTOR     TM_6014     Initializing session [s_taorh] at [Fri Dec 17 11:01:31 2010].
    INFO     2010-12-17 11:01:31     node01_dcinfa01     DIRECTOR     TM_6683     Repository Name: [RepService_dcinfa01]
    INFO     2010-12-17 11:01:31     node01_dcinfa01     DIRECTOR     TM_6684     Server Name: [IntService_dcinfa01]
    INFO     2010-12-17 11:01:31     node01_dcinfa01     DIRECTOR     TM_6686     Folder: [xzTraining]
    INFO     2010-12-17 11:01:31     node01_dcinfa01     DIRECTOR     TM_6685     Workflow: [wf_taorh] Run Instance Name: [] Run Id: [43]
    INFO     2010-12-17 11:01:31     node01_dcinfa01     DIRECTOR     TM_6101     Mapping name: m_taorh.
    INFO     2010-12-17 11:01:31     node01_dcinfa01     DIRECTOR     TM_6964     Date format for the Session is [MM/DD/YYYY HH24:MI:SS.US]
    INFO     2010-12-17 11:01:31     node01_dcinfa01     DIRECTOR     TM_6703     Session [s_taorh] is run by 32-bit Integration Service  [node01_dcinfa01], version [8.6.1], build [1218].
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MANAGER     PETL_24058     Running Partition Group [1].
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MANAGER     PETL_24000     Parallel Pipeline Engine initializing.
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MANAGER     PETL_24001     Parallel Pipeline Engine running.
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MANAGER     PETL_24003     Initializing session run.
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MAPPING     CMN_1569     Server Mode: [UNICODE]
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MAPPING     CMN_1570     Server Code page: [MS Windows Simplified Chinese, superset of GB 2312-80, EUC encoding]
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MAPPING     TM_6151     The session sort order is [Binary].
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MAPPING     TM_6156     Using low precision processing.
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MAPPING     TM_6180     Deadlock retry logic will not be implemented.
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MAPPING     SDKS_38029     Loaded plug-in 300320: [PowerExchange for SAP BW - OHS reader plugin 8.6.1 build 183].
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MAPPING     SDKS_38024     Plug-in 300320 initialization complete.
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MAPPING     PCCL_97003     [WARNING] Real-time session is not enabled for source [AMGDSQ_IS_TAORH]. Real-time Flush Latency value must be 1 or higher for a session to run in real time.
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MAPPING     SDKS_38016     Reader SDK plug-in intialization complete.
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MAPPING     TM_6307     DTM error log disabled.
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MAPPING     TE_7022     TShmWriter: Initialized
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MAPPING     TM_6007     DTM initialized successfully for session [s_taorh]
    INFO     2010-12-17 11:01:31     node01_dcinfa01     DIRECTOR     PETL_24033     All DTM Connection Info: [<NONE>].
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MANAGER     PETL_24004     PETL_24004 Starting pre-session tasks. : (Fri Dec 17 11:01:31 2010)
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MANAGER     PETL_24027     PETL_24027 Pre-session task completed successfully. : (Fri Dec 17 11:01:31 2010)
    INFO     2010-12-17 11:01:31     node01_dcinfa01     DIRECTOR     PETL_24006     Starting data movement.
    INFO     2010-12-17 11:01:31     node01_dcinfa01     MAPPING     TM_6660     Total Buffer Pool size is 1219648 bytes and Block size is 65536 bytes.
    INFO     2010-12-17 11:01:31     node01_dcinfa01     READER_1_1_1     OHS_99013     [INFO] Partition 0: Connecting to SAP system with DESTINATION = sapbw, USER = taorh, CLIENT = 800, LANGUAGE = en
    INFO     2010-12-17 11:01:32     node01_dcinfa01     READER_1_1_1     OHS_99016     [INFO] Partition 0: BW extraction for Request ID [163] has started.
    Edited by: bi_tao on Dec 18, 2010 11:46 AM

    INFO     2010-12-17 11:01:33     node01_dcinfa01     WRITER_1_*_1     WRT_8167     Start loading table [VENDOR] at: Fri Dec 17 11:01:32 2010
    INFO     2010-12-17 11:01:33     node01_dcinfa01     WRITER_1_*_1     WRT_8168     End loading table [VENDOR] at: Fri Dec 17 11:01:32 2010
    INFO     2010-12-17 11:01:33     node01_dcinfa01     WRITER_1_*_1     WRT_8141     
    Commit on end-of-data  Fri Dec 17 11:01:32 2010
    ===================================================
    WRT_8036 Target: VENDOR (Instance Name: [VENDOR])
    WRT_8044 No data loaded for this target
    INFO     2010-12-17 11:01:33     node01_dcinfa01     WRITER_1_*_1     WRT_8143     
    Commit at end of Load Order Group  Fri Dec 17 11:01:32 2010
    ===================================================
    WRT_8036 Target: VENDOR (Instance Name: [VENDOR])
    WRT_8044 No data loaded for this target
    INFO     2010-12-17 11:01:33     node01_dcinfa01     WRITER_1_*_1     WRT_8035     Load complete time: Fri Dec 17 11:01:32 2010
    LOAD SUMMARY
    ============
    WRT_8036 Target: VENDOR (Instance Name: [VENDOR])
    WRT_8044 No data loaded for this target
    INFO     2010-12-17 11:01:33     node01_dcinfa01     WRITER_1_*_1     WRT_8043     ****END LOAD SESSION****
    INFO     2010-12-17 11:01:33     node01_dcinfa01     WRITER_1_*_1     WRT_8006     Writer run completed.
    INFO     2010-12-17 11:01:33     node01_dcinfa01     MANAGER     PETL_24031     
    RUN INFO FOR TGT LOAD ORDER GROUP [1], CONCURRENT SET [1] *****
    Thread [READER_1_1_1] created for [the read stage] of partition point [AMGDSQ_IS_TAORH] has completed. The total run time was insufficient for any meaningful statistics.
    Thread [TRANSF_1_1_1] created for [the transformation stage] of partition point [AMGDSQ_IS_TAORH] has completed. The total run time was insufficient for any meaningful statistics.
    Thread [WRITER_1_*_1] created for [the write stage] of partition point [VENDOR] has completed. The total run time was insufficient for any meaningful statistics.
    INFO     2010-12-17 11:01:33     node01_dcinfa01     MANAGER     PETL_24005     PETL_24005 Starting post-session tasks. : (Fri Dec 17 11:01:33 2010)
    INFO     2010-12-17 11:01:33     node01_dcinfa01     MANAGER     PETL_24029     PETL_24029 Post-session task completed successfully. : (Fri Dec 17 11:01:33 2010)
    INFO     2010-12-17 11:01:33     node01_dcinfa01     MAPPING     SDKS_38025     Plug-in 300320 deinitialized and unloaded with status [-1].
    INFO     2010-12-17 11:01:33     node01_dcinfa01     MAPPING     SDKS_38018     Reader SDK plug-ins deinitialized with status [-1].
    INFO     2010-12-17 11:01:33     node01_dcinfa01     MAPPING     TM_6018     The session completed with [0] row transformation errors.
    INFO     2010-12-17 11:01:33     node01_dcinfa01     MANAGER     PETL_24002     Parallel Pipeline Engine finished.
    INFO     2010-12-17 11:01:33     node01_dcinfa01     DIRECTOR     PETL_24013     Session run completed with failure.
    INFO     2010-12-17 11:01:34     node01_dcinfa01     DIRECTOR     TM_6022     
    SESSION LOAD SUMMARY
    ================================================
    INFO     2010-12-17 11:01:34     node01_dcinfa01     DIRECTOR     TM_6252     Source Load Summary.
    INFO     2010-12-17 11:01:34     node01_dcinfa01     DIRECTOR     CMN_1537     Table: [AMGDSQ_IS_TAORH] (Instance Name: [AMGDSQ_IS_TAORH]) with group id[1] with view name [Group1]
          Rows Output [0], Rows Affected [0], Rows Applied [0], Rows Rejected[0]
    INFO     2010-12-17 11:01:34     node01_dcinfa01     DIRECTOR     TM_6253     Target Load Summary.
    INFO     2010-12-17 11:01:34     node01_dcinfa01     DIRECTOR     CMN_1740     Table: [VENDOR] (Instance Name: [VENDOR])
          Output Rows [0], Affected Rows [0], Applied Rows [0], Rejected Rows [0]
    INFO     2010-12-17 11:01:34     node01_dcinfa01     DIRECTOR     TM_6023     
    ===================================================
    INFO     2010-12-17 11:01:34     node01_dcinfa01     DIRECTOR     TM_6020     Session [s_taorh] completed at [Fri Dec 17 11:01:33 2010].

  • Insert error message into session

    hi all,
    I need to Insert error message into the log of SM35 session.
    1. I have created a BDC that creates a session in SM35.
    2. The session is scheduled daily and gets executed automatically.
    3. there is a scenario where the session should be stopped manually with a error message.
    the system doesnt generate any error automatically for that scenario
    can any one pls tell me whether its possible to put a manual error into SM35 session log ?
    Thanks in Advance,
    Santhosini

    Hi,
    There's a few ways you could do this;
    Construct your message first (i.e. combine the message text and variables into one string, then move this into the table)
    or
    Don't store the text, instead store the message ID, number and variable parts of the message.  This has the advantage if you're running a multi-language system the log can be used by users of different languages.
    Regards,
    Nick

  • An internal database error occurred in the Business Data Connectivity Shared Service. SQL Error Number : 229

     Recently i upgraded my SharePoint server 2013 to SP1, after the upgrade i received following message in manage database Status page " Databases running in compatibility range, upgrade recommended" 
    for Business Data Connectivity Database. Then i ran Sharepoint Configuration wizard, which fixed that error on that page but i am getting a error message while accessing BDCApplication page in manage service applications pagein central admin"
    An internal database error occurred in the Business Data Connectivity Shared Service. SQL Error Number : 229
    Sys Log :
    The BDC Service application failed due to a SQL Exception: SQLServer host WSQLD05\DV. The error returned was: 'The EXECUTE permission was denied on the object 'proc_ar_GetAdministrationMetadataCatalogByPartitionId', database 'sp_BusinessDataConnectivity_DV13',
    schema 'dbo'.'
    I checked the Db role of the service app pool account, it has SPDataAccess permission over the Database. i cant recreate another application without knowing the root cause. I hope i can get better option to troubleshoot the issue.
    Thank you

    As per the error message, you can at least grant the BDC service application pool account the EXECUTE perimssions on the sp_BusinessDataConnectivity_DV13 database
    Edwin Sarmiento SQL Server MVP | Microsoft Certified Master
    Blog |
    Twitter | LinkedIn
    SQL Server High Availability and Disaster Recover Deep Dive Course

  • *** ERROR = CONNECT failed with SQL error '12154' after Oracle Upgrade

    Hello Experts,
    Recently I upgraded my oracle database from 11.2.0.3 to 11.2.0.4.The upgrade completed successfully but I am unable to start the instance.
    R3trans -d failing with the error--
    OCIServerAttach(OCI_DEFAULT) failed with -1=OCI_ERROR
    OCIServerAttach(OCI_DEFAULT) failed with SQL error 12154:    
    ORA-12154: TNS:could not resolve the connect identifier specified
    OCIServerAttach(con=0, svc=069C1630): Error 12154 attaching new srv=069C17D0
    OCIHandleFree(con=0): Server handle srv=069C17D0 freed.          
    server_detach(con=0, svc=069C1630; srv=NULL, stale=2)            
    OCIHandleFree(con=0): Service svc=069C1630 freed (i=1).          
    *** ERROR => CONNECT failed with SQL error '12154'              
    -->oci_get_errmsg (con=0, rc=12154)                              
      OCIErrorGet() -> SQL error code: 12154; buflen=66            
    OCIErrorGet(): error text ->                                    
    ORA-12154: TNS:could not resolve the connect identifier specified
    ocica() -> SQL error code 12154,12154                          
      DbSlConnect(con=0) -> orc=12154, rc=99=DBSL_ERR_DB            
    ***LOG BY2=>sql error 12154  performing CON                      
    ***LOG BY0=>ORA-12154: TNS:could not resolve the connect identifier specified
    I have checked listener is up and running properly.Entry is maintained in tnsnames.ora.
    Also kernel is upgraded with latest path.Curent kernel version--742
    Please suggest on the mentioned error.I am attaching the logs here.Thanks in advance.
    Best Regards,
    Debaditya

    Hi Debadiya
    Kindly check this SAP Notes
    1204916 - Error: "ORA-12154" when connecting to Oracle from a Windows 64-bit platform
    2153975 - Database connectivity fails with ORA-12154
    556232 - Environment settings for R/3/Oracle on Windows
    443867 - ORA-12154 Collective SAP note
    BR
    SS

  • SQL error 942 when logging into shadow system ECC 6.0 upgrade

    Hello,
    I am upgrading an ECC 5.0 system to ECC 6.0, and am trying to log into the shadow system to correct a few activation errors. With just about every transaction I attempt, I get the following error:
    SQL error 942 occurred while accessing program SAPM
    Here is an excerpt from the relevant trace file under /usr/sap/put/<SID>/<Instance>/work:
    A  GENER request remote generation: SAPMS380.
    A  GENER starting inline generation: SAPMS380 (reason: no process available fo
    r remote generation).
    A  GENER got lock for program SAPMS380.
    C  *** ERROR => OCI-call 'OCILobWrite' failed with rc=942
    [dboci.c      2561]
    C  *** ERROR => ORA-942 occurred when writing to a LOB
    [dbsloci.c    10366]
    C  sc_p=112780f80,no=112,idc_p=1127973a0,con=0,act=1,slen=123,smax=1024,#vars=5,
    stmt=11315e9c0,table=REPOLOAD
    C  prep=0,lit=0,nsql=0,lobret=1,#exec=1,dbcnt=1,upsh_p=0,ocistmth_p=11315f5b8
    C  IN : cols=4,rmax=1,xcnt=1,rpc=0,rowi=0,rtot=1,upto=4294967295,rsize=45,vmax=3
    2,bound=1,iobuf_p=112b1c8a0,vda_p=113161020
    C       lobs=1,lmax=4,lpcnt=0,larr=112b1b4c0,lcurr_p=0,rret=0
    C  OUT: cols=1,rmax=1,xcnt=0,rpc=0,rowi=0,rtot=1,upto=0,rsize=4,vmax=64,bound=0,
    iobuf_p=0,vda_p=1131617a0
    C       lobs=1,lmax=4,lpcnt=1,larr=112b1b5c0,lcurr_p=112b1b5c0,rret=1
    C  UPDATE "REPOLOAD" SET "QDATA" = :A0 WHERE "PROGNAME" = :A1 AND "R3STATE" = :A
    2 AND "MACH" = :A3  RET\
    C  URNING "QDATA" INTO :A4;
    B  ***LOG BY4=> sql error 942    performing PUT on table REPOLOAD   [dbrepolo#?
    @ 964] [dbrepolo0964 ]
    B  ***LOG BY0=> ORA-00942: table or view does not exist [dbrepolo#? @ 964] [dbre
    polo0964 ]
    Table REPOLOAD does exist. I am investigating whether it has something to do with the SAPUSER table, but I would appreciate any other ideas anyone may have. I did not encounter this error until the phase ACT_700.
    Regards,
    L. Lessmiller

    Hello Sunny,
    Thanks for your reply. I have looked at Notes 662644 and 400241 thoroughly and cannot find anything wrong with privileges for SAPR3 or SAPR3SHD, nor can I find anything wrong with the OPS$ mechanism.
    Regards,
    L. Lessmiller

  • Data Warehouse SQL error log shows failed login

    In addition to the above title, on our management servers (x2 Win 2012 R2 - SCOM 2012 R2), I am seeing the event ID 31551 stating:
    Failed to store data in the Data Warehouse. The operation will be retired. Exception 'SqlException':Login failed for user 'xx'.
    One or more workflows were affected by this.
    Workflow name: Microsoft.SystemCenter.DataWarehouse.CollectEntityHealthStateChange
    Instance name: management server
    Instance ID: {xxxxxxxxxxxxxxxxx}
    Management Group: XXXX
    I've logged onto Data Warehouse server using the account referenced in the error message, loaded SQL Management Studio (2012 Std), and logged in and am able to see, view tables within the OperationsManagerDW database. So I'm trying to establish what's going
    on! If I can access the DW DB using the account, why am I getting these errors?

    Hi
    Unfortunately, this hasn't resolved the issue. I've ran the query DBCC CHECKIDENT ("EventChannel"); and have got the following response back: 
    Checking identity information: current identity value '1', current column value '1'.
    DBCC execution completed. If DBCC printed error messages, contact your system administrator.
    I've revisited the run as account for 'Data Warehouse SQL Account' - this is a domain account. I've checked the Data Warehouse DB and can confirm that it's got write access over the database. I'm using the same account as the 'Data Warehouse Action Account'.
    However, the SQL log on the data warehouse server is saying failed login, see below:
    Login failed for user 'sv-scom-dw'. Reason: Could not find a login matching the name provided. [CLIENT: Management server 1 IP]
    I've checked the 'Management Group' table and can confirm the WriterLoginName is DOMAIN\sv-scom-dw
    However, the SQL error looks like it's looking for a local SQL login. The database is set to Mixed mode authentication.
    Any ideas?

  • Log Could Not Be Retrieved Error in session logs....OBIEE 11.1.1.6.0

    Unable to see session logs in session manager since 2 days. I'm using OBIEE 11.1.1.6.0. current log file size is 66MB.
    Error
    Log Could Not Be Retrieved
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 27002] Near <2310275073>: Syntax error [nQSError: 26012] . (HY000)

    Hi,
    This is a know Bug: @ BUG:13737150 - UNABLE TO VIEW LOG FILE FROM ADMINISTRATION > MANAGE SESSIONS
    Download and apply OBIEE 11.1.1.6.2 BP1. It is fixed in this version.
    Thanks.

  • Trans.log file showing  'ERROR = CONNECT failed with sql error 12541'

    Dear All
    We have upgraded our datatabse from Oracle 9.2.0.8 to Oracel 10.2.0.4 on our ECC 5.0 IS-AFS SAP system. When we check version from SQL, it's showing 10.2.0.4. That means database is successfully upgraded. Now, when we login through our <SID>adm user and checking R3trans -d, it is showing
    'This is R3trans version 6.13 (release 640 - 07.01.08 - 14:25:00).
    unicode enabled version
    2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'V
    AP'"
    R3trans finished (0012).'
    In the trans.log file it is showing,
    4 ETW000 R3trans version 6.13 (release 640 - 07.01.08 - 14:25:00).
    4 ETW000 unicode enabled version
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 date&time   : 22.06.2009 - 11:56:40
    4 ETW000 control file: <no ctrlfile>
    4 ETW000 R3trans was called as follows: R3trans -d
    4 ETW000  trace at level 2 opened for a given file pointer
    4 ETW000  [dev trc     ,00000]  Mon Jun 22 11:56:40 2009                             110  0.000
    110
    4 ETW000  [dev trc     ,00000]  db_con_init called                                    27  0.000
    137
    4 ETW000  [dev trc     ,00000]  create_con (con_name=R/3)                             62  0.000
    199
    4 ETW000  [dev trc     ,00000]  Loading DB library '/usr/sap/VAP/SYS/exe/run/dboraslib.o' ...
    4 ETW000                                                                              77  0.000
    276
    4 ETW000  [dev trc     ,00000]  load shared library (/usr/sap/VAP/SYS/exe/run/dboraslib.o), hdl
    0
    4 ETW000                                                                            8142  0.008
    418
    4 ETW000  [dev trc     ,00000]  Library '/usr/sap/VAP/SYS/exe/run/dboraslib.o' loaded
    4 ETW000                                                                              43  0.008
    461
    4 ETW000  [dev trc     ,00000]  function DbSlExpFuns loaded from library /usr/sap/VAP/SYS/exe/r
    un/dboraslib.o
    4 ETW000                                                                              61  0.008
    522
    4 ETW000  [dev trc     ,00000]  Version of '/usr/sap/VAP/SYS/exe/run/dboraslib.o' is "640.00",
    patchlevel (0.276)
    4 ETW000                                                                             421  0.008
    943
    4 ETW000  [dev trc     ,00000]  function dsql_db_init loaded from library /usr/sap/VAP/SYS/exe/
    run/dboraslib.o
    4 ETW000                                                                              46  0.008
    989
    4 ETW000  [dev trc     ,00000]  function dbdd_exp_funs loaded from library /usr/sap/VAP/SYS/exe
    /run/dboraslib.o
    4 ETW000                                                                              75  0.009
    064
    4 ETW000  [dev trc     ,00000]  New connection 0 created                              48  0.009
    112
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm =
    YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                              53  0.009
    165
    4 ETW000  [dev trc     ,00000]  db_con_connect (con_name=R/3)                         55  0.009
    220
    4 ETW000  [dev trc     ,00000]  find_con_by_name found the following connection for reuse:
    4 ETW000                                                                              53  0.009
    273
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm =
    YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                              49  0.009
    322
    4 ETW000  [dev trc     ,00000]  Got ORACLE_HOME=/oracle/VAP/102_64 from environment
    4 ETW000                                                                             521  0.009
    843
    4 ETW000  [dev trc     ,00000]  -->oci_initialize (con_hdl=0)                         84  0.009
    927
    4 ETW000  [dev trc     ,00000]  got NLS_LANG='AMERICAN_AMERICA.UTF8' from environment
    4 ETW000                                                                              65  0.009
    992
    4 ETW000  [dev trc     ,00000]  Client NLS settings: AMERICAN_AMERICA.UTF8          2033  0.012
    025
    4 ETW000  [dev trc     ,00000]  Logon as OPS$-user to get SAPVAP's password           49  0.012
    074
    4 ETW000  [dev trc     ,00000]  Connecting as /@VAP on connection 0 (nls_hdl 0) ... (dbsl 640 1
    80309)
    4 ETW000                                                                              57  0.012
    131
    4 ETW000  [dev trc     ,00000]  Nls CharacterSet                 NationalCharSet              C
          EnvHp      ErrHp ErrHpBatch
    4 ETW000                                                                              49  0.012
    180
    4 ETW000  [dev trc     ,00000]    0 UTF8                                                      1
    0x1113a4400 0x1113b6b00 0x1113b63b8
    4 ETW000                                                                              58  0.012
    238
    4 ETW000  [dev trc     ,00000]  Allocating service context handle for con_hdl=0       48  0.012
    286
    4 ETW000  [dev trc     ,00000]  Allocating server context handle                      42  0.012
    328
    4 ETW000  [dev trc     ,00000]  Attaching to DB Server VAP (con_hdl=0,svchp=0x1113b97d8,srvhp=0
    x1113b99f8)
    4 ETW000                                                                              95  0.012
    423
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCIServerAttach' failed: rc = 12541
    4 ETW000                                                                            4556  0.016
    979
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error 12541.
    4 ETW000                                                                              59  0.017
    038
    4 ETW000  [dev trc     ,00000]     set_ocica() -> OCI or SQL return code 12541        39  0.017
    077
    4 ETW000  [dev trc     ,00000]  Try to connect with default password                 184  0.017
    261
    4 ETW000  [dev trc     ,00000]  Connecting as SAPVAP/<pwd>@VAP on connection 0 (nls_hdl 0) ...
    (dbsl 640 180309)
    4 ETW000                                                                              46  0.017
    307
    4 ETW000  [dev trc     ,00000]  Nls CharacterSet                 NationalCharSet              C
          EnvHp      ErrHp ErrHpBatch
    4 ETW000                                                                              48  0.017
    355
    4 ETW000  [dev trc     ,00000]    0 UTF8                                                      1
    0x1113a4400 0x1113b6b00 0x1113b63b8
    4 ETW000                                                                              48  0.017
    403
    4 ETW000  [dev trc     ,00000]  server_detach(con_hdl=0,stale=0,svrhp=0x1113b99f8)
    4 ETW000                                                                              54  0.017
    457
    4 ETW000  [dev trc     ,00000]  Detaching from DB Server (con_hdl=0,svchp=0x1113b97d8,srvhp=0x1
    113b99f8)
    4 ETW000                                                                              54  0.017
    511
    4 ETW000  [dev trc     ,00000]  Deallocating server context handle 0x1113b99f8        42  0.017
    553
    4 ETW000  [dev trc     ,00000]  Allocating server context handle                      33  0.017
    586
    4 ETW000  [dev trc     ,00000]  Attaching to DB Server VAP (con_hdl=0,svchp=0x1113b97d8,srvhp=0
    x1113b99f8)
    4 ETW000                                                                              54  0.017
    640
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCIServerAttach' failed: rc = 12541
    4 ETW000                                                                            2547  0.020
    187
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error 12541.
    4 ETW000                                                                              45  0.020
    232
    4 ETW000  [dev trc     ,00000]     set_ocica() -> OCI or SQL return code 12541        28  0.020
    260
    4 ETW000  [dblink      ,00428]  ***LOG BY2=>sql error 12541  performing CON [dblink#3 @ 428]
    4 ETW000                                                                             220  0.020
    480
    4 ETW000  [dblink      ,00428]  ***LOG BY0=>ORA-12541: TNS:no listener [dblink#3 @ 428]
    4 ETW000                                                                              42  0.020
    522
    2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'V
    AP'"
    Checked the listener service. It is already started and status is OK. Please help.
    Regards
    Shashank Shekhar

    Hi
    Yes, I am trying it with orasid user also. There in trans.log file it is showing:
    '4 ETW000 R3trans version 6.13 (release 640 - 07.01.08 - 14:25:00).
    4 ETW000 unicode enabled version
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 date&time   : 22.06.2009 - 15:54:42
    4 ETW000 control file: <no ctrlfile>
    4 ETW000 R3trans was called as follows: R3trans -d
    4 ETW000  trace at level 2 opened for a given file pointer
    4 ETW000  [dev trc     ,00000]  Mon Jun 22 15:54:42 2009                             109  0.000
    109
    4 ETW000  [dev trc     ,00000]  db_con_init called                                    27  0.000
    136
    4 ETW000  [dev trc     ,00000]  create_con (con_name=R/3)                             61  0.000
    197
    4 ETW000  [dev trc     ,00000]  Loading DB library '/usr/sap/VAP/SYS/exe/run/dboraslib.o' ...
    4 ETW000                                                                              79  0.000
    276
    4 ETW000  [dev trc     ,00000]  load shared library (/usr/sap/VAP/SYS/exe/run/dboraslib.o), hdl
    0
    4 ETW000                                                                            8174  0.008
    450
    4 ETW000  [dev trc     ,00000]  Library '/usr/sap/VAP/SYS/exe/run/dboraslib.o' loaded
    4 ETW000                                                                              43  0.008
    493
    4 ETW000  [dev trc     ,00000]  function DbSlExpFuns loaded from library /usr/sap/VAP/SYS/exe/r
    un/dboraslib.o
    4 ETW000                                                                              61  0.008
    554
    4 ETW000  [dev trc     ,00000]  Version of '/usr/sap/VAP/SYS/exe/run/dboraslib.o' is "640.00",
    patchlevel (0.276)
    4 ETW000                                                                             430  0.008
    984
    4 ETW000  [dev trc     ,00000]  function dsql_db_init loaded from library /usr/sap/VAP/SYS/exe/
    run/dboraslib.o
    4 ETW000                                                                              46  0.009
    030
    4 ETW000  [dev trc     ,00000]  function dbdd_exp_funs loaded from library /usr/sap/VAP/SYS/exe
    /run/dboraslib.o
    4 ETW000                                                                              76  0.009
    106
    4 ETW000  [dev trc     ,00000]  New connection 0 created                              48  0.009
    154
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm =
    YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                              53  0.009
    207
    4 ETW000  [dev trc     ,00000]  db_con_connect (con_name=R/3)                         57  0.009
    264
    4 ETW000  [dev trc     ,00000]  find_con_by_name found the following connection for reuse:
    4 ETW000                                                                              54  0.009
    318
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm =
    YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                              49  0.009
    367
    4 ETW000  [dev trc     ,00000]  Got ORACLE_HOME=/oracle/VAP/102_64 from environment
    4 ETW000                                                                             526  0.009
    893
    4 ETW000  [dev trc     ,00000]  -->oci_initialize (con_hdl=0)                         84  0.009
    977
    4 ETW000  [dev trc     ,00000]  got NLS_LANG='AMERICAN_AMERICA.UTF8' from environment
    4 ETW000                                                                              64  0.010
    041
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCIEnvCreate(mode=16384)' failed: rc = -
    1
    4 ETW000                                                                            1464  0.011
    505
    4 ETW000  [dev trc     ,00000]     set_ocica() -> OCI or SQL return code -1           40  0.011
    545
    4 ETW000  [dboci.c     ,00000]  *** ERROR => OCI-call 'OCIErrorGet' failed: rc = -2
    4 ETW000                                                                              58  0.011
    603
    4 ETW000  [dblink      ,00428]  ***LOG BY2=>sql error -1     performing CON [dblink#3 @ 428]
    4 ETW000                                                                              74  0.011
    677
    4 ETW000  [dblink      ,00428]  ***LOG BY0=>Cannot get Oracle error text. [dblink#3 @ 428]
    4 ETW000                                                                              55  0.011
    732
    2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'V
    AP'"
    Someone suggested 'The solution is to download the new oracle client dll into the kernel'. Can anyone tell from where i can get the client dll for the kernel.
    Regards
    Shashank Shekhar

  • Logging SQL error

    I want to create a permanent file (SQLError.log) where i will be logging all SQL error messages. How can I designate such a file in my code and how to write to it?
    Thanks

    well you could write a class something like this:
    public class MySQLLog {
    static String filename = "\logs\sql.log";
    public static logError(String err)
    File f = new File(filename);
    if( !f.exists() )
    f.createNewFile();
    FileOutputStream fos = new FileOutputStream(f.toString(),true);
    fos.write(err.getBytes());
    fod.close();
    of course you should probably get the file name from a props file instead of hard coding it. the problem here is you have no log file roll over and other nice features you get with logging packages.

  • Gnome 3.8 - can't find .xsession-errors or ~/.cache/gdm/session.log

    In one of these two files, Gnome is supposed to log. But I can't find any of these! My ~/.cache directory doesn't even include a gdm folder.
    So where does the Gnome-Session log to?
    (I start Gnome with gdm)
    Thank you!

    Answer found:
    https://bbs.archlinux.org/viewtopic.php … 1#p1270301
    don_crissti wrote:
    It's in systemd journal.
    You should be able to get the session.log if you filter the journal with something like:
    journalctl -b -o cat _PID=$(pgrep gnome-session)
    although that's not really comfortable...

  • Error with Informatica when running the data load for BI Apps

    Hi All,
    We are facing a different issue on prod which we haven't got on QA. Below given is session log :
    Target tables:
    W_ORDER_PARTY
    READER_1_1_1> RR_4050 First row returned from database to reader : (Wed Sep 22 10:36:16 2010)
    READER_1_1_1> BLKR_16019 Read [885] rows, read [0] error rows for source table [S_ORDER_BU] instance name [S_ORDER_BU]
    READER_1_1_1> BLKR_16008 Reader run completed.
    LKPDP_1> DBG_21097 Lookup Transformation [LKP_ETL_PROC_WID]: Default sql to create lookup cache: SELECT ETL_PROC_WID,ROW_WID FROM W_PARAM_G ORDER BY ROW_WID,ETL_PROC_WID
    LKPDP_1> TE_7212 Increasing [Index Cache] size for transformation [LKP_ETL_PROC_WID] from [1048576] to [1050000].
    LKPDP_1> TM_6660 Total Buffer Pool size is 609824 bytes and Block size is 65536 bytes.
    LKPDP_1:READER_1_1> DBG_21438 Reader: Source is [SFAPROD1], user [siebel]
    LKPDP_1:READER_1_1> CMN_1021 Database driver event...
    CMN_1021 [DB2 Event Using Array Inserts. connect string = [SFAPROD1]. userid = [siebel]]
    LKPDP_1:READER_1_1> BLKR_16003 Initialization completed successfully.
    LKPDP_1:READER_1_1> BLKR_16007 Reader run started.
    LKPDP_1:READER_1_1> RR_4049 SQL Query issued to database : (Wed Sep 22 10:36:17 2010)
    LKPDP_1:READER_1_1> CMN_1761 Timestamp Event: [Wed Sep 22 10:36:17 2010]
    LKPDP_1:READER_1_1> RR_4035 SQL Error [
    *[IBM][CLI Driver][DB2/AIX64] SQL0204N "SIEBEL.W_PARAM_G" is an undefined name. SQLSTATE=42704*
    sqlstate = 42S02
    Database driver error...
    Function Name : Execute
    SQL Stmt : SELECT ETL_PROC_WID,ROW_WID FROM W_PARAM_G ORDER BY ROW_WID,ETL_PROC_WID
    DB2 Fatal Error].
    LKPDP_1:READER_1_1> CMN_1761 Timestamp Event: [Wed Sep 22 10:36:17 2010]
    LKPDP_1:READER_1_1> BLKR_16004 ERROR: Prepare failed.
    WRITER_1_*_1> WRT_8333 Rolling back all the targets due to fatal session error.
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Wed Sep 22 10:36:17 2010]
    TRANSF_1_1_1> TM_6085 A fatal error occurred at transformation [LKP_ETL_PROC_WID], and the session is terminating.
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Wed Sep 22 10:36:17 2010]
    TRANSF_1_1_1> TM_6085 A fatal error occurred at transformation [EXPTRANS1], and the session is terminating.
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Wed Sep 22 10:36:17 2010]
    TRANSF_1_1_1> TM_6085 A fatal error occurred at transformation [EXPTRANS1], and the session is terminating.
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Wed Sep 22 10:36:17 2010]
    TRANSF_1_1_1> TM_6085 A fatal error occurred at transformation [SQTRANS], and the session is terminating.
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Wed Sep 22 10:36:17 2010]
    TRANSF_1_1_1> TM_6085 A fatal error occurred at transformation [SQTRANS], and the session is terminating.
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Wed Sep 22 10:36:17 2010]
    TRANSF_1_1_1> TM_6085 A fatal error occurred at transformation [SQTRANS], and the session is terminating.
    TRANSF_1_1_1> DBG_21511 TE: Fatal Transformation Error.
    WRITER_1_*_1> WRT_8325 Final rollback executed for the target [W_ORDER_PARTY] at end of load
    WRITER_1_*_1> WRT_8035 Load complete time: Wed Sep 22 10:36:16 2010
    In the above log W_PARAM_G table is a warehouse table. We have checked Informatica to find out the issue but there is no error in informatica.
    Thanks in advance.
    Deepak.

    Hi Sandeep,
    Yes but if you see the log ,its connecting to OLTP DB(DB2 for Siebel source DB),which it shouldnt
    KPDP_1:READER_1_1> DBG_21438 Reader: Source is [SFAPROD1], user [siebel]
    LKPDP_1:READER_1_1> CMN_1021 Database driver event...
    *CMN_1021 [DB2 Event Using Array Inserts. connect string = [SFAPROD1]. userid = [siebel]]*
    LKPDP_1:READER_1_1> BLKR_16003 Initialization completed successfully.
    LKPDP_1:READER_1_1> BLKR_16007 Reader run started.
    LKPDP_1:READER_1_1> RR_4049 SQL Query issued to database : (Wed Sep 22 10:36:17 2010)
    LKPDP_1:READER_1_1> CMN_1761 Timestamp Event: [Wed Sep 22 10:36:17 2010]
    LKPDP_1:READER_1_1> RR_4035 SQL Error [
    *[IBM][CLI Driver][DB2/AIX64] SQL0204N "SIEBEL.W_PARAM_G" is an undefined name. SQLSTATE=42704*
    I Have check the mapplet ,its same no issues in that as well.
    Regards,
    Deepak.

  • SQL Error [ORA-00933: SQL command not properly ended

    I have following installed:
    7.9.6 BI Apps
    10.1.3.4 DAC
    8.6.0 Informatica
    Container JDE Enterprise 9.0
    Out of 211 tasks 69 tasks executed successfully.
    Error in workflow [SDE_JDE_PartyOrganisationDimension_Full].
    I have checked the session log file and understand that there is error with the SQL statement.
    Since it is Pre-built, the workflow should have run properly with correct SQl statement. But in this case it is not working.
    Is it because the SQL statement is too long?
    Any help will be greatly appreciated.
    Part of the log file
    RR_4035 : SQL Error [
    ORA-00933: SQL command not properly ended
    Database driver error...
    Function Name : Execute
    SQL Stmt : SELECT
    F0101.ABAN8,F0101.ABALKY,F0101.ABTAX,F0101.ABALPH,F0101.ABMCU,F0101.ABSIC,F0101.ABAT1, F0101.ABTAXC, F0101.ABATP, F0101.ABATR,F0101.ABEFTB,F0101.ABAC01,
    F0101.ABAC02, F0101.ABAC03, F0101.ABAC04, F0101.ABAC05, F0101.ABAC06, F0101.ABAC07, F0101.ABAC08, F0101.ABAC09, F0101.ABAC10, F0101.ABAC11,
    F0101.ABAC12, F0101.ABAC13, F0101.ABAC14, F0101.ABAC15, F0101.ABAC16, F0101.ABAC17, F0101.ABAC18, F0101.ABAC19, F0101.ABAC20, F0101.ABAC21, F0101.ABAC22, F0101.ABAC23,
    F0101.ABAC24, F0101.ABAC25, F0101.ABAC26, F0101.ABAC27, F0101.ABAC28, F0101.ABAC29, F0101.ABAC30,F0101.ABUSER, F0101.ABUPMJ,F0101.ABUPMT,F0101.ABTICKER, F0101.ABEXCHG, F0101.ABDUNS,
    F0101.ABNOE,F0101.ABGROWTHR,F0101.ABYEARSTAR,F0101.ABREVRNG, D.FaxPhoneArea, d.Phonearea, D.Fax AS Fax ,D.Phone As Phone,D.WPUPMJ AS WPUPMJ,R.Email AS Email,R.Internet As Internet,R.EAupmj As EAUPMJ,F0111.WWAN8,F0111.WWIDLN,
    F0111.WWSLNM,F0111.WWGNNM,F0111.WWMDNM,F0111.WWSRNM,F0111.WWUSER,F0111.WWUPMJ,F0111.WWUPMT,F0111.WWNTYP,F0111.WWNICK,F0111.WWPCM,F0116.ALAN8,
    F0116.ALEFTB,F0116.ALADD1,F0116.ALADD2,F0116.ALADD3,F0116.ALADD4, F0116.ALADDZ, F0116.ALCTY1,F0116.ALADDS,F0116.ALCTR, F0116.ALUPMJ,F0116.ALUPMT,F03012.AIAN8, F03012.AICO,F03012.AIMCUR,F03012.AICRCD,F03012.AIACL,
    F03012.AIARPY,F03012.AIDB,F03012.AICRCA,F03012.AIASTY,F03012.AISPYE,F03012.AIOPY,F03012.AIPOPN,F03012.AIDAOJ,F03012.AIAN8R,F03012.AICPGP,F03012.AIFRTH,
    F03012.AIMAN8,F03012.AIUPMJ,F03012.AIUPMT, F03012.AICUSTS,F03012.AITERRID, F03012.AIDTEE, F0401.A6AN8, F0401.A6MCUP, F0401.A6CRRP,F0401.A6CRCA, F0401.A6AN8R,F0401.A6CPGP, F0401.A6FRTH, F0401.A6UPMJ,F0401.A6UPMT, CAST(F0101.ABAC03 AS CHAR(10)) AS FLEX_ATTRIB_1_CHAR,
    CAST(F0101.ABAC23 AS CHAR(10)) AS FLEX_ATTRIB_2_CHAR,
    CAST(F0101.ABAC05 AS CHAR(10)) AS FLEX_ATTRIB_3_CHAR,
    CAST(F0101.ABAC15 AS CHAR(10)) AS FLEX_ATTRIB_4_CHAR,
    CAST(F0101.ABAC09 AS CHAR(10)) AS FLEX_ATTRIB_5_CHAR,
    CAST(F0101.ABAC11 AS CHAR(10)) AS FLEX_ATTRIB_6_CHAR,
    CAST(F0101.ABAC19 AS CHAR(10)) AS FLEX_ATTRIB_7_CHAR,
    CAST(F0101.ABAC21 AS CHAR(10)) AS FLEX_ATTRIB_8_CHAR,
    CAST(F0101.ABAC27 AS CHAR(10)) AS FLEX_ATTRIB_9_CHAR,
    CAST(NULL AS CHAR(10)) AS FLEX_ATTRIB_10_CHAR,
    CAST(F0101.ABAC17 AS CHAR(10)) AS FLEX_ATTRIB_11_CHAR,
    CAST(F0101.ABAC06 AS CHAR(10)) AS FLEX_ATTRIB_12_CHAR,
    CAST(F0101.ABAC08 AS CHAR(10)) AS FLEX_ATTRIB_13_CHAR,
    CAST(F0101.ABAC14 AS CHAR(10)) AS FLEX_ATTRIB_14_CHAR,
    CAST(F0101.ABAC22 AS CHAR(10)) AS FLEX_ATTRIB_15_CHAR,
    CAST(F0101.ABAC28 AS CHAR(10)) AS FLEX_ATTRIB_16_CHAR,
    CAST(F0101.ABAC18 AS CHAR(10)) AS FLEX_ATTRIB_17_CHAR,
    CAST(F0101.ABAC10 AS CHAR(10)) AS FLEX_ATTRIB_18_CHAR,
    CAST(F0101.ABAC20 AS CHAR(10)) AS FLEX_ATTRIB_19_CHAR,
    CAST(NULL AS CHAR(10)) AS FLEX_ATTRIB_20_CHAR,
    CAST(F0101.ABAC30 AS CHAR(10)) AS LINE_OF_BUSINESS,
    CAST(F0101.ABAC14 AS CHAR(10)) AS REGION,
    CAST(NULL AS CHAR(10)) AS ACCNT_AHA_NUM,
    CAST(F0101.ABAC07 AS CHAR(10)) AS ACCNT_CLASS,
    CAST(F0101.ABAC11 AS CHAR(10)) AS ACCNT_HIN_NUM,
    CAST(F0101.ABAC02 AS CHAR(10)) AS ACCNT_REGION,
    CASt(F0101.ABAC08 AS CHAR(10)) AS ACCNT_VALUE,
    CAST(F0101.ABAC16 AS CHAR(10)) AS CUST_CAT_CODE, '0' AS X_CUSTOM
    from F0101
    INNER JOIN F03012 ON F0101.ABAN8 = F03012.AIAN8
    LEFT OUTER JOIN F0401 ON F0101.ABAN8 = F0401.A6AN8
    LEFT OUTER JOIN F0116 ON F0101.ABAN8 = F0116.ALAN8 AND F0101.ABEFTB = F0116.ALEFTB
    LEFT OUTER JOIN F0111 ON F0101.ABAN8 = F0111.WWAN8 AND F0111.WWIDLN =
    LEFT OUTER JOIN (select a.WPAN8 as an8,
    min(case when a.WPPHTP= and a.WPRCK7=b.MinWPRCK7 then WPAR1 end) FaxPhoneArea,
    min(case when a.WPPHTP= and a.WPRCK7=b.MinWPRCK7 then WPPH1 end) Fax,
    min(case when a.WPPHTP= and a.WPRCK7=b.MinWPRCK7 then WPPH1 end) Phone,
    min(case when a.WPPHTP= and a.WPRCK7=b.MinWPRCK7 then WPAR1 end) Phonearea,
    max(wpupmj) as WPUPMJ
    from F0115 a,
    (select WPAN8,WPPHTP ,min(WPRCK7) MinWPRCK7 from F0115
    group by WPAN8,WPPHTP
    ) b
    where a.WPAN8=b.WPAN8 and a.wpidln =0
    group by a.WPAN8)D on f0101.aban8 = D.an8
    LEFT OUTER JOIN (SELECT P.EAAN8 as an8,
    min(case when P.EAETP= and P.EARCK7=Q.MinRCK7E then EAEMAL end) Email,
    min(case when P.EAETP= and P.EARCK7=Q.MinRCK7E then EAEMAL end) Internet,Max(eaupmj) as EAupmj
    FROM F01151 P,
    (SELECT EAAN8,EAETP,MIN(EARCK7) MinRck7E from f01151
    group by eaan8,eaemal,eaetp)Q
    where
    P.EAAN8 = Q.EAAN8 and P.EAIDLN =
    GROUP BY P.EAAN8)R on f0101.aban8 = R.an8
    union
    SELECT
    F0101.ABAN8,F0101.ABALKY,F0101.ABTAX,F0101.ABALPH,F0101.ABMCU,F0101.ABSIC,F0101.ABAT1, F0101.ABTAXC, F0101.ABATP, F0101.ABATR,F0101.ABEFTB,F0101.ABAC01,
    F0101.ABAC02, F0101.ABAC03, F0101.ABAC04, F0101.ABAC05, F0101.ABAC06, F0101.ABAC07, F0101.ABAC08, F0101.ABAC09, F0101.ABAC10, F0101.ABAC11,
    F0101.ABAC12, F0101.ABAC13, F0101.ABAC14, F0101.ABAC15, F0101.ABAC16, F0101.ABAC17, F0101.ABAC18, F0101.ABAC19, F0101.ABAC20, F0101.ABAC21, F0101.ABAC22, F0101.ABAC23,
    F0101.ABAC24, F0101.ABAC25, F0101.ABAC26, F0101.ABAC27, F0101.ABAC28, F0101.ABAC29, F0101.ABAC30,F0101.ABUSER, F0101.ABUPMJ,F0101.ABUPMT,F0101.ABTICKER, F0101.ABEXCHG, F0101.ABDUNS,
    F0101.ABNOE,F0101.ABGROWTHR,F0101.ABYEARSTAR,F0101.ABREVRNG, D.FaxPhoneArea, d.Phonearea, D.Fax AS Fax ,D.Phone As Phone,D.WPUPMJ AS WPUPMJ,R.Email AS Email,R.Internet As Internet,R.EAupmj As EAUPMJ,F0111.WWAN8,F0111.WWIDLN,
    F0111.WWSLNM,F0111.WWGNNM,F0111.WWMDNM,F0111.WWSRNM,F0111.WWUSER,F0111.WWUPMJ,F0111.WWUPMT,F0111.WWNTYP,F0111.WWNICK,F0111.WWPCM,F0116.ALAN8,
    F0116.ALEFTB,F0116.ALADD1,F0116.ALADD2,F0116.ALADD3,F0116.ALADD4, F0116.ALADDZ, F0116.ALCTY1,F0116.ALADDS,F0116.ALCTR, F0116.ALUPMJ,F0116.ALUPMT,F03012.AIAN8, F03012.AICO,F03012.AIMCUR,F03012.AICRCD,F03012.AIACL,
    F03012.AIARPY,F03012.AIDB,F03012.AICRCA,F03012.AIASTY,F03012.AISPYE,F03012.AIOPY,F03012.AIPOPN,F03012.AIDAOJ,F03012.AIAN8R,F03012.AICPGP,F03012.AIFRTH,
    F03012.AIMAN8,F03012.AIUPMJ,F03012.AIUPMT, F03012.AICUSTS,F03012.AITERRID, F03012.AIDTEE, F0401.A6AN8, F0401.A6MCUP, F0401.A6CRRP,F0401.A6CRCA, F0401.A6AN8R,F0401.A6CPGP, F0401.A6FRTH, F0401.A6UPMJ,F0401.A6UPMT, CAST(F0101.ABAC03 AS CHAR(10)) AS FLEX_ATTRIB_1_CHAR,
    CAST(F0101.ABAC23 AS CHAR(10)) AS FLEX_ATTRIB_2_CHAR,
    CAST(F0101.ABAC05 AS CHAR(10)) AS FLEX_ATTRIB_3_CHAR,
    CAST(F0101.ABAC15 AS CHAR(10)) AS FLEX_ATTRIB_4_CHAR,
    CAST(F0101.ABAC09 AS CHAR(10)) AS FLEX_ATTRIB_5_CHAR,
    CAST(F0101.ABAC11 AS CHAR(10)) AS FLEX_ATTRIB_6_CHAR,
    CAST(F0101.ABAC19 AS CHAR(10)) AS FLEX_ATTRIB_7_CHAR,
    CAST(F0101.ABAC21 AS CHAR(10)) AS FLEX_ATTRIB_8_CHAR,
    CAST(F0101.ABAC27 AS CHAR(10)) AS FLEX_ATTRIB_9_CHAR,
    CAST(NULL AS CHAR(10)) AS FLEX_ATTRIB_10_CHAR,
    CAST(F0101.ABAC17 AS CHAR(10)) AS FLEX_ATTRIB_11_CHAR,
    CAST(F0101.ABAC06 AS CHAR(10)) AS FLEX_ATTRIB_12_CHAR,
    CAST(F0101.ABAC08 AS CHAR(10)) AS FLEX_ATTRIB_13_CHAR,
    CAST(F0101.ABAC14 AS CHAR(10)) AS FLEX_ATTRIB_14_CHAR,
    CAST(F0101.ABAC22 AS CHAR(10)) AS FLEX_ATTRIB_15_CHAR,
    CAST(F0101.ABAC28 AS CHAR(10)) AS FLEX_ATTRIB_16_CHAR,
    CAST(F0101.ABAC18 AS CHAR(10)) AS FLEX_ATTRIB_17_CHAR,
    CAST(F0101.ABAC10 AS CHAR(10)) AS FLEX_ATTRIB_18_CHAR,
    CAST(F0101.ABAC20 AS CHAR(10)) AS FLEX_ATTRIB_19_CHAR,
    CAST(NULL AS CHAR(10)) AS FLEX_ATTRIB_20_CHAR,
    CAST(F0101.ABAC30 AS CHAR(10)) AS LINE_OF_BUSINESS,
    CAST(F0101.ABAC14 AS CHAR(10)) AS REGION,
    CAST(NULL AS CHAR(10)) AS ACCNT_AHA_NUM,
    CAST(F0101.ABAC07 AS CHAR(10)) AS ACCNT_CLASS,
    CAST(F0101.ABAC11 AS CHAR(10)) AS ACCNT_HIN_NUM,
    CAST(F0101.ABAC02 AS CHAR(10)) AS ACCNT_REGION,
    CASt(F0101.ABAC08 AS CHAR(10)) AS ACCNT_VALUE,
    CAST(F0101.ABAC16 AS CHAR(10)) AS CUST_CAT_CODE, '0' AS X_CUSTOM
    from F0101
    LEFT OUTER JOIN F03012 ON F0101.ABAN8 = F03012.AIAN8
    INNER JOIN F0401 ON F0101.ABAN8 = F0401.A6AN8
    LEFT OUTER JOIN F0116 ON F0101.ABAN8 = F0116.ALAN8 AND F0101.ABEFTB = F0116.ALEFTB
    LEFT OUTER JOIN F0111 ON F0101.ABAN8 = F0111.WWAN8 AND F0111.WWIDLN =
    LEFT OUTER JOIN (select a.WPAN8 as an8,
    min(case when a.WPPHTP= and a.WPRCK7=b.MinWPRCK7 then WPAR1 end) FaxPhoneArea,
    min(case when a.WPPHTP= and a.WPRCK7=b.MinWPRCK7 then WPPH1 end) Fax,
    min(case when a.WPPHTP= and a.WPRCK7=b.MinWPRCK7 then WPPH1 end) Phone,
    min(case when a.WPPHTP= and a.WPRCK7=b.MinWPRCK7 then WPAR1 end) Phonearea,
    max(wpupmj) as WPUPMJ
    from F0115 a,
    (select WPAN8,WPPHTP ,min(WPRCK7) MinWPRCK7 from F0115
    group by WPAN8,WPPHTP
    ) b
    where a.WPAN8=b.WPAN8 and a.wpidln =0
    group by a.WPAN8)D on f0101.aban8 = D.an8
    LEFT OUTER JOIN (SELECT P.EAAN8 as an8,
    min(case when P.EAETP= and P.EARCK7=Q.MinRCK7E then EAEMAL end) Email,
    min(case when P.EAETP= and P.EARCK7=Q.MinRCK7E then EAEMAL end) Internet,Max(eaupmj) as EAupmj
    FROM F01151 P,
    (SELECT EAAN8,EAETP,MIN(EARCK7) MinRck7E from f01151
    group by eaan8,eaemal,eaetp)Q
    where
    P.EAAN8 = Q.EAAN8 and P.EAIDLN =
    GROUP BY P.EAAN8)R on f0101.aban8 = R.an8
    Oracle Fatal Error
    Database driver error...
    Function Name : Execute
    *****************************************************

    "ORA-00933: SQL command not properly ended"
    this error may be seen due to reasons like the Informatica properties are not set correct.
    Are all the informatica properties set correct? how many ETL jobs completed, what analytic apps are in the ETL process?

  • DBIF_RSQL_SQL_ERROR with SQL error in the database when accessing a table.

    dear all,
      i have done a system copy from production server into quality server. quality was scrapped and freshly installed with SAP then used the DB flush method to carry out the system copy. i had to change the DBS_ORA_SCHEMA in environment variables to SAP<SOURCE SID> from SAPSR3. the sap version is ECC6.0,DB is ORACLE10.2 on WIN NT.
      after MMC opened, i get "SQL error in the database when accessing a table" error is coming. in SM21, I am getting "Transaction Canceled 00 671 ( DBIF_RSQL_SQL_ERROR 20081018130339sibqty_QTY_00 SAPSYS 000 )
    Database error 8103 at SEL access to table TBTCO
    Run-time error "DBIF_RSQL_SQL_ERROR" occurred
    Database error 8103 at FET access to table TBTCP
    Run-time error "DBIF_RSQL_SQL_ERROR" occurred
    > Short dump "081018 130339 sibqty_Q TY_00 " generated
    Transaction Canceled 00 671 ( DBIF_RSQL_SQL_ERROR 20081018130339sibqty_QTY_00 SAPSYS 000
    > Short dump "081018 130339 sibqty_Q TY_00 " generated
    Transaction Canceled 00 671 ( DBIF_RSQL_SQL_ERROR 20081018130339sibqty_QTY_00 SAPSYS 000
    Delete session 001 after error 023
    Database error 8103 at DEL access to table TMSALOGAR
    Run-time error "DBIF_RSQL_SQL_ERROR" occurred
    > Short dump "081018 130432 sibqty_Q TY_00 " generated
    Database error 8103 at FET access to table SNAP
    Run-time error "DBIF_RSQL_SQL_ERROR" occurred
    > Short dump "081018 130432 sibqty_Q TY_00 " generated
    Transaction Canceled SY 002 ( SQL error in the database when accessing a table. )
    Database error 8103 at FET access to table TSP02"
    please find the st22 DUMP:
    ow to correct the error                                                                          |
    Database error text........: "ORA-08103: object no longer exists"
    Internal call code.........: "[RSQL/READ/TBTCO ]"
    Please check the entries in the system log (Transaction SM21).
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"
    "SAPMSSY2" or "SAPMSSY2"
    "INITIATE_JOB_START"
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
    To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
    Display the system log by calling transaction SM21.
    Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
    In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    The exception must either be prevented, caught within proedure
    "INITIATE_JOB_START" "(FORM)", or its possible occurrence must be declared in
    the
    RAISING clause of the procedure.
    |   
    please do me this favor if you know to avoid this problem..
    thanks a lot..

    Hello Anuj,
    This is because the COUNT(*) is returning a value which is longer than the INT4 data type it is expecting. If you restrict the selection by introducing a WHERE clause, then you won't get the dump:
    DATA: dyn_from    TYPE string,
          dyn_where   TYPE string,
          gx_sql_err  TYPE REF TO cx_sy_open_sql_error,
          gv_text     TYPE string.
    dyn_from  = `DD01L INNER JOIN DD02L ON DD02L~AS4LOCAL = DD01L~AS4LOCAL AND DD02L~AS4VERS = DD01L~AS4VERS`.
    dyn_where = `DOMNAME LIKE 'Z%'`.
    TRY .
        SELECT COUNT(*) FROM (dyn_from) WHERE (dyn_where).
        WRITE: / sy-dbcnt NO-GROUPING.
      CATCH:  cx_sy_open_sql_db             INTO gx_sql_err,
              cx_sy_dynamic_osql_semantics  INTO gx_sql_err,
              cx_sy_dynamic_osql_syntax     INTO gx_sql_err.
    ENDTRY.
    IF gx_sql_err IS BOUND.
      gv_text = gx_sql_err->get_text( ).
      WRITE: / gv_text.
    ENDIF.
    BR,
    Suhas

  • ERROR: Error in getting session data: Invalid or Expired Session

    Hi,
    We are using ssrs 2008 r2 and have a report which has links that allow the user to drill down.
    When the link is clicked the same report is run but shows more detail. This works fine but we are now getting the error below for a user. 
    I have increased the time out for the report to 600 seconds.
    Error in getting session data: Invalid or Expired Session: fnxgxhjuveugvd552qfyv3fw
    session!ReportServer_0-6!4b0!03/18/2015-10:51:29:: i INFO: LoadSnapshot: Item with session: fnxgxhjuveugvd552qfyv3fw, reportPath: , userName: doman/user not found in the database
    Any ideas how this can be resolved?

    Hi Nasa1999,
    Based on your error message, If the all the users will sometimes got the same issue, it can be caused by the timeout issue. It happens a lot when rendering big report, and it exceeds the default Session Timeout. You can execute script
    to increase the Session Timeout time. Please refer to following blog:
    Session Timeout during execution. Also increase the value of <Query Timeout> in rsreportserver.config file. This file locate at XX:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer
    Please also check to set the <legacyImpersonationPolicy> back to true(https://support.microsoft.com/en-us/kb/972328).
    Locate the Aspnet.config file in the following folder:
     %windir%\Microsoft.NET\Framework64\v2.0.50727
    If Microsoft Visual Studio is installed on the computer that is running SQL Server 2005, double-click
    Aspnet.config. If Visual Studio is not installed on the computer, follow these steps:
            a. Right-click Aspnet.config, point to
    Open with, and then click Choose program.
            b. In the Programs list, click
    Notepad, and then click OK.
    Locate the following tag in the <runtime> section of the code.
            <legacyImpersonationPolicy enabled="false"/>
    Change the tag to:
            <legacyImpersonationPolicy enabled="true"/>
    Save the Aspnet.config file.
    Reset IIS.
    Try your report again.
    Similar Thread for your reference:
    Using SharePoint Report Viewer
    Web Part: Error in getting session data: Invalid or Expired Session: xxxxxxxxxxx
    If only the one user or several users will got the issue, the issue can be caused by the permission setting, please reference to below blog:
    http://answers.flyppdevportal.com/categories/sqlserver/sqlreportingservices.aspx?ID=3506231b-9f4d-4f5a-884d-157137c56336
    http://blog.goobol.com/the-permissions-granted-to-user-domainusername-are-insufficient-for-performing-this-operation/
    If your problem still exists, please try to provide more details information as below:
    Did you reporting service installed in native mode or sharepoint mode, If in native mode, please try to provide more error message from the log file:
    C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\LogFiles
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

Maybe you are looking for