Please confirm is the maximum Text Data Type Size within MDS 4000 characters

Hi,
Please confirm is the maximum Text Data Type Size within MDS 4000 characters?
If you could give me a link referencing my answer to the above question that would be even better.
Kind Regards,
Kieran.
Kieran Patrick Wood http://www.innovativebusinessintelligence.com http://uk.linkedin.com/in/kieranpatrickwood http://kieranwood.wordpress.com/

However I am extending a system which stores dynamic SQL within an MDM column to facilitate a generic extract and load process. I am sure you are already aware in this type of scenario the business rules behind a piece of dynamic SQL defining a generic
extract process could easily exceed 4000 characters.
Kieran Patrick Wood http://www.innovativebusinessintelligence.com http://uk.linkedin.com/in/kieranpatrickwood http://kieranwood.wordpress.com/

Similar Messages

  • PLEASE HELP!!!  Problem with Java and SQLServer Text data type

    Hi there,
    I have a java app. that reads from an MS SQLServer database. Originally, all long text fields were declared as NVARCHAR(200). The program worked fine.
    Someone then advised that I change all long text fields to the TEXT data type. The program now crashes out with the following Exception:
    "java.sql.SQLException: [JRun][SQLServer JDBC Driver]This ResultSet can not re-read row data for column 25."
    Basically, I have a method that retrieves a resulset and iterates through it. The resultset is passed to another method during each iteration. In the example below, the 'specialNote' field used to be NVARCHAR(200). The code worked fine. Then when it was changed to TEXT, the program no longer works with the above Exception thrown.
    Anyone know any special way SQLServer TEXT data types need to be handled?
    Thanks for any advice!
    The code looks something like this in functionality:
    <CODE>
    public void method1 (Connection conn)
    Resultset rs = conn.createStatement().executeQuery("SELECT * FROM ProductBB");
    while (rs.next())
    method2(rs);
    public void method2 (ResultSet rs)
    String str = rs.getString("specialNote");
    </CODE>

    Hi JWoods,
    Thanks for the suggestion. I originally had the code do what you suggested, ie, get the resultset then retrieve the data all within the same method. The data is then used to set properties in an object.
    When I had to create another method that also retrieved a resultset but using a different primary key, then also use the returned data to set the properties in the same type of object, I didn't want to repeat the setter code. That's why I decided to pass the resultsets to the same method that did the property setting.
    Unfortunately, it stopped working with the data type change.
    Any other thoughts?

  • Some users are experiencing difficulty opening certain docx files sent as email attachments. These files contain content controls to protect data in the document. Could someone please confirm that the content controls are the reason the files won't open.

    Some users are experiencing difficulty opening certain docx files sent as email attachments. These files contain content controls to protect data in the document. Could someone please confirm that the content controls are the reason the files won't open.
    These files open correctly when sent as doc files.
    Thanks

    Congrats to Saeid, Ronen, and Ricardo! Big thank you to all our contributors!
     Transact-SQL Technical Guru - February 2015  
    Saeid Hasani
    T-SQL: How the Order of Elements in the ORDER BY Clause Implemented in the Output Result
    Durval Ramos: "Very well structured and with examples that clarify how a T-SQL statement can change the data output order."
    Richard Mueller: "Good use of Wiki guidelines and great examples."
    Ronen Ariely
    Free E-Books about SQL and Transact-SQL languages
    Richard Mueller: "An excellent collection and a great idea."
    Durval Ramos: "A good initiative. Very useful !!!"
    Ricardo Lacerda
    Declare Cursor (Transact-SQL) versus Window with Over - Running Totals
    - Accumulated Earnings
    Durval Ramos: "The "Window function" sample was well presented, but it was unclear how the chart was generated."
    Richard Mueller: "A new idea that can be very useful. Grammar needs work"
    Also worth a mention were the other entries this month:
    [T-SQL] Retrieve Table List with Number of Rows by
    Emiliano Musso
    Richard Mueller: "Short but sweet solution to basic question."
    Durval Ramos: "A simple T-SQL script, but useful."
    [T-SQL] Search for Missing Values within a Numerical Sequence by
    Emiliano Musso
    Richard Mueller: "Clever solution with good code examples."
    Durval Ramos: "You need add more details about development of the idea and create a "Conclusion" section to easy understanding."
    [T-SQL] Converting Multiple Rows into HTML Format single ROW by
    Maheen Khizar (Bint-e-Adam)
    Durval Ramos: "In some situations, It's need to consume and format HTML tags for a UI, but It's important to remember that Best Practices recommend this formatting process preferably in Presentation Layer"
    Richard Mueller: "A great new idea. Some features need more explanation. Avoid first person."
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • How to have a member formula to reference a text data type member?

    Hi there
    I am just wondering how do you use a member formula to grab the text in a text data type member?
    Our situation is that we have a text data type member in the Accounts dimension (called Project Manager). This is a free text field users can input a project manager's name. However, for our reporting purposes we want to report the Project Manager next to a list of Accounts (i.e. in the same row). The way we have tried to achieve this is to create dynamic calc text data type members in the Version dimension that simply refer to the Project Manager account using the reference function (->).
    Although this works, when we run a report we get a number (assuming this is just the reference ID to the RDBMS field) instead of the actual name. We have set the dynamic calc member to text data type as well. We are using a planning connection as well.
    Does anyone know how to make this work?
    Thanks

    Are you talking about FR reports, does it display the text if you reference the original member using a planning connection, if it does then it probably looks like you can't do it using the method you are trying as it is an essbase formula and in theory it will just return a number.
    Cheers
    John
    http://john-goodwin.blogspot.com

  • Using Calc Manager to update values for Members with Text Data Type

    Hi All,
    In my outline I have a member of text data type. The purpose is to allow users to be able to enter comments.
    Each line item is created through a business rule and I am prompting the user to enter the key values at the launch of the calc manager rules. I want to be able to prompt the user for the comments in the calc manager rule because I know that it supports variables of type string. However I am unable to assign this string variable directly to the member.
    I appreciate that essbase only stores numeric data and that all text data type members really store numeric values which are basically the id's of the text string stored in a relational table by planning. however I cannot update the database table through calc manager and then bring in the generated id. Is there any way I can do this?
    I don't want to skip this field in the calc manager rule and expect the user to enter the comments AFTER the line item has been created because the users want this to be a mandatory field and insist that a new line item not be created unless comments are specified.
    Many thanks in advance for any help I can get.
    Shehzad

    If the comments are a set definition you could you smart lists in your planning forms.
    create this in your smart list
    xxxx = 1
    yyyy = 2

  • Where we can find Short Text data type attachment

    Hi,
    file type attachements are store in fnd_lob.
    Where we can find Short Text data type attachment in oracle apps.
    Regards

    Hi,
    You can find short text data type attachments in FND_DOCUMENTS_SHORT_TEXT table.
    Please also refer link:
    Oracle Apps Gurus: Attachments in Oracle
    Attachments in Oracle Applications
    Hope this helps!!!
    Best Regards,

  • How to replace content in text data type?

    How to replace content in text data type? 
    when we sending the mails we are taking content from the database.
    The data is maintained in text data type column. Now i have to replace some of content in mail content
    (text data type column) from database. 
    I tried by using REPLACE function but data is truncated

    The data is maintained in text data type column.
    Hello,
    See REPLACE (Transact-SQL) => "If
    string_expression is not of type varchar(max) or
    nvarchar(max), REPLACE
    truncates the return value at 8,000 Bytes"
    You may should consider to Change the data type from "Text" (deprecated) to NVarChar(max).
    Otherwise you have to use
    UPDATETEXT (Transact-SQL) for the text data type.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Importing an SQL Server TEXT data type field in Oracle - problem with LONG

    Hello,
    I work in Oracle 9i and I created a view on a distant SQL Server database that contains a TEXT data type field. But I have a problem when I select that field in Oracle; I have the following error message: "ORA-00997: forbidden use of LONG data type".
    Could anybody have a solution for me, to solve that problem?
    Thanks a lot!

    It is very difficult to suggest anything without seeing your code.  I don't even know if what you are seeing is the actual value or an error code.  Often, negative numbers are indicative of error codes. 
    For instance -1 could mean that you have an invalid reference or path, etc...
    Can you post your code?

  • Regarding Changing the Namespace And Data Type in XSD File

    Hi All,
    I am Doing File -
    IDOC Interface.
    I have XSD File For File Sysyetm and IDOC For ECC.
    In XSD File I Have Different Name Space And Data Type ,
    I Created the Data Type as Same as the XSD File Data type
    I Have Namespaces Are Different,
    So,I Changed the Namespace in the XSD File with the New Namespace Which I created in IR.
    I Changed in Two Places Like this
    <b><xsd:schema targetNamespace="http://Sample1.com/xi/file;" xmlns="http://Sample1.com/xi/file;"</b>
    But it is giving Error lik this
    <b>Cannot load schema with the target namespace http://xxx.com/xi/xx/vamsi/100 to namespace http://Sample1.com/xi/file;</b>
    Regards
    Vamsi

    Hi Vasanth,
    Thats what I am Asking
    I want to Import XSD File in Data Type
    Before I Import the XSD File into Data type  I changed the Namespace in the XSD to My Namespace Which is in IR. And I Created the Data Type Name in IR Which I Have in XSD FIle .
    So I Am Getting this Error
    Please Let me Know Wat to do
    Regards
    Vamsi

  • I like to know the table name where all the Interface name ( Data Type and

    Dear Friends,
    I like to know the table name where all the Interface name ( Data Type and Message Type in IR ) is stored.
    Thanks.

    Hi,
    Please find the repository API’s in the SE24 class builder that can be used for accessing repository objects from the ABAP stack of SAP XI. Check CL_SRAPI* in the SE24 transactions for digging further.
    location of interface objects
    CL_SRAPI_DATA_TYPE---data type
    CL_SRAPI_DATA_TYPE_ENH---data type enhancement
    CL_SRAPI_FAULT_MESSAEG_TYPE--fault message type
    CL_SRAPI_MESSAGE_TYPE--message type
    CL_SRAPI_INTEGRATION_SCENARIO--integration scenario
    have a look at the table SXMSPMAST, SXMSCLUP & SXMSCLUR
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4fbe7b8e-0a01-0010-b69b-b7e717378f22#search=%22SXMSPMAST%20%2B%20XI%22
    That document has references to lot of tables maybe it can be of use to u.
    Look at the below thread for SXMB_MONI tables and Function module:
    In Which Database Table the Messages are Stored in XI
    Message Monitoring  --> corresponding tables?
    Edited by: Dharamveer Gaur on Oct 8, 2008 10:40 AM

  • Hyperion Planning:Text Data Type does not take text

    Hi,
    I am working on a asset addition form, and we have a member set up in a dimension that captures details, which takes the Description of the Asset.
    We set this up as a text data type, but when we try entering even a single character, it does not accept it.
    Can anyone clarify if this is possible?
    THanks,
    ANindyo

    Hi John,
    Thanks for replying.
    Can you also tell me whether there is a logic or suite I should follow in positioning the dimension marked with a test data type member, or setting its evaluation order?
    Thanks Again,
    Anindyo

  • Data type size for the view column

    I am creating a view from base table using substr() for some fields. The data type size of the column in the view becomes twice the size of the corresponding column in the base table. Example
    SQL> create table temp_sat(name varchar2(20));
    Table created.
    SQL> create view temp_view as select substr(name,1,10) name from temp_sat;
    View created.
    SQL> desc temp_view
    Name Null? Type
    NAME VARCHAR2(40)
    Can i specify the size of the column while creating view

    satish asnani wrote:
    I am creating a view from base table using substr() for some fields. The data type size of the column in the view becomes twice the size of the corresponding column in the base table. Example
    SQL> create table temp_sat(name varchar2(20));
    Table created.
    SQL> create view temp_view as select substr(name,1,10) name from temp_sat;
    View created.
    SQL> desc temp_view
    Name                                      Null?    Type
    NAME                                               VARCHAR2(40)Can i specify the size of the column while creating viewHi,
    Which platform and Oracel DB version?
    I had try to replicate, but I can't:
    SQL> create table t_v
      2  (id varchar2(20));
    Tabla creada.
    SQL> desc t_v
    Nombre                                                            ┐Nulo?   Tipo
    ID                                                                         VARCHAR2(20)
    SQL> r
      1  create view v_t_v
      2  as
      3  select substr(id,1,10) id
      4* from t_v
    Vista creada.
    SQL> desc v_t_v
    Nombre                                                            ┐Nulo?   Tipo
    ID                                                                         VARCHAR2(10)John

  • Sysgen : How to read the input port data type, width and rate dynamically in a masked subsystem ?

    Hello everybody,
         I am designing a general purpose block in system generator. I pass the user parameters to the block through masking it. Some user parameters can change the block configuration. The input port data type, width and rate can also affect the block configuration.
         The problem is that these values (input port data type, width and rate) are subject to change. So I should read them dynamically, then change the block configuration through programming the "Initialization Commands" field. But unfortunately there is no straight way to read the input port information.
         There are some methods in for example the "Black Box". these are:
    input_width = this_block.port('din').width;
    input_rate = this_block.port('din').rate;
    But these methods are not applicable to a masked subsystem.
    I have tried other ways also. You can find them below. None of them worked.
    Does anybody know how can I solve this problem?
    Other ways I tried:
    1)
    design_name([],[],[],'compile')                                       
    q=get_param(gcb,'PortHandles');
    get_param(q.Inport,'CompiledPortDataType')
    get_param(q.Inport,'CompiledPortWidth')
    get_param(q.Inport,'CompiledPortDimensions')
    design_name([],[],[],'term')
    2)
    ssGetInputPortDataType
    3)
    ts = Simulink.Block.getSampleTimes([gcb '/Input'])
     

    Today we rely on Simulink to perform parameterization of your designs in two ways:
    Parameterizable Subsystems and Blocks : Parameters themselves can be MATLAB expressions that need to be evaluated for which we need the MATLAB interpreter
    The very useful Rate and Type propagation or Simulink compilation that allows us to specify types & rates in one location that gets systematically propagated to all.
    To truly make the HDL Netlist that is generated from SysGen parameterizable, we would have to implement some of this capability in the HDL netlist itself by:
    Using Generics(VHDL) or Parameters(Verilog) - We would have to capture the bit width(type) propagation through levels of hierarchies and finally parameterize the IP itself based on this value
    Since IP itself does not have this capability through generics, we would have to package a separate tcl script that updates the IP parameterization appropriately in response to top level parameters(or GUI parameters)
    Interpreting MATLAB expressions and translating them into VHDL/Verilog expressions (alternatively tcl expressions of IP). In simulink, mask parameters can be passed from one level to the next. Also parameterization of a block can be composed of Matlab expressions using variables from ancestor masks & the MATLAB interpreter – so we will need to somehow capture that as well.
     

  • Errors when creating a PDF: Failed to create a Data Manager. Please ensure that the Document Services Data Manager service is running

    When a PDF is created through the web portal BW gives the following error:
    Log ID: 00505688424200660000001000001D940005122BD8D83308
    Initial cause
    Message: Processing exception during a "Render" operation.
    Request start time: Thu Mar 26 08:20:15 CET 2015
    com.adobe.ProcessingException: Failed to create a Data Manager. Please ensure that the Document Services Data Manager service is running
    #1.5 #00505688424200690000001200001D940005122BD8D7D9B9#1427354415038#com.adobe.service.J2EEConnectionFactoryManagerPeerImpl#com.adobe/AdobeDocumentServices#com.adobe.service.J2EEConnectionFactoryManagerPeerImpl#ADSUSER#101#SAP J2EE Engine JTA Transaction : [03bffffffb7ffffffb2008ffffffe9]#P0VAPPSAPB1_BWP_3913650##5ebdcfeed38811e4ada90000003bb7b2#SAPEngine_Application_Thread[impl:3]_35##0#0#Fatal##Plain###Failed to allocate a connection due to an exception (the full stack trace is logged below): org.omg.CORBA.COMM_FAILURE: Could not connect to host and port localhost:3333, useSSL=false. There are not working dispatcher nodes.  vmcid: SUN  minor code: 2  completed: No#
    #1.5 #00505688424200690000001300001D940005122BD8D7DC9A#1427354415039#com.adobe.service.J2EEConnectionFactoryManagerPeerImpl#com.adobe/AdobeDocumentServices#com.adobe.service.J2EEConnectionFactoryManagerPeerImpl#ADSUSER#101#SAP J2EE Engine JTA Transaction : [03bffffffb7ffffffb2008ffffffe9]#P0VAPPSAPB1_BWP_3913650##5ebdcfeed38811e4ada90000003bb7b2#SAPEngine_Application_Thread[impl:3]_35##0#0#Fatal##Plain###org.omg.CORBA.COMM_FAILURE: Could not connect to host and port localhost:3333, useSSL=false. There are not working dispatcher nodes.  vmcid: SUN  minor code: 2  completed: No
    org.omg.CORBA.COMM_FAILURE: Could not connect to host and port localhost:3333, useSSL=false. There are not working dispatcher nodes.  vmcid: SUN  minor code: 2  completed: No
      at com.sap.engine.services.iiop.server.CommunicationLayerImpl.retrieveDispAndConnID(CommunicationLayerImpl.java:544)
      at com.sap.engine.services.iiop.server.CommunicationLayerImpl.getDelegate(CommunicationLayerImpl.java:608)
      at com.sap.engine.services.iiop.internal.ClientORB.getDelegate(ClientORB.java:579)
      at com.sap.engine.services.iiop.CORBA.CORBAObject.<init>(CORBAObject.java:49)
      at com.sap.engine.services.iiop.CORBA.IOR.read_object(IOR.java:111)
      at com.sap.engine.services.iiop.internal.ClientORB.string_to_object(ClientORB.java:536)
      at com.sap.engine.system.ORBProxy.string_to_object(ORBProxy.java:290)
      at com.adobe.service.J2EEConnectionFactoryManagerPeerImpl.getConnection(J2EEConnectionFactoryManagerPeerImpl.java:140)
      at com.adobe.ads.remote.ServiceLocator.lookupDataManager(Unknown Source)
      at com.adobe.ads.remote.ServiceLocator.getDataManager(Unknown Source)
      at com.adobe.ads.remote.EJB_DataManager.getDataManager(Unknown Source)
      at com.adobe.ads.remote.EJB_DataManager.<init>(Unknown Source)
      at com.adobe.ads.request.Request.getDataManager(Unknown Source)
      at com.adobe.ads.operation.Render.execute(Unknown Source)
      at com.adobe.ads.operation.ADSOperation.doWork(Unknown Source)
      at com.adobe.ads.request.Request.processOperations(Unknown Source)
      at com.adobe.ads.request.Request.process(Unknown Source)
      at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)
      at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
      at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:120)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:331)
      at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
      at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:174)
      at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:81)
      at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:90)
      at SoapServlet.doPost(SoapServlet.java:47)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1060)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
      at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
      at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
      at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
      at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
      at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
      at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    #1.5 #00505688424200690000001500001D940005122BD8D7DDF5#1427354415039#com.adobe.AdobeDocumentServices#com.adobe/AdobeDocumentServices#com.adobe.AdobeDocumentServices#ADSUSER#101#SAP J2EE Engine JTA Transaction : [03bffffffb7ffffffb2008ffffffe9]#P0VAPPSAPB1_BWP_3913650##5ebdcfeed38811e4ada90000003bb7b2#SAPEngine_Application_Thread[impl:3]_35##0#0#Error#1#/System/Server#Plain###Exception getting DataManager reference, trying again...#
    #1.5 #00505688424200690000001700001D940005122BD8D7EF1B#1427354415044#com.adobe.service.J2EEConnectionFactoryManagerPeerImpl#com.adobe/AdobeDocumentServices#com.adobe.service.J2EEConnectionFactoryManagerPeerImpl#ADSUSER#101#SAP J2EE Engine JTA Transaction : [03bffffffb7ffffffb2008ffffffe9]#P0VAPPSAPB1_BWP_3913650##5ebdcfeed38811e4ada90000003bb7b2#SAPEngine_Application_Thread[impl:3]_35##0#0#Fatal##Plain###Failed to allocate a connection due to an exception (the full stack trace is logged below): org.omg.CORBA.COMM_FAILURE: Could not connect to host and port localhost:3333, useSSL=false. There are not working dispatcher nodes.  vmcid: SUN  minor code: 2  completed: No#
    #1.5 #00505688424200690000001800001D940005122BD8D7F204#1427354415045#com.adobe.service.J2EEConnectionFactoryManagerPeerImpl#com.adobe/AdobeDocumentServices#com.adobe.service.J2EEConnectionFactoryManagerPeerImpl#ADSUSER#101#SAP J2EE Engine JTA Transaction : [03bffffffb7ffffffb2008ffffffe9]#P0VAPPSAPB1_BWP_3913650##5ebdcfeed38811e4ada90000003bb7b2#SAPEngine_Application_Thread[impl:3]_35##0#0#Fatal##Plain###org.omg.CORBA.COMM_FAILURE: Could not connect to host and port localhost:3333, useSSL=false. There are not working dispatcher nodes.  vmcid: SUN  minor code: 2  completed: No
    org.omg.CORBA.COMM_FAILURE: Could not connect to host and port localhost:3333, useSSL=false. There are not working dispatcher nodes.  vmcid: SUN  minor code: 2  completed: No
      at com.sap.engine.services.iiop.server.CommunicationLayerImpl.retrieveDispAndConnID(CommunicationLayerImpl.java:544)
      at com.sap.engine.services.iiop.server.CommunicationLayerImpl.getDelegate(CommunicationLayerImpl.java:608)
      at com.sap.engine.services.iiop.internal.ClientORB.getDelegate(ClientORB.java:579)
      at com.sap.engine.services.iiop.CORBA.CORBAObject.<init>(CORBAObject.java:49)
      at com.sap.engine.services.iiop.CORBA.IOR.read_object(IOR.java:111)
      at com.sap.engine.services.iiop.internal.ClientORB.string_to_object(ClientORB.java:536)
      at com.sap.engine.system.ORBProxy.string_to_object(ORBProxy.java:290)
      at com.adobe.service.J2EEConnectionFactoryManagerPeerImpl.getConnection(J2EEConnectionFactoryManagerPeerImpl.java:140)
      at com.adobe.ads.remote.ServiceLocator.lookupDataManager(Unknown Source)
      at com.adobe.ads.remote.ServiceLocator.getDataManager(Unknown Source)
      at com.adobe.ads.remote.EJB_DataManager.getDataManager(Unknown Source)
      at com.adobe.ads.remote.EJB_DataManager.<init>(Unknown Source)
      at com.adobe.ads.request.Request.getDataManager(Unknown Source)
      at com.adobe.ads.operation.Render.execute(Unknown Source)
      at com.adobe.ads.operation.ADSOperation.doWork(Unknown Source)
      at com.adobe.ads.request.Request.processOperations(Unknown Source)
      at com.adobe.ads.request.Request.process(Unknown Source)
      at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)
      at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
      at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:120)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:331)
      at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
      at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:174)
      at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:81)
      at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:90)
      at SoapServlet.doPost(SoapServlet.java:47)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1060)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
      at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
      at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
      at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
      at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
      at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
      at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    #1.5 #00505688424200690000001900001D940005122BD8D7F530#1427354415045#com.adobe.AdobeDocumentServices#com.adobe/AdobeDocumentServices#com.adobe.AdobeDocumentServices#ADSUSER#101#SAP J2EE Engine JTA Transaction : [03bffffffb7ffffffb2008ffffffe9]#P0VAPPSAPB1_BWP_3913650##5ebdcfeed38811e4ada90000003bb7b2#SAPEngine_Application_Thread[impl:3]_35##0#0#Fatal##Plain###Fatal exception on second attempt at getting DataManager reference
    com.adobe.ProcessingException: CORBA system exception instantiating a DataManager from the ConnectionFactory
      at com.adobe.ads.remote.ServiceLocator.lookupDataManager(Unknown Source)
      at com.adobe.ads.remote.ServiceLocator.getDataManager(Unknown Source)
      at com.adobe.ads.remote.EJB_DataManager.getDataManager(Unknown Source)
      at com.adobe.ads.remote.EJB_DataManager.<init>(Unknown Source)
      at com.adobe.ads.request.Request.getDataManager(Unknown Source)
      at com.adobe.ads.operation.Render.execute(Unknown Source)
      at com.adobe.ads.operation.ADSOperation.doWork(Unknown Source)
      at com.adobe.ads.request.Request.processOperations(Unknown Source)
      at com.adobe.ads.request.Request.process(Unknown Source)
      at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)
      at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
      at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:120)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:331)
      at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
      at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:174)
      at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:81)
      at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:90)
      at SoapServlet.doPost(SoapServlet.java:47)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1060)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
      at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
      at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
      at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
      at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
      at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
      at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Caused by: org.omg.CORBA.COMM_FAILURE: Could not connect to host and port localhost:3333, useSSL=false. There are not working dispatcher nodes.  vmcid: SUN  minor code: 2  completed: No
      at com.sap.engine.services.iiop.server.CommunicationLayerImpl.retrieveDispAndConnID(CommunicationLayerImpl.java:544)
      at com.sap.engine.services.iiop.server.CommunicationLayerImpl.getDelegate(CommunicationLayerImpl.java:608)
      at com.sap.engine.services.iiop.internal.ClientORB.getDelegate(ClientORB.java:579)
      at com.sap.engine.services.iiop.CORBA.CORBAObject.<init>(CORBAObject.java:49)
      at com.sap.engine.services.iiop.CORBA.IOR.read_object(IOR.java:111)
      at com.sap.engine.services.iiop.internal.ClientORB.string_to_object(ClientORB.java:536)
      at com.sap.engine.system.ORBProxy.string_to_object(ORBProxy.java:290)
      at com.adobe.service.J2EEConnectionFactoryManagerPeerImpl.getConnection(J2EEConnectionFactoryManagerPeerImpl.java:140)
      ... 37 more
    #1.5 #00505688424200690000001B00001D940005122BD8D7F9BB#1427354415047#com.adobe.ads.request.Request#com.adobe/AdobeDocumentServices#com.adobe.ads.request.Request#ADSUSER#101#SAP J2EE Engine JTA Transaction : [03bffffffb7ffffffb2008ffffffe9]#P0VAPPSAPB1_BWP_3913650##5ebdcfeed38811e4ada90000003bb7b2#SAPEngine_Application_Thread[impl:3]_35##0#0#Error#1#/System/Server#Plain###Processing exception during a "Render" operation.
    Request start time: Thu Mar 26 08:20:15 CET 2015
    com.adobe.ProcessingException: Failed to create a Data Manager. Please ensure that the Document Services Data Manager service is running
    Exception Stack Trace:
    com.adobe.ProcessingException: Failed to create a Data Manager. Please ensure that the Document Services Data Manager service is running
      at com.adobe.ads.operation.Render.execute(Unknown Source)
      at com.adobe.ads.operation.ADSOperation.doWork(Unknown Source)
      at com.adobe.ads.request.Request.processOperations(Unknown Source)
      at com.adobe.ads.request.Request.process(Unknown Source)
      at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)
      at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
      at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:120)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:331)
      at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
      at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:174)
      at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:81)
      at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:90)
      at SoapServlet.doPost(SoapServlet.java:47)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1060)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
      at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
      at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
      at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
      at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
      at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
      at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    #1.5 #00505688424200660000000700001D940005122BD8D80DDF#1427354415052#com.sap.tc.webdynpro.pdfobject.core.PDFObject#sap.com/irj#com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall#NGS_MM77#100##n/a##5ebdcfeed38811e4ada90000003bb7b2#SAPEngine_Application_Thread[impl:3]_2##0#0#Error#1#/System/UserInterface#Plain###Result(0): Error_Level is: 2#
    #1.5 #00505688424200660000000900001D940005122BD8D80EA3#1427354415052#com.sap.tc.webdynpro.pdfobject.core.PDFObject#sap.com/irj#com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall#NGS_MM77#100##n/a##5ebdcfeed38811e4ada90000003bb7b2#SAPEngine_Application_Thread[impl:3]_2##0#0#Error#1#/System/UserInterface#Plain###Result(1): Results is: Processing exception during a "Render" operation.
    Request start time: Thu Mar 26 08:20:15 CET 2015
    com.adobe.ProcessingException: Failed to create a Data Manager. Please ensure that the Document Services Data Manager service is running
    Exception Stack Trace:
    com.adobe.ProcessingException: Failed to create a Data Manager. Please ensure that the Document Services Data Manager service is running
      at com.adobe.ads.operation.Render.execute(Unknown Source)
      at com.adobe.ads.operation.ADSOperation.doWork(Unknown Source)
      at com.adobe.ads.request.Request.processOperations(Unknown Source)
      at com.adobe.ads.request.Request.process(Unknown Source)
      at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)
      at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
      at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:120)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:331)
      at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
      at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:174)
      at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:81)
      at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:90)
      at SoapServlet.doPost(SoapServlet.java:47)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1060)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
      at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
      at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
      at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
      at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
      at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
      at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    #1.5 #00505688424200660000000B00001D940005122BD8D80FBD#1427354415052#com.sap.tc.webdynpro.pdfobject.core.PDFObject#sap.com/irj#com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall#NGS_MM77#100##n/a##5ebdcfeed38811e4ada90000003bb7b2#SAPEngine_Application_Thread[impl:3]_2##0#0#Error#1#/System/UserInterface#Plain###Result(2): VersionInfo is: 800.20120718063822.876753#
    #1.5 #00505688424200660000000D00001D940005122BD8D81033#1427354415052#com.sap.tc.webdynpro.pdfobject.core.PDFObject#sap.com/irj#com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall#NGS_MM77#100##n/a##5ebdcfeed38811e4ada90000003bb7b2#SAPEngine_Application_Thread[impl:3]_2##0#0#Error#1#/System/UserInterface#Plain###Result(3): TraceString is:    Begin operation: Render, elapsed time = 7488 ms.
             com.adobe.ProcessingException: Failed to create a Data Manager. Please ensure that the Document Services Data Manager service is running
       End operation: Render, elapsed time = 7501 ms.
    #1.5 #00505688424200660000000E00001D940005122BD8D81FB2#1427354415056#com.sap.ip.bi.export.xfa.impl.PDFConverter#sap.com/irj#com.sap.ip.bi.export.xfa.impl.PDFConverter#NGS_MM77#100##n/a##5ebdcfeed38811e4ada90000003bb7b2#SAPEngine_Application_Thread[impl:3]_2##0#0#Error##Plain###EXPORT XFA calcTemplate=Processing exception during a "Render" operation.
    Request start time: Thu Mar 26 08:20:15 CET 2015
    com.adobe.ProcessingException: Failed to create a Data Manager. Please ensure that the Document Services Data Manager service is running
    Exception Stack Trace:
    com.adobe.ProcessingException: Failed to create a Data Manager. Please ensure that the Document Services Data Manager service is running
      at com.adobe.ads.operation.Render.execute(Unknown Source)
      at com.adobe.ads.operation.ADSOperation.doWork(Unknown Source)
      at com.adobe.ads.request.Request.processOperations(Unknown Source)
      at com.adobe.ads.request.Request.process(Unknown Source)
      at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)
      at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
      at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:120)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:331)
      at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
      at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:174)
      at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:81)
      at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:90)
      at SoapServlet.doPost(SoapServlet.java:47)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
      at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1060)
      at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
      at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
      at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
      at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
      at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
      at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
      at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)

    Thanks Sandy,
    I have already solved the problem , I  have done the following actions:
    1. Stop J2EE engine
    2. rename folder
         /usr/sap/<SID>/<Instance>/j2ee/os_libs/adssap
         Please rename this adssap folder to adssap.old
    3. Start J2EE engine
       During starting J2EE engine, folder adssap will be re-generated.
    4. Also make sure XMLform.exe is extracted under
        /usr/sap/<SID>/<Instance>/j2ee/os_libs/adssap/XMLFormService/bin
    I restarted the entire instance (ABAP  and JAVA) and now all is running fine.

  • The (maximum) expected data length is 6, while the returned data length is

    I would like to connect the view via the OraOLEDB.Oracle' from linked server of the MSSQL and the following column couldn't be selected.
    Msg 7347, Level 16, State 1, Line 2
    OLE DB provider 'OraOLEDB.Oracle' for linked server 'PROD' returned data that does not match expected data length for column salary.LATEST_HIRE_DATE_STATUS'. The (maximum) expected data length is 6, while the returned data length is 4.
    So I would like to change the following code from case method to decode method ? due to the view can be selected by decode method .
    CASE
    WHEN TRUNC (latest_hire_date) >= SYSDATE - 90
    AND type_of_post = 'Temp'
    THEN 'YES'
    ELSE 'NO'
    END
    AS latest_hire_date_status,
    CASE
    WHEN last_day_of_duty IS NOT NULL THEN 'REJECTED'
    ELSE 'PASSED'
    END
    AS last_day_of_duyty_status,
    Edited by: user10605622 on 2012/2/8 上午 8:01

    user10605622 wrote:
    I would like to connect the view via the OraOLEDB.Oracle' from linked server of the MSSQL and the following column couldn't be selected.
    Msg 7347, Level 16, State 1, Line 2
    OLE DB provider 'OraOLEDB.Oracle' for linked server 'PROD' returned data that does not match expected data length for column salary.LATEST_HIRE_DATE_STATUS'. The (maximum) expected data length is 6, while the returned data length is 4.
    So I would like to change the following code from case method to decode method ? due to the view can be selected by decode method .
    CASE
    WHEN TRUNC (latest_hire_date) >= SYSDATE - 90
    AND type_of_post = 'Temp'
    THEN 'YES'
    ELSE 'NO'
    END
    AS latest_hire_date_status,
    CASE
    WHEN last_day_of_duty IS NOT NULL THEN 'REJECTED'
    ELSE 'PASSED'
    END
    AS last_day_of_duyty_status,Not quiet sure what your problem is or what you are asking for?
    There's no need to use a DECODE statement when a CASE will do the same, and more, certainly if you want to check for range values rather than equality values as in your ">= SYSDATE - 90".
    Not quite sure what your error message means either. Seems to be nonesense as it says the maximum is 6 and it's getting 4, but 4 is not greater than 6 so it shouldn't be a problem.

Maybe you are looking for

  • Dynamic link in Encore to get AE project, bluray, after transcoding, file still shows untranscoded

    Hi, I have an After Effects file. I have several comps that are 1920x1080 at 29.97 drop frame. When I go to Encore, I use, Import After Effects Composition and import several compositions from my AE project. I've tried using both Automatic transcode

  • Execute query. Not all records retrieved.

    Hi everyone. I have made a screen with the data block and layout wizzards. When I click on the default toolbar "Execute query" it brings only 68 records and there are about 25,000!. I have a botton which displays a LOV of the same table and the LOV i

  • [Solved] Finding gethostname function in gcc

    I've started to program some in C after reading dussins of tutorials manuals etc. But now i want to be able to find out how the functions i use was written in gcc, granted mostly out of nerdy curiosity. As i've understood it the complier is written i

  • How to findout which Tibco adaptor is used in our system?

    Hi All, In our system ,which is a Java enterprise application ,Tibco adaptor is used to connect to the database. That adaptor is going to be upgraded. I would like ot do a technical research on that. But im new to the system. Could anyone help me ,ho

  • Career help. Whether to stay with  Xi or to take up ABAP with webdynpro ?

    I have a situation where in I would like to get some professional help from you people here. I am sorry if I am expecting too much. And please caution me if this question is not supposed to be asked here.     The situation is that I have completed my