Sender JDBC (AS400JDBCDriver) Channel with CCSID (KOREA MIX EBCDIC)

Hi
I am connecting to an I Series AS400 and running a select statement over a DB2 table which contains data in Korean (CCSID 933).
This results in corrupt data in the XML in XI, as seen below.
Can anyone help please?
Thanks in advance.
   ÞA¤½Ït 2100ML ¤~õz 2 ¼·h/  ÞA¤½Ït 2100ML ¤~õz 2 ¼·  ÞA¤½Ït 2100ML ¤~õz 2 ¼·

Ok, we have a solution. 
The data field on the AS400 was defined as having CCSID 65535.  This has a special meaning.  A CCSID of 65535 on the AS400 indicates that the data is hex and should not be converted.  When XI was pulling the data, the driver (jt400.jar) didn't know how the data should be converted.  The AS400 guys created a new file, with CCSID = 933 (Korean) for item description field.
Now the results look good:
<?xml version="1.0" encoding="utf-8" ?>
- <ns:F57341 xmlns:ns="http://xx/xi/as400">
- <row>
  <IMDSC1>요시녹스425</IMDSC1>
  </row>
- <row>
  <IMDSC1>BHT</IMDSC1>
  </row>
- <row>
  <IMDSC1>물먹는하마신타원형</IMDSC1>
  </row>
- <row>
  <IMDSC1>라벤다프레쉬</IMDSC1>
  </row>
- <row>
  <IMDSC1>PERF FIR TITAN 150148Y</IMDSC1>
  </row>
- <row>
  <IMDSC1>광택제 브라소 금속용400ML</IMDSC1>
Thanks Stefan.

Similar Messages

  • XI: Sender JDBC Communication Channel is not getting picked the records

    Hi All,
    Here I 'm facing an Issue with my sender JDBC communication Channel. Previously it was working fine but It is not Picking the records from the JDBC table.
    Communication Channel is in active mode only.
    I have checked in RWB communication Channel monitoring there i didn't get any error or success messages but channel is showing healthy status only(Green)
      But i had created the new communication channel..with the same parameters which are in the older communication channel.. and sender agreement level also i had changed.. so now  new channel is working fine.... I didn't understand what is the problem with previous communication channel.
    Thanks

    Hi yadav,
    do you have TWO CCs polling at the same time via JDBC?
    This could be the problem --> a conflict between both CCs.
    Switch off ONE CC:
    Regards Mario

  • Error in Sender JDBC communication channel

    Dear All,
    We have an interface in which we are fetching data from SQL database through sender JDBC communication channel.
    Last week SQL server was upgraded from 2000 to 2008 and the communication channel has stopped working and is giving the following error:
    Database-level error reported by JDBC driver while executing statement 'SELECT * FROM mstemp_tbl WHERE Active='0''. The JDBC driver returned the following error message: 'java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Parameter 1 (""): Data type 0x38 is unknown.'. For details, contact your database server vendor.
    Please let me know if any JDBC drivers are to be installed for SQL 2008 or how can we resolve this.
    Thanks,
    NJ

    Hi,
    You may need to update your JDBC driver to 1.2 or 2.0. Kindly see supportability matrix on this link (question #2):
    http://msdn.microsoft.com/en-us/sqlserver/cc325721
    Regards,
    Jenny

  • Error at sender JDBC communication channel

    Dear All,
    While executing JDBC(MS-Access)-PI-RFC interface, we are getting error in sender JDBC communication channel. The error is as following:
    Error during database connection to the database URL 'jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=
    sappidev\Datatran\Database.mdb' using the JDBC driver 'jdbc.odbc.JdbcOdbcDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Can not establish connection:: SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified'.
    I have checked various posts on forums and as per those no drivers installation is required to access MS-Access database and I am not able to find any post which could solve my problem.
    Kindly guide me on what might be the problem and how this can be resolved.
    Regards,
    NJ

    Hi Nishu,
      That error ALWAYS means your DSN name is incorrect or can't be accessed for some reason (permission). The ODBC part says that the bridge is working.
      But that DSN is 100% wrong or cannot be seen by the user account that the server is running as. Make sure you have a system DSN and not a user one.
    You can refer these....
    http://bytes.com/topic/java/answers/625400-java-sql-sqlexception-microsoft-odbc-driver-manager-data-source-name-not-found
    http://www.daniweb.com/forums/thread13092.html#
    Hope this will help you....
    Regds,
    Pinangshuk.

  • Sender JDBC Commn channel problem - Channel is not reading any data.

    Hi,
    I am referring to the following blog as i have exactly the same problem:
    [Blog|Sender JDBC Commn channel problem;
    I communication channel monitoring i am getting the following logs -
    6/21/10 7:19:07 PM   Processing started
    6/21/10 7:19:07 PM   Retry interval started. Length: 86400.0 seconds
    Here in the channel the poling interval is 86400 seconds.
    Now according to this blog the solution to my issue is "Check whether anything is locked in "Locking adapter" in VA? If there is then just release the lock and restart the comm channel. Note: In "locking adapter" the name will be something like $XIDBAD.JDBC2XI."
    Mine is a PI7.1 system and i am not able to find any thing like this in NWA.
    Can some one please help me on this?
    Thanks & Regards,
    Anshul

    try;
    Goto NWA -> Availability and Performance Management -> Resource Monitoring -> Locks

  • SELECT query in a sender jdbc comm channel

    Hi experts,
    I would like to access a table in a database and select some rows from there but from a specific date onwards. I mean, i want to retrieve only the rows from, lets say, table.date = 2008-04-05 on.
    So i specified somthing like:
    *SELECT * FROM table WHERE date >= to_date(‘2008-04-05’) and status ='0'*
    UPDATE table SET status='1' WHERE date >= to_date(‘2008-04-05’) and status ='0'
    BUT this is throwing following error message:
    The JDBC driver returned the following error message: 'java.sql.SQLException: ORA-00911: invalid character '. For details, contact your database server vendor.
    Could you please provide some support in order to achieve this?
    Thanks in advance and best regards,
    David

    Hi there,
    I tried again without using the 'to_date' function but still doesnt work.
    I have no access to the database so i asked the DB team to make some testing there. They say the date format in the DB is 'dd-mm-YYYY' but XI receives 'YYYY-mm-dd' via jdbc adapter!!!!
    So, at first i typed 'YYYY-mm-dd' in the query and this was the result:
    Database-level error reported by JDBC driver while executing statement 'SELECT * FROM albaranes,lineas WHERE albaranes.albaran = lineas.albaran and albaranes.fecha_albaran >= ‘2004-06-19’ and albaranes.sap_status ='3''. The JDBC driver returned the following error message: 'java.sql.SQLException: ORA-00911: invalid character '. For details, contact your database server vendor.
    and shortly afterwards i used 'dd-mm-YYYY' and this is what i got:
    Database-level error reported by JDBC driver while executing statement 'SELECT * FROM albaranes,lineas WHERE albaranes.albaran = lineas.albaran and albaranes.fecha_albaran >= '19-06-2004' and albaranes.sap_status ='3''. The JDBC driver returned the following error message: 'java.sql.SQLException: ORA-01843: not a valid month '. For details, contact your database server vendor.
    sap_status field is of string type so this is not the point, i think.
    Could you please advice?
    Best regards,
    David
    Edited by: Domingo Jimenez Navarrete on May 5, 2008 12:18 PM

  • Problem with Sender JDBC CC

    Hi,
    Sender JDBC communication channel is working fine first time to pull the data and from database.  After pulling the data from the database i just stop the communication channel and start it to pull the data again. but it is not pulling the data and the adapter status is green in functioning. If i create the new communication channel with the same old CC parameters its pulling data again.
    As per the sdn fourms to resolve the same, i coulnt not find any lock JDBC adapter with name $XIDBAD.JDBC2XI in Visula Amin.
    Please share your valueble inputs on the same.
    Thanks

    >My Issue is, First time JDBC CC is working fine. If i try pull the data again, its not working. it is showing successful status in the CC >monitoring. If i create the new communication channel with the values of the current CC and give it into the agreement, its working again.
    Check whether your select query followed by update in the communication channel stops returning resultset after one time.  I mean update does some fields update and so reread the data using select statement again stops returning data.  If that is not the issue then search forum for SAP notes related to JDBC adapter fix.

  • Sender RFC and JDBC communication channels required to be activated

    Hello Guys,
    Whenever we have a Oracle restart after the server is shut down for maintainence . The sender JDBC communication channel does not poll and we have to activate the channel again in the Integration Directory to make it work, is there any way to make it work automatically.
    Similar is tha case with the sender RFC communication channel.
    Allthough the component monitoring shows green button for the JDBC, RFC communication channel.
    In case of the JMS channel (sender) the channels are in red.
    Thanks for your help.

    HI
    There is no automatic ways to restart channel that you have to manually start.
    You need to stop the channels first before getting oracle server down for maintenance. This will save from errors. Maximum what you can do is to start stop channel using a program externally but that require development.
    Start/Stop using RWB
    Starting / Stopping of Communication Channel from RWB
    Start/Stop without using RWB
    Control Communication Channels Externally without using RWB
    Thanks
    Gaurav

  • Sender JDBC to Receiver RFC scenario

    Hi All,
    I have to configure an scenario of sender JDBC to receiver RFC wherein SAP PI will be pulling data from third party database (Oracle).
    Since I am configuring such scenario of sender JDBC, I want help on every important key aspects/prerequisites of configuring sender JDBC adapter/channel. I want to understand about Database Connection, Processing Parameters, etc. details while configuring sender JDBC channel and their significance/relevance.
    Also I need guidelines about the source data structure (message type or external definition) to be used/created in ESR.
    How sender JDBC channel and receiver JDBC channel differs from each other?
    Please guide me on this.
    Thanks & Regards,
    Amit Patil

    Hi Amit,
    First of all you should read the sap.help documentation:
    Configuring the Sender JDBC Adapter - Advanced Adapter Engine - SAP Library
    Configuring the Receiver JDBC Adapter - Advanced Adapter Engine - SAP Library
    Later, you can read Rajs's blog to advance concepts and perfomance JDBC Receiver scenarios best practices part-1
    Finally, search the other blogs and documents in the SCN.
    How sender JDBC channel and receiver JDBC channel differs from each other?
    JDBC sender always does a poll to a DB table (with join some tables) in wich table you will need a field checkbox to mark the registers read, and the the receiver JDBC you can do a typical SQL construction like SELECT, INSERT, DELETE, etc. Both cases need the JDBC DB driver installed (check the SAP notes for this, also you can find some examples in the SCN:http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8000cffc-6b92-2d10-3493-f2ac1399242f?quicklink=index&…  PI/XI: deploy a JMS/JDBC driver without JSPM? ).
    Regards.

  • Sender JDBC Communication Update SQL Command Problem!

    Hi all,
    I am trying to do a SENDER JDBC Scenario in XI.
    I fetch the Records from the table Once per day based on the Current Date.
    I do not have any Update Credentials in the table.
    I can only perform Select Querry.
    But when i am trying to configure the SENDER JDBC Channel its asking me to enter value for Update SQL Command in Sender JDBC communication channel Process Parameters.
    Its not accepting BLANK or ' * '  Values.
    But i have only Select Querry credentials in the table. I can only pick the values cant Update the tables but.
    In the Above scenario how can i configure the Sender JDBC CC without Updating the Table after fetching the value?
    Please Advice
    Regards,
    Senthilprakash.

    Hi,
    Specify the Update SQL Statement value as .
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    Thanks
    SaNv...
    Edited by: Sãnthosh Kûmãr  V on Oct 8, 2008 10:44 AM
    Edited by: Sãnthosh Kûmãr  V on Oct 8, 2008 10:45 AM

  • Accessing MS Access Database file from Sender JDBC in PI 7.1

    Dear Experts,
    I am on SAP PI 7.1 SP00. PI Server is installed on LINUX Server.
    I am doing an scenario, where i am going to process the .mdb file through Sender JDBC Communication channel . I have put .mdf file in FTP server.
    When I check in communication channel Monitoring getting below error :
    Error during database connection to the database URL 'jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=//pi_integ/abc.mdb' using the JDBC driver 'jdbc.odbc.JdbcOdbcDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Can not establish connection:: SQLException: [unixODBC][Driver Manager]Data source name not found, and no default driver specified'
    I have seen many blog, but I am helpless. Could you kindly provide your suggestions.
    Really appreciated your efforts and your valuable time.
    Ahmed.

    To connect to an Access Database, I create an ODBC data source and use the "sun.jdbc.odbc.JdbcOdbcDriver".

  • Need help reg sender JDBC adapter

    Hi,
    I am having a requirement like, i need to fetch the data from two data base tables. and after fetching the data, i need to update those two tables.
    For selecting the data from two tables, two select statements i need to write, how i can give two select statements in sender JDBC comm channel.
    In sender JDBC channel, only one update query we can give...how i can update two tables?
    Regards,
    Venkata Ramana.

    Hello Venkat,
    For your requirement, go for stored procedure and find the below thread.
    Fetching data from JDBC without using JDBC sender adapter
    Re: Executing an Oracle Stored Procedure from Sender JDBC adapter
    Re: Sender JDBC adapter not picking up data
    Re: Retrive data from two diffirent tables
    hope this will help you
    Thanks,
    Venky

  • JDBC Comm Channel not Polling data

    Hello,
    In a JDBC to IDoc scenario, we have a sender JDBC communication channel which was set to poll for data in every 60 sec. It was working fine for long and suddenly it has stopped polling data. It's status was green and the channel was active.We couldn't find the reason so we configured one more comm channel keeping all the parameters same, and it has started working. We couldn't understand why it was not working earlier. Can any body please highlight on this?
    Regards,
    Sugata

    Hi,
    @Barry,
    Yes, it dont poll data from database although it was supposed to do so. We have tried to make some changes and then undo changes and save+activate. But that hasn't work.
    @ PT Rao,
    We tried that too, that also hasen't work.
    @ Sumit,
    could you please elaborate?
    Sugata

  • Schedule a sender JDBC adapter

    Can I schedule my sender JDBC adapter to execute and pick up row at 2pm everyday?
    I see an option of poll intervals but not sure how to schedule. Any ideas?
    Thanks,
    Venkat.

    Hi,
    Can I schedule my sender JDBC adapter to execute and pick up row at 2pm everyday? - Yes, go to RWB - component monitoring - adapter engine - comm channel monitoring........in it, you will see a option Availability Time Planning at the right side............click it and then schedule your sender JDBC comm channel.
    Regards,
    Rajeev Gupta

  • Sender JDBC channel stop send messages

    Hi,
    We have  a sender JDBC scenario which is working correctly time ago.
    However, sometimes this channel   stop sending messages although the Adapter Monitor shows that they regularly execute the polling interval.
    We have confirmed that there isn't any connection from XI to target BD.
    In other ocasions, we  are required to restart XI and, after that, this scenario works without any problem.
    What could be the cause?
    How to solve it?
    thanks, in advance
    Carme

    This is rather strange.
    A few of my observations -
    1. When the sender jdbc adapter polls , and there is no data matching the select query, you will still see a message id in Comm Channel Monitoring but with no hyper link.
    2. The actual message id / message is created only if there is data in the database and also the hyper link is enabled.
    3. If you are confident that the data is being commited on the database and that it is XI not pulling the right data, one issue might be - driver issues. Can you check if you have the right compatible drivers for your database on XI server - is there a new'er driver available?
    We hit a similar issue with JMS adapters and we learnt that the JMS server had been updated as a result of which a new driver had to be installed which we did not until we hit intermittent problems like these.
    Hope this helps
    Regards
    Bhavesh

Maybe you are looking for