Problem with boolean type in Informix via ODBC

Hello,
I'm connecting to an Informix database from an Oracle database via the ODBC Gateway. The connection works fine.
However, when I select a boolean type column from a table in the Informix database, nothing is returned and I get the following error:
SQL> select "stat" from bt@informix;
ERROR:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Informix][Informix ODBC Driver]Restricted data type attribute violation.
{07006,NativeErr = -11013}
ORA-02063: preceding 2 lines from INFORMIX
no rows selected
Selecting a boolean type column with isql works fine. Other column types work from Oracle.
Can anyone help me resolve this issue? Please find configuration details and traces below.
Software stack:
Informix Database: Enterprise Edition 12.10 for Linux x86_64
Informix ODBC driver: Informix Client SDK Developer Edition 4.10 for Linux 64-bit
Oracle Database: Enterprise Edition 11.2.0.1.0 64-bit (Oracle Linux 6.6 64-bit)
UnixODBC: 2.3.2 x86_64
odbcinst.ini:
[Informix]
Driver=/opt/IBM/informix/lib/cli/libifcli.so
Setup=/opt/IBM/informix/lib/cli/libifcli.so
APILevel=1
ConnectFunctions=YYY
DriverODBCVer=03.51
FileUsage=0
SQLLevel=1
smProcessPerConnect=Y
[ODBC]
TraceFile=/tmp/odbc.log
Trace = Yes
odbc.ini:
[ol_informix1210]
Driver=Informix
Description=Test connection
Database=sysutils
LogonID=informix
pwd=informix
Servername=ol_informix1210
CursorBehavior=0
DB_LOCALE=en_us.8859-1
TRANSLATIONDLL=/opt/IBM/informix/lib/esql/igo4a304.so
[ODBC]
UNICODE=UCS-2
; Trace file Section
Trace=1
TraceFile=/tmp/odbctrace.out
InstallDir=/opt/IBM/informix
TRACEDLL=idmrs09a.so
Oracle Gateway init.ora:
HS_FDS_CONNECT_INFO=ol_informix1210
HS_FDS_SHAREABLE_NAME=/usr/local/lib/libodbc.so
HS_FDS_TRACE_LEVEL=debug
HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P1
Oracle Gateway trace:
Entered hgoftch, cursor id 1 at 2015/04/14-12:22:03
hgoftch, line 130: Printing hoada @ 0x2007fe0
MAX:1, ACTUAL:1, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x20:NEGATIVE_HOADADTY)
DTY     NULL-OK  LEN  MAXBUFLEN   PR/SC  CST IND MOD NAME
-7 BIT Y          1          1   0/  0    0   0  20 stat
Performing delayed open.
SQLBindCol: column 1, cdatatype: -28, bflsz: 1
Entered hgopoer at 2015/04/14-12:22:03
hgopoer, line 233: got native error -11013 and sqlstate 07006; message follows...
[Informix][Informix ODBC Driver]Restricted data type attribute violation. {07006,NativeErr = -11013}
Exiting hgopoer, rc=0 at 2015/04/14-12:22:03
hgoftch, line 730: calling SQLFetch got sqlstate 07006
0 rows fetched
Exiting hgoftch, rc=28500 at 2015/04/14-12:22:03 with error ptr FILE:hgoftch.c LINE:730 FUNCTION:hgoftch() ID:Fetch resultset data
ODBC trace:
[ODBC][11041][1429005970.973443][SQLPrepare.c][196]
                Entry:
                        Statement = 0x276ecb0
                        SQL = [SELECT A1. stat  FROM  BT  A1][length = 29]
[ODBC][11041][1429005970.973914][SQLPrepare.c][371]
                Exit:[SQL_SUCCESS]
[ODBC][11041][1429005970.973940][SQLNumResultCols.c][156]
                Entry:
                        Statement = 0x276ecb0
                        Column Count = 0x26f5868
[ODBC][11041][1429005970.973970][SQLNumResultCols.c][248]
                Exit:[SQL_SUCCESS]
                        Count = 0x26f5868 -> 1
[ODBC][11041][1429005970.974097][SQLDescribeCol.c][247]
                Entry:
                        Statement = 0x276ecb0
                        Column Number = 1
                        Column Name = 0x7fffc3ff2d90
                        Buffer Length = 31
                        Name Length = 0x7fffc3ff2ed4
                        Data Type = 0x7fffc3ff2ed8
                        Column Size = 0x7fffc3ff2e70
                        Decimal Digits = 0x7fffc3ff2edc
                        Nullable = 0x7fffc3ff2ee0
[ODBC][11041][1429005970.974140][SQLDescribeCol.c][501]
               Exit:[SQL_SUCCESS]               
                        Column Name = [stat]               
                        Data Type = 0x7fffc3ff2ed8 -> -7               
                        Column Size = 0x7fffc3ff2e70 -> 1               
                        Decimal Digits = 0x7fffc3ff2edc -> 0               
                        Nullable = 0x7fffc3ff2ee0 -> 1
[ODBC][11041][1429005970.974192][SQLSetStmtAttr.c][265]
                Entry:
                        Statement = 0x276ecb0
                        Attribute = SQL_ATTR_ROW_ARRAY_SIZE
                        Value = 0x64
                        StrLen = 0
[ODBC][11041][1429005970.974218][SQLSetStmtAttr.c][925]
                Exit:[SQL_SUCCESS]
[ODBC][11041][1429005970.974230][SQLSetStmtAttr.c][265]
                Entry:
                        Statement = 0x276ecb0
                        Attribute = SQL_ATTR_ROW_BIND_TYPE
                        Value = (nil)
                        StrLen = -5
[ODBC][11041][1429005970.974249][SQLSetStmtAttr.c][925]
                Exit:[SQL_SUCCESS]
[ODBC][11041][1429005970.974837][SQLExecute.c][187]
                Entry:
                        Statement = 0x276ecb0
[ODBC][11041][1429005970.975231][SQLExecute.c][348]
                Exit:[SQL_SUCCESS]
[ODBC][11041][1429005970.975255][SQLSetStmtAttr.c][265]
                Entry:
                        Statement = 0x276ecb0
                        Attribute = SQL_ATTR_ROW_STATUS_PTR
                        Value = 0x27f5b78
                        StrLen = -4
[ODBC][11041][1429005970.975280][SQLSetStmtAttr.c][925]
                Exit:[SQL_SUCCESS]
[ODBC][11041][1429005970.975291][SQLSetStmtAttr.c][265]
                Entry:
                        Statement = 0x276ecb0
                        Attribute = SQL_ATTR_ROWS_FETCHED_PTR
                        Value = 0x26f5850
                        StrLen = -4
[ODBC][11041][1429005970.975311][SQLSetStmtAttr.c][925]
                Exit:[SQL_SUCCESS]
[ODBC][11041][1429005970.975326][SQLBindCol.c][236]
                Entry:
                        Statement = 0x276ecb0
                        Column Number = 1
                        Target Type = -28 SQL_C_UTINYINT
                        Target Value = 0x27f5af8
                        Buffer Length = 1
                        StrLen Or Ind = 0x27f5eb8
[ODBC][11041][1429005970.975349][SQLBindCol.c][341]
                Exit:[SQL_SUCCESS]
[ODBC][11041][1429005970.975367][SQLFetch.c][162]
                Entry:
                        Statement = 0x276ecb0
[ODBC][11041][1429005970.975455][SQLFetch.c][348]
                Exit:[SQL_ERROR]
                DIAG [07006] [Informix][Informix ODBC Driver]Restricted data type attribute violation.
[ODBC][11041][1429005970.975574][SQLGetDiagRec.c][758]
               Entry:
                        Statement = 0x276ecb0
                        Rec Number = 1
                        SQLState = 0x7fffc3ff2e20
                        Native = 0x7fffc3ff2c14
                        Message Text = 0x7fffc3ff2c20
                        Buffer Length = 510
                        Text Len Ptr = 0x7fffc3ff2e70
[ODBC][11041][1429005970.975615][SQLGetDiagRec.c][795]
                Exit:[SQL_SUCCESS]
                        SQLState = 07006
                        Native = 0x7fffc3ff2c14 -> -11013
                        Message Text = [[Informix][Informix ODBC Driver]Restricted data type attribute violation.]
[ODBC][11041][1429005970.975642][SQLGetDiagRec.c][758]
                Entry:
                        Statement = 0x276ecb0
                        Rec Number = 2
                        SQLState = 0x7fffc3ff2e20
                        Native = 0x7fffc3ff2c14
                        Message Text = 0x7fffc3ff2c20
                     Message Text = 0x7fffc3ff2c20
                        Buffer Length = 510
                        Text Len Ptr = 0x7fffc3ff2e70
[ODBC][11041][1429005970.975667][SQLGetDiagRec.c][795]
                Exit:[SQL_NO_DATA]

Here are my findings after consulting the unixODBC mailing list and the IBM documentation.
There are several levels of data types at play here: native Informix SQL types, Informix ODBC driver SQL types and Informix ODBC driver C types (as well as standard C types).
According to the Informix documentation (http://www-01.ibm.com/support/knowledgecenter/SSGU8G_11.70.0/com.ibm.odbc.doc/ids_odbc_108.htm), the ODBC driver SQL type for the native boolean type is SQL_BIT.
The traces show that the ODBC SQL type is SQL_BIT (type code -7) and that this should be converted into the SQL_C_UTINYINT ODBC C type (type code -28).
Oracle ODBC Gateway trace:
DTY    NULL-OK  LEN  MAXBUFLEN  PR/SC  CST IND MOD NAME
-7 BIT Y          1          1  0/  0    0  0  20 stat
Performing delayed open.
SQLBindCol: column 1, cdatatype: -28, bflsz: 1
unixODBC trace:
ODBC][11041][1429005970.975326][SQLBindCol.c][236]
                Entry:
                        Statement = 0x276ecb0
                        Column Number = 1
                       Target Type = -28 SQL_C_UTINYINT
                        Target Value = 0x27f5af8
                        Buffer Length = 1
                        StrLen Or Ind = 0x27f5eb8
[ODBC][11041][1429005970.975349][SQLBindCol.c][341]
Oracle tries to bind the SQL_BIT type column to a buffer of SQL_C_UTINYINT type, which requires a conversion from SQL_BIT to SQL_C_UTINYINT  that is apparently not supported by the Informix ODBC Driver.
According to the documentation (http://www-01.ibm.com/support/knowledgecenter/SSGU8G_11.70.0/com.ibm.odbc.doc/ids_odbc_108.htm) the Informix ODBC driver can only convert the SQL_BIT ODBC SQL type into SQL_C_BINARY, SQL_C_BIT and SQL_C_CHAR ODBC C types. (The ODBC C types are in turn converted into standard C types, for example the SQL_C_BIT type is converted into UCHAR which is a typedef for the standard C type unsigned char.)
A possible workaround could be to tell Informix to present boolean as a different ODBC SQL type, for example SQL_CHAR (as it would be possible with PostgreSQL by setting BoolAsCharater=1 in odbc.ini), but Informix only seems to supports the SQL_BIT ODBC SQL type.
A cumbersome workaround is to use the Gateway's pass-through feature that allows a query to be passed to Informix as is, which in turn allows us to cast the boolean field into a character field:
SQL> set serveroutput on
SQL> r
  1  DECLARE
  2    val  VARCHAR2(1);
  3    c    INTEGER;
  4    nr  INTEGER;
  5  BEGIN
  6    c := DBMS_HS_PASSTHROUGH.OPEN_CURSOR@informix;
  7    DBMS_HS_PASSTHROUGH.PARSE@informix(c,'select cast (stat as character) from bt');
  8    LOOP
  9    nr := DBMS_HS_PASSTHROUGH.FETCH_ROW@informix(c);
10    EXIT WHEN nr = 0;
11    DBMS_HS_PASSTHROUGH.GET_VALUE@informix(c, 1, val);
12    DBMS_OUTPUT.PUT_LINE(val);
13    END LOOP;
14    DBMS_HS_PASSTHROUGH.CLOSE_CURSOR@informix(c);
15  END;
16*
t
f
PL/SQL procedure successfully completed
Easier solutions are still welcome.

Similar Messages

  • Problems with letter type

    Problems with letter type homepage www.JO-qigong.nl When I want to make another type it changes the whole page? Why?

    Thank you for responding. I am sure that I selected the text. I don't do anything different than I did many times before. But if I change a text know, for exemple in the color Red, than other text, that I didn't selected, get a different text: bigger text or other color. In iWeb everything is OK, but when I publish it, than there are those grazy changes. I use iWeb for 3 years now and had no problems till now.
    Is it because the software is not supported anymore by Apple, because you can not update the software anymore. It is a pitty, because I like iWeb. It is easy to work with.

  • Problem with mime type in web.xml file

    Hi everybody,
    I actually got a problem with mime types on Weblogic 6.0 under Linux.
    I read the documentation so I added the next lines in the web.xml file in
    the WEB-INF directory of my server :
    <mime-mapping>
    <extension>
    doc
    </extension>
    <mime-type>
    application/msword
    </mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>
    ppt
    </extension>
    <mime-type>
    application/vnd.ms-powerpoint
    </mime-type>
    </mime-mapping>
    Why can't I retrieve a .doc or .ppt files with an internet browser correctly
    ? I get only text/plain ...
    Can someone help me ?
    Regards,
    Alexis Berger

    I am having the same problem with doc and xsl. I have added this
    <mime-mapping>
    <extension>xls</extension>
    <mime-type>application/vnd.ms-excel</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>doc</extension>
    <mime-type>application/msword</mime-type>
    </mime-mapping>
    to my web.xml. I even restarted the server. I still see doc and xsl in binary.
    Is there some other setting that needs to take place?
    I am using WL6.1 with fixpack 1.
    I can see the doc and excel files in the browser if I don't go through the weblogic
    server. That just confirms it's not my browser.
    Kumar Allamraju <[email protected]> wrote:
    <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
    <html>
    It works fine for me in 6.1 SP1.
    <br><br>
    If the following doesn't work , can you
    <br>try application/winword instead of application/msword?
    <p>--
    <br>Kumar
    <p>Siming Mu wrote:
    <blockquote TYPE=CITE>Hi,
    <p>I setup in my web.xml a mime mapping as follows,
    <p><mime-mapping>
    <br><extension>doc</extension><mime-type>application/msword</mime-type>
    <br></mime-mapping>
    <p>When I specify a test.doc url, the doc file appears in my browser
    as
    binary data
    <br>instead of download.
    <p>Please reference change request 055002, which decribes this problem. 
    According
    <br>to edocs, it has been fixed in wls6.1sp1.
    <p>But I am seeing it fixed.  Am I doing anything wrong? Thanks.
    <p>Siming</blockquote>
    </html>

  • How do fix problem with iPages - type does not enter - ?

    How do I fix this problem with Pages - type from keyboard does not enter ?  If I need to re-install, How do I do that?

    Hello DonAndNorma,
    You may need to uninstall, then reinstall the Pages application. Steps for doing so can be found in the article linked below.
    OS X Mavericks: Install, update, and uninstall apps
    http://support.apple.com/kb/PH14299
    Cheers,
    Allen

  • Problem with numeric types in Abap Proxy

    Hello,
    We are having problems with some abap proxy calls. When a numeric type is filled with 0 the node it´s automatically removed and no value it's recived in XI. The only way I have found to avoid this problem it's to define the field with type string or change the cardinality to 1..1 instead of 0..1. It's there any way to maintain the type and the cardinality?? Maybe with a pattern??
    Regards,
    Alberto Pla.

    Hi Alberto
    I had this problem, and I decided to use xsd:string instead of xsd:integer. This will solve the issue.
    Anyway.. check this note:
    [Note 1242795 - Mapping of XSD default values by ABAP Proxy Generation|https://service.sap.com/sap/support/notes/1242795]
    Regards
    Francesco

  • Problem with file type... some files have been changed to folders... Help !

    Hello,
    I have problem with some files that are located in Library / Quicktime.
    I have 7 files in that folder and all are .component files.
    3 of them used to look like a lego block :
    DivX Encoder.component
    macam.component
    MayaIFF.component
    But today, I have accidentally change them into folders (and I don,t Know how...) So instead of having thoses 3 files with the lego block icon , I have 3 folders and If I click on thoses folder, It open like a standard folder, so I see the "content" folder inside them...
    How can I change it back to the .component file type they should be... I know how to change the type of a file, but since they are now folders, there's no "file Type" associated with them (right click / infos)...
    Help !

    There are lots of things that are in fact folders, but the Finder treats them as "files"--in the sense that normally when you select one you cannot see the contents of the folder. One way this is done is by the use of certain extensions, for instance .app, .pkg, .mpkg, .bundle and .component all tell the Finder to NOT display the folders as folders. If you do a GetInfo on them and the name is still "whatever.component" and the Kind: Component is still showing, and you haven't noticed any problem with QuickTime, then don't worry about it.
    Those are all third party QT components. If they aren't working, you may have to reinstall them from the original source.
    Francine
    Francine
    Schwieder

  • Problem with boolean attribute of JSP tag

    Hi,
    I've being trying to use a custom JSP tag, which has a boolean attribute, declared in the TLD as follows:
    <attribute>
    <name>checked</name>
    <required>false</required>
    <rtexprvalue>true</rtexprvalue>
    <type>boolean</type>
    </attribute>
    The JSP code snippet is:
    <ui:check checked="<%= myBean.isChecked() %>"/>
    where myBean.isChecked() returns a boolean value (primitive type).
    It works fine on some web containers, but it causes a JSP compilation error on Oracle9iAS 9.0.3 Java Edition, which looks like the following:
    Method toBoolean(boolean) not found in class test. _jsp_taghandler_57.setChecked( OracleJspRuntime.toBooleanObject( toBoolean( myBean.isChecked())));
    After decompiling the container's JSP parser, I found what I think it's a bug. The java class generated by the JSP parser does not define a toBoolean method, and neither do its superclasses. The method is defined on the OracleJspRuntime class! I think the correct code would have to be something like:
    OracleJspRuntime.toBooleanObject(OracleJspRuntime.toBoolean(...))
    If I'm correct, then the "convertExpression" method of the "oracle.jsp.parse.JspUtils" class must be changed, because it outputs such wrong code for not just boolean types, but for all the primitive types.
    So, has anyone ever faced this problem before? Does it have a workaround, or a patch? Is it included on the bug fixes for the 9.0.4 release?
    Thanks!

    Instead of:
    out.println("<body onload ="+strAlert+">");
    Try this:
    out.println("<body onload =\""+strAlert+\"">");
    Add two \" around the alert call.

  • Problem with field type STRING in table

    Hi Experts,
             I am new to ABAP. I have created a new transparent table which hold error info. One of the field has to store data of size about 1500 char.
    Since CHAR type is not acceptable for this field So I gave STRING type. Now when I try to create a TABLE parameter in a RFC enabled functional module using "LIKE YERROR" Then I get a error:
    "YERROR must be a flat structure. You cannot use internal tables, strings, references, or structure as component" 
    Why is this error? How to resolve it? Is it because I have used a field of type STRING in the table? If this is the problem then what other type can I use?
    What are other know problems with using STRING type?
    Please help!
    Thanks
    Gopal

    Hi,
    Try to declare it as type LCHR , it can hold up to 32000 chars.
    Regards
    vijay

  • Dynamic ITAB copy problem with field type P

    Hello everyone
    I need to copy the structure of an internal table that is pass by reference into a method.
    Actually everything is fine else than the field type P with decimal is not created properly in the new itab.
    Scenario:
    An internal table is pass by reference to a method. We need to trait the data without modifying the original table. The Idea is to copy the structure and the data of the referenced internal table into an internal table created dymanically in the method.
    Here is what I did and working fine when there are no field of data type "CURR".
    Extract the structure of the reference data.
    Create a dynamic internal table.
    So far so good. Everything seams to work fine. BUT
    when I am trying to copy the data from the reference table to the just created internal table the field with data type "CURR" doesn't work.
    Here is my example:
    FIELD-SYMBOLS: <FS_TABLE> TYPE STANDARD TABLE,
                   <TMP_TABLE> TYPE STANDARD TABLE,
                   <LS_TMP_TABLE> TYPE ANY,
                   <LS_TABLE>     TYPE ANY,
                   <LS_VALUE>     TYPE ANY.
    DATA: lt_data      TYPE STANDARD TABLE OF vbak,
          ls_data      LIKE LINE OF lt_sortfield,
          ref_data     TYPE REF TO data,
          l_structure  TYPE REF TO DATA,
          lv_ltname    TYPE string.               
    select * from vbak UP TO 10 rows INTO CORRESPONDING FIELDS OF TABLE lt_data.
    * --- Assign the reference variable to the table
    * ---- Only use to simulate a parameter that is assign to a reference to a internal table
    unassign <FS_TABLE>.
    lv_ltname = 'lt_data[]'.
    ASSIGN (lv_ltname) to <FS_TABLE>.
    GET REFERENCE OF <FS_TABLE>[] INTO ref_data.
    * --- Assign the reference to the field-symbol
    UNASSIGN <FS_TABLE>.
    ASSIGN ref_data->* TO <FS_TABLE>.
    * --- Create a working area for the reference table to a field-table
    CREATE DATA l_structure LIKE LINE OF <FS_TABLE>.
    ASSIGN l_structure->* TO <LS_TABLE>.
    * --- Retrieve the structure of the field-symbol pointing to the internal table
    DATA: lr_tabledescr   TYPE REF TO cl_abap_tabledescr,   " Internal Table description
          _r_structdescr  TYPE REF TO cl_abap_structdescr.
    lr_tabledescr ?= cl_abap_tabledescr=>describe_by_data( <fs_table> ).
    _r_structdescr ?= lr_tabledescr->get_table_line_type( ).
    * --- Read internal table structure to create dynamic internal table
    data: ls_struc like LINE OF _r_structdescr->components,
          xfc           type lvc_s_fcat,
          ifc           type lvc_t_fcat.
    * --- Why the field (component) NETWR length is now 8 instead of 15?
    LOOP AT _r_structdescr->components into ls_struc.
      clear xfc.
      xfc-fieldname = ls_struc-name .
      xfc-datatype  = ls_struc-type_kind.
      xfc-inttype   = ls_struc-type_kind.
      xfc-intlen    = ls_struc-length.
      xfc-decimals  = ls_struc-decimals.
      append xfc to ifc.
    ENDLOOP.
    DATA:   dy_table      type ref to data,
    * --- Create dynamic internal table
    call method cl_alv_table_create=>create_dynamic_table
      EXPORTING
        it_fieldcatalog = ifc
      IMPORTING
        ep_table        = dy_table.
    * --- assign reference internal table to Field-symbol
    assign dy_table->* to <tmp_table>.
    unassign <ls_tmp_table>.
    DATA: ls_tmp_struc type REF TO DATA.
    CREATE DATA ls_tmp_struc like LINE OF <tmp_table>.
    ASSIGN ls_tmp_struc->* TO <ls_tmp_table>.
    Loop at <fs_table> INTO <LS_TABLE>.
    MOVE-CORRESPONDING <ls_table> TO <ls_tmp_table>.
    APPEND <ls_tmp_table> TO <tmp_table>.
    ENDLOOP.
    * <fs_table>-netwr length is 15
    * <ls_tmp_table>-netwr length is 8
    * ??????????? Why the length is different?
    * ??????????? It should a structure copy and have the
    * ??????????? same length
    I use VBAK as example, and the field NETWR is using data type "NETWR_AK" where it us a data type "CURR" with length 15 and decimal 2.
    When reading the structure, the method get_table_line_type of the class cl_abap_tabledescr return a length of 8 instead of 15.
    Any idea how to get the exact structure of a variable that is refering to a data type?
    Regards
    Daniel

    Hello Everyone
    Thank you for your replies.
    I think I didn't explain myself clearly.
    My goal is to be able to create an exact  structure copy of a "Type ref to data" into a new internal table that is not defined yet.
    Example:
      A method contain a parameter that is a ref to DATA type.
      That parameter is refering to an internal table from the calling program.
      Now I want to create an internal table into the method where this one will be an exact structure copy of the parameter.
      So, lets put some name here.
      parameter: ip_data type ref to data.
      FIELD-SYMBOLS: <FS_REF_DATA> TYPE STANDARD TABLE,
                                    <FS_CP_DATA>  TYPE STANDARD TABLE.
    ASSIGN ip_data->* TO <FS_REF_DATA>.
    " some code to assign the same structure to <FS_CP_DATA> from <FS_REF_DATA>
    " than copy the data from <FS_REF_DATA> to <FS_CP_DATA>.
    <FS_CP_DATA> [ ] = <FS_REF_DATA> [ ].  " This is working if no type P with decimal exist into the structure
    " Than I can play with the data of <FS_CP_DATA> without modifying the data of <FS_REF_DATA>.
    My problem would be solved if I can create dynamically an internal table that has an exact structure copy of the passed parameter.
    Regards
    Daniel

  • Trying to export video, stuck at 0%. File in project is .mp4. I only have this problem with this type of file.

    Hello,
    I am trying to export a video and I'm stuck at 0%.  The file in the video is a .mp4 that I downloaded from my own Youtube page.  I have the same problem with any project containing this type of file.  I have tried to export as .mov, .Mpeg, .wmv, .avi, with the same results.
    I am able to export videos that contain other sorts of files without difficulty. 
    I am using a PC.  Adobe Premiere Elements 12.
    Any assistance will be greatly appreciated. 
    Thank you!
    Travis

    Travis
    Do you have the latest version of QuickTime installed on your computer with Premiere Elements 12?
    Sides mentions....
    Have you updated from 12 to the 12.1 Update? If not, please do so using an opened project's Help Menu/Update.
    What is the computer operating system in use.
    Are you running the program from a User Account with Administrative Privileges?
    We will be watching for your results.
    Thank you.
    ATR

  • Problem with 6120c Nokia Modem detection via Bluet...

    Hi!
    There is a problem with Nokia 6120c bluetooth modem detection under Windows XP PS3. I used this phone as bluetooth modem for about a month without any problems (under Windows XP SP2). Than I’ve installed Service Pack 3 for my Win XP. About a week everything works great. A few days ago I’ve unplugged my USB Bluetooth 2.0 adapter and placed it to other USB port (on the same computer). After this operation my computer doesn’t find 6120c as a modem via bluetooth IN ANY USB PORT (Nokia Modem via Bluetooth shows as disconnected in the control panel). In the same time, Nokia file manager works normal through bluetooth connection. 6120c modem now works only via USB connection. I wonder, is this problem connected with SP3 or it is a Nokia 6120c firmware problem? I will be very grateful for your ideas concerning this problem.
    Sincerely, Andrey
    Message Edited by andrey_6120c on 12-Jun-2008 03:36 PM

    Described above problem was fixed by OS reinstall. Bluetooth modem works fine for now (WinXP SP3).

  • Data loading problem with Movement types

    Hi Friends,
            I extarcted data using the data source General Ledger : Line itemdata (0fi_gl_4) to BW side.
        Problem is Movement Types for some documents missing.
    But i checked in rsa3 that time showing correctly.
    i restricted the data in bw side infopackage level only particular document that time data loading perfecly.
    this data source having 53,460 records.among all the records 400 records doc type 'we' movement types are missing.
    please give me solution for this how to loading the data with movement types.
    i checked particular document of 50000313 in RSA3 it is showing movement types. then i loaded data in bw side that time that movement types are not comming to be side. then i gave the particular doc 50000313 in infopackage level loading the data that time movement types are loading correctly. this extaractor having 55000 records.
    this is very urgent problem.Please give me reply urgenty. i am waiting for your's replys.
    Thanks & Regards,
    Guna.
    Edited by: gunasekhar raya on May 8, 2008 9:40 AM

    Hi,
    we enhanced Mvement type field(MSEG-BWART) General ledger (0FI_GL_4) extractor.
    this field populated with data all the ACC. Doc . number.
    Only 50000295 to 50000615  in this range we are not getting the movement types values.
    we didn't write any routines in transfer and update rules level.
    just we mapped to BWART field 0MOVETYPE info object.
    we restrict the particular doc no 50000313 infopackage level that time loading the the data into cube with movement types.
    but we remove the restriction infopackage level then loading the data that time we missing the movement types data of particular doc no 50000295 to 50000615.
    Please give mesolution for this. i need to solve this very urgently.
    i am witing for your reply.
    Thanks,
    Guna.

  • Problem with DB2 Type 4 driver

    Hi
    The problem has been narrowed down to a problem with the IBM DB2 Type 4
    driver (COM.ibm.db2.jdbc.net.DB2Driver). In some situations, it introduces a
    100ms delay when sending parameters for a prepared statement (846 bytes in
    the truss trace below). With the IBM app driver (type 2) we get the
    performance that we expect.
    In other words, this has to do with TCP/IP communication and whether this is
    a JVM, DB2 or Solaris issue we don't know. Probably a combination.
    Regards
    Steffen Jensen
    Nordija
    Below, the Solaris truss trace that shows how the JDBC driver (in the WLS
    VM) sends data and how the DB2 listener process receives it.
    WLS
    24092: 5.6607 send(7, "\001\0\003 N", 6, 0) = 6
    24092: 5.6611 send(7, "\0 O\001\004\001FFE7FFFB".., 846, 0) = 846
    24092: 5.6682 poll(0xFEC07A50, 0, 10) = 0
    24092: 5.6882 poll(0xFEC07A50, 0, 10) = 0
    24092: 5.7082 poll(0xFEC07A50, 0, 10) = 0
    24092: 5.7282 poll(0xFEC07A50, 0, 10) = 0
    24092: 5.7482 poll(0xFEC07A50, 0, 10) = 0
    24092: 5.7625 read(7, "\0", 1) = 1
    DB2 listener
    24109: 5,6607 recv(5, "\001", 2, 0) = 2
    24109: 5,6617 recv(5, "\0\003 N", 4, 0) = 4
    24109: 5,7583 recv(5, "\0 O\001\004\001FFE7FFFB".., 846, 0) = 846
    24109: 5,7606 semop(2883608, 0xFFBED4C0, 1) = 0
    24109: semnum=0 semop=1 semflg=0
    24109: 5,7618 semop(2883608, 0xFFBED5C0, 1) = 0
    24109: semnum=1 semop=-1 semflg=0

    Hi
    The problem has been narrowed down to a problem with the IBM DB2 Type 4
    driver (COM.ibm.db2.jdbc.net.DB2Driver). In some situations, it introduces a
    100ms delay when sending parameters for a prepared statement (846 bytes in
    the truss trace below). With the IBM app driver (type 2) we get the
    performance that we expect.
    In other words, this has to do with TCP/IP communication and whether this is
    a JVM, DB2 or Solaris issue we don't know. Probably a combination.
    Regards
    Steffen Jensen
    Nordija
    Below, the Solaris truss trace that shows how the JDBC driver (in the WLS
    VM) sends data and how the DB2 listener process receives it.
    WLS
    24092: 5.6607 send(7, "\001\0\003 N", 6, 0) = 6
    24092: 5.6611 send(7, "\0 O\001\004\001FFE7FFFB".., 846, 0) = 846
    24092: 5.6682 poll(0xFEC07A50, 0, 10) = 0
    24092: 5.6882 poll(0xFEC07A50, 0, 10) = 0
    24092: 5.7082 poll(0xFEC07A50, 0, 10) = 0
    24092: 5.7282 poll(0xFEC07A50, 0, 10) = 0
    24092: 5.7482 poll(0xFEC07A50, 0, 10) = 0
    24092: 5.7625 read(7, "\0", 1) = 1
    DB2 listener
    24109: 5,6607 recv(5, "\001", 2, 0) = 2
    24109: 5,6617 recv(5, "\0\003 N", 4, 0) = 4
    24109: 5,7583 recv(5, "\0 O\001\004\001FFE7FFFB".., 846, 0) = 846
    24109: 5,7606 semop(2883608, 0xFFBED4C0, 1) = 0
    24109: semnum=0 semop=1 semflg=0
    24109: 5,7618 semop(2883608, 0xFFBED5C0, 1) = 0
    24109: semnum=1 semop=-1 semflg=0

  • Problem with Column types and String

    Hi
    I have some problem while comparing against empty string.
    My column is of type it_Linked_Button. Actually it seems that column type doesn't matter.
    If cell that belongs to this column is empty and based on other columns' values I put some value into this cell.
    It works fine.
    But when I clear that cell and try to put some value again nothing happens.
    In my if statement I'm checking against empty string and it fails second time.
    Before I put anything in that cell (in debugger) that value is "" so it is empty and it works.
    (OK, I see that after I posted this message it was slightly reformated)
    But after I put something and clear that cell and try to put something again (in debugger) I get "(here is some long space) " which fails String.IsNullOrEmpty(var) test.
    What is going on? Has it something to do with Column type?
    How to clear it so I can put something in it again?
    One more thing - to put values and clear it I use DbDataSource SetValue method. And String.Empty or ""(doesn't matter)
    Thanks
    Kamil
    NOTE
    I made some workaround that gives me the behaviour I want but still I would like to know what is going on?
    Edited by: Kamil Wydrzycki on Sep 24, 2009 12:57 PM

    DrLaszloJamf wrote:
    warnerja wrote:
    DrLaszloJamf wrote:
    1. Could you define an Enum? Then you could switch on enum values.
    2. Wait for Java 7 which is supposed to extend switch to strings?3. Put the target strings in a collection, write a loop to find the match in the collection and use the matching index in the switch statement. At least that will get rid of the hashcode kludge, where it won't mistakenly 'match' a string which isn't the actual target.3b: Map<String, Command>Yep.
    I also wanted to point this out to the OP:
    For example, let's say the 7 character string "BugABoo" happens to have the same hashcode as "EDI_DOC". And let's say your input just happens to have the string "BugABoo" in it, where you're extracting the 7 character substring. See the problem? You're getting "BugABoo" but treating it as if it really were "EDI_DOC", by virtue of comparing hashcodes instead of actual strings.
    OOPS!

  • Problems with data transfer to CEN via SAPCCM4X agent

    Hello!
    We are facing with the the following problem with data transfer since we installed SAPCCM4X agent:
    - new alerts can only be seen within alert history
    - old alerts cannot be deleted
    We checked the agents via RZ21 and also the appropriate log files do not get further information.
    When we stop the SACCM4X agents and the monitoring data is representing via RFC connection everything is ok.
    Can some one help to solve this problem?
    Thank you!

    As Woodmeister50 told, direct connect between two iMacs via Ethernet cable is much faster than via adaptor, I suppose.
    OS X: How to migrate data from another Mac using Mountain Lion and earlier
    OS X: How to migrate data from another Mac using Mavericks

Maybe you are looking for

  • How do I transfer files/folders to an external hard drive without "dragging and dropping"?

    Hi, I'm having a lot of trouble trying to transfer folders of pictures and individual pictures to my external hard drive (which God forbid isn't an Apple product). I attempted to drag and drop, which usually works. I have also attempted to find an op

  • Need the table and field names...

    Hi Is there any field for min order quantity and lead time in vendor master related tables ? I want to generate a report to show that this vendor expects a min order quantity of this much and his delivery will take a minimum of n days/weeks etc ? So

  • Sending email with link

    hi experts how do i send email from a program with a link to transaction with the transaction parameters thanks amit

  • Backup: Failed  . . but it works  . . somewhat

    A few days ago, TM gave me a Backup: "Failed". Since then I can go through the procedure of: Even with the TM icon in the menu bar showing failed: I can click on "Backup Now" and it will start backing up. It works until the end, but then it suddenly

  • Sudden finder freezing. menu icons not loading. slow performance

    Please help. My Powerbook has suddenly started acting strangely. After restarting the menu bar icons take around 5 minutes to load up. The airport cannot pick up any signals. The compiuter has no startup sound. The computer tends to freeze from the f