Help: problem with OS/2 table

I try programmicaly read OS/2 table.
First part of table I read without problems, but with the second there are some problems. For example, I want obtain fsSelection value, and for any font this value equal 32(bold). When I obtain macStyle from HEAD table, all right. But values of macStyle and fsSelection must be identical! In what there can be a problem?

My Code:
But in panose and vendor information is right. And method of working with tables is the same. But problems only with this table, and I don't know why :(
typedef struct _tagTT_OFFSET_TABLE{
USHORT uMajorVersion;
USHORT uMinorVersion;
USHORT uNumOfTables;
USHORT uSearchRange;
USHORT uEntrySelector;
USHORT uRangeShift;
}TT_OFFSET_TABLE;
typedef struct _tagTT_TABLE_DIRECTORY{
char szTag[4]; //table name
ULONG uCheckSum; //Check sum
ULONG uOffset; //Offset from beginning of file
ULONG uLength; //length of the table in bytes
}TT_TABLE_DIRECTORY;
typedef struct _tagTT_OS_RECORD{
USHORT version;
SHORT xAvgCharWidth;
USHORT usWeightClass;
USHORT usWidthClass;
SHORT fsType;
SHORT ySubscriptXSize;
SHORT ySubscriptYSize;
SHORT ySubscriptXOffset;
SHORT ySubscriptYOffset;
SHORT ySuperscriptXSize;
SHORT ySuperscriptYSize;
SHORT ySuperscriptXOffset;
SHORT ySuperscriptYOffset;
SHORT yStrikeoutSize;
SHORT yStrikeoutPosition;
SHORT sFamilyClass;
PANOSE panose;
ULONG ulUnicodeRange1;
ULONG ulUnicodeRange2;
ULONG ulUnicodeRange3;
ULONG ulUnicodeRange4;
CHAR achVendID[4];
USHORT fsSelection;
USHORT usFirstCharIndex;
USHORT usLastCharIndex;
USHORT sTypoAscender;
USHORT sTypoDescender;
USHORT sTypoLineGap;
USHORT usWinAscent;
USHORT usWinDescent;
ULONG ulCodePageRange[2];
}TT_OS_RECORD;
// structure for writing results
typedef struct _tagFONT_PROPERTIES{
CString csName;
USHORT Weight;
USHORT Width;
BOOL bItalic;
BOOL bUnderline;
BOOL bStrikeOut;
USHORT uFamily;
}FONT_PROPERTIES, *LPFONT_PROPERTIES;
// from Big Endian to Little Endian
#define SWAPWORD(x) MAKEWORD(HIBYTE(x), LOBYTE(x))
#define SWAPLONG(x) MAKELONG(SWAPWORD(HIWORD(x)), SWAPWORD(LOWORD(x)))
LPFONT_PROPERTIES lpFontProps = new FONT_PROPERTIES;
CString pstrName = "C:\\WINDOWS\\Fonts\\ANTQUABI.TTF";
lpFontProps->csName = "";
GetFontPropertiesFromOS(pstrName, lpFontProps);
BOOL CMyDlg::GetFontPropertiesFromOS(LPCTSTR lpszFilePath, LPFONT_PROPERTIES lpFontProps)
CFile f;
BOOL bRetVal = FALSE;
if(f.Open(lpszFilePath, CFile::modeRead|CFile::shareDenyWrite)){
TT_OFFSET_TABLE ttOffsetTable;
f.Read(&ttOffsetTable, sizeof(TT_OFFSET_TABLE));
ttOffsetTable.uNumOfTables = SWAPWORD(ttOffsetTable.uNumOfTables);
ttOffsetTable.uMajorVersion = SWAPWORD(ttOffsetTable.uMajorVersion);
ttOffsetTable.uMinorVersion = SWAPWORD(ttOffsetTable.uMinorVersion);
//check is this is a true type font and the version is 1.0
if(ttOffsetTable.uMajorVersion != 1 || ttOffsetTable.uMinorVersion != 0)
return bRetVal;
TT_TABLE_DIRECTORY tblDir;
BOOL bFoundOS = FALSE;
CString csTemp;
for(int i=0; i< ttOffsetTable.uNumOfTables; i++){
f.Read(&tblDir, sizeof(TT_TABLE_DIRECTORY));
strncpy(csTemp.GetBuffer(5), tblDir.szTag, 4);
csTemp.ReleaseBuffer(4);
if(csTemp.CompareNoCase(_T("OS/2")) == 0){
bFoundOS = TRUE;
tblDir.uLength = SWAPLONG(tblDir.uLength);
tblDir.uOffset = SWAPLONG(tblDir.uOffset);
break;
else if(csTemp.IsEmpty())
break;
if(bFoundOS)
int nPos = f.GetPosition();
f.Seek(tblDir.uOffset, CFile::begin);
TT_OS_RECORD ttOSRecord;
bFoundOS = FALSE;
if(lpFontProps->csName.IsEmpty())
f.Read(&ttOSRecord, sizeof(TT_OS_RECORD));
ttOSRecord.version = SWAPWORD(ttOSRecord.version);
lpFontProps->Weight = SWAPWORD(ttOSRecord.usWeightClass);
lpFontProps->Width = SWAPWORD(ttOSRecord.usWidthClass);
ttOSRecord.sFamilyClass = SWAPWORD(ttOSRecord.sFamilyClass);
// high byte of this field contains the family class
BYTE hb = HIBYTE(ttOSRecord.sFamilyClass);
// low byte contains the family subclass
BYTE lb = LOBYTE(ttOSRecord.sFamilyClass);
ttOSRecord.fsSelection = SWAPWORD(ttOSRecord.fsSelection); // this is always 32
lpFontProps->uFamily = ttOSRecord.panose.bFamilyType;
ttOSRecord.usFirstCharIndex = SWAPWORD(ttOSRecord.usFirstCharIndex);
bRetVal = TRUE;
f.Close();
return bRetVal;

Similar Messages

  • Problem with checkbox on table component

    Hello i am having a problem with checkbox in table component
    i am developing something like a shopping cart app and i have a checkbox in my table component , i want users to select items from the checkbox to add to thier cart, They can select the items from cartegory combobox , my problem is when they select the items from the checkbox if they select another category the alread selected once do not display in my collection opbject please how can i maintain the state of the already selected items in my collection object

    Hi,
    Please go through the tutorial "Understanding scope and managed beans". This is available at:
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/scopes.html
    The details of the selected items need to be stored in an object that is in session scope.
    Hope this helps
    Cheers
    Girish

  • Premiere Pro CS5: please help problem with importing a file error output "there was an error decompressing audio or video"

    please help problem with importing a file error output "there was an error decompressing audio or video"

    this is related to what adobe program/version?

  • Select distinct problem with muliple join tables, help needed

    Hi,
    I have two main tables. Each has its of sub joined tables.
    guest_id_for_reservation connects two major tables. This has
    to be that way
    because my guest may change the room status from single to
    double (and the
    similar exceptional requests).
    guests reservation
    guest_id_for_reservation
    countrytable hoteltable
    delegationtable roomtype
    I form a query. I want to select distinct those results. But
    it does not
    work.
    If I do not include any table related to reservation table
    and its sub
    joined tables (disregarding guest_id_for_reservation), it
    works.
    Is there a specific syntax for select distinct of this type
    or any
    workaround.?
    Thank you
    Hakan

    Hi I'm still battling with this - have connected the AX to my Imac via ethernet and it shows up fine in Airport Utility. Status light is green and it says its set up to connect to my existing wireless network using wireless connection. Security in Network Preferences is the same for both: WPA2 Personal.
    So I don't think there's a problem with the AX, and my current wireless network (BT Home Hub) is working fine.
    And when I restore factory settings Airport Utility can see the AX before updating settings so the wireless side of AX must work too.
    I'm figuring it must be something about the settings that mean AU can't see it anymore. But I can't work out what, since security is the same.
    Any ideas would be great!

  • Problems with Java Dictionary Tables

    Hi Experts,
    I have some problems with the Java Dictionary tables that I have created for my
    application. There are around 15 dictionary tables, each one of them having
    several hundred records, added in due course.
    As much as I understand these tables (created using the dictionary perspective)
    are stored in the default schema of the J2EE engine where the dictionary project
    is deployed and there is no direct way to insert records into these tables, we have
    to separately write methods to insert, update and delete records.
    I've already done this. Now the problem is that i have moved my project DC from
    development to testing. Now here the tables are existing, but not the data that i
    inserted during development.
    NOW, the main question: IS THERE ANY WAY IN WHICH I CAN TRANSFER
    THE CONTENTS OF THESE JAVA DICTIONARY TABLES??
    I have tried solutions like creating a DBLINK between the databases, but it is
    tedious, and unpredictable in behaviour. Also Please do not advise to first
    download them to excel and then upload using jxlapi, etc.
    Thanx in Advance.
    Alka.

    Hi Alka,
    The dblink is a good solution, but just a bit slow. You can also use a SQL Loader, first export the data from the source table in a text file (i.e. using a tool like TOAD), then sql loader loads the data in the destination table. This is more fast.
    Hope this help,
    Vito

  • Interactive form: problem with ValueHelp in table

    I have InteractiveForm element  in my WDA.
    The form has Table. One of the columns of the table is ValueHelp button from WebdynproNative library.
    The form executes ContainerFoundation_JS code on the ValueHelp click event just fine.
    The Search help gets called just fine.
    My problem is that the Table cell on the form doesn't get populated with the value selected on the search help.
    The Table is bound ro WDA context.
    I am afraid that Adobe gets confused with the row number to return the Help value.
    I have no problem with ValueHelp button on a single TextField (not in a table).
    But within the Table....
    Is ValueHelp working in a Table?
    Any help is greatly appreciated,
    Tatyana.

    Ralph,
    I followed you advice and created identical WDA's and forms in "ECC box" and "RPM box".
    To clarify, "ECC box" is:
    - component version = SAP ECC 6.0
    - SAP_BASIS package level 20
    "RPM box" is:
    - component version = SAP Netweaver 2004's
    - SAP_BASIS package level 17
    I didn't have problems in "ECC box".. Value help in table was working.
    There was some disconnection between WDA table and PDF table in  "RPM box".
    I noticed differences in schemas generated from WDA: "RPM box" schema was not same as "ECC box" schema.
    I believe that it is WDA issue giving me a problem, since I generated XML schemas using right  click on IneratctiveForm object in WDA.
    We defenetly need to update RPM system to a nigher package or try to find OSS note  to fix the issue.
    Points are awarded.
    Ralph, thank you very much for helping me to identify the problem!
    Tatyana.
    Otto,
    I thought you are SAP mentor...
    Somebody with exactly same name as yours sounds like a grampy person in many of  his replies...

  • Problems with calculation in table footer

    I’m working on a 'dynamic form’ with an expandable table (i.e. the user presses a button to add a new row), there are cells in each row for beginning month & ending month, plus an autocalc total field containing the formula: “ending – beginning +1” (which accurately calculates total months e.g. Jan-Dec = 12 months). There is also a ‘total months’ field in the footer which sums the row ‘total’ cells. The problem I have is that the user could add a blank row throwing off the total cell in the footer. Any suggestions to accomplish my goal of presenting accurate total in footer while ‘idiot proofing’ the form?

    A link to the your live test page would be much more productive here. 
    It's much easier for us to diagnose problems when we can see your page & images in our browsers.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Problem with loading fact table in OWB3i

    Hi,
    I have a problem while trying to load a fact table using OWB 3i. Let me explain the situation :
    I have 2 dimensions: Customer, Product say.
    I have loaded the dimension tables separately, successfully using different mappings from source tables.
    Now I want to load the fact table with the corresponding warehouse keys from these dimension tables through lookup transformation.
    When I try to bring to lookup transformations for the 2 dim. tables, it gives an error--"Source and target are bound to different data providers". Using 1 dim table and 1 corresponding lookup transformation , the fact table is successfully loaded.
    How to load a fact table when there are more than 1 dim. tables using lookup ?Is there any other way of solving the same problem?
    Any suggestion will be highly appreciated.
    regards
    Dipanjan

    Simply, try joining source tables with the join operator. In wich way you can create a single source object into the mapping suitable to be connected with yours fact tables.
    Greetings

  • Problem with sap script table in main window

    hi all,
    i have created a sap script  for which output is in 7 pages.
    except first page all the remaining pages are giving the correct output.
    the problem with the first page is iam not not getting vertical lines in the table which is in the main window of page 1.
    iam getting the vertical lines correctly in the mainwindow table of all the remaining pages.

    Hi,
    It's simple,
    Pre- U should had declared a second page for the same window with header, main & footer.
    now
    First when u r looping the internal table provide no of rows eg Row 1 TO 10. in the Loop ( Data Tab)
    or
    when defing TEXT Go to PC Editor and mention all the fields Under  PROTECT -  ENDPROTECT.
    This would solve the issue.
    Thanks
    Ravi

  • Problem with DB6CONV online table move

    Hello,
    I tried to schedule a few concurrent online table move using DB6CONV (version 4.08, on NW07 SP17, DB2 9.5), and I got the error message below in two of the table move sessions:
    20090917 174517 ONLINE CONVERSION: Start of Step 1 (INIT)
    20090917 174517 CALL SAPTOOLS.ONLINE_TABLE_MOVE( 'SAPBD1', '/BIC/AZGL_D00600',
                      'BD1#ZDGLAD', 'BD1#ZDGLAI', '', '', '', 'INIT' )
    20090917 174518 ONLINE_TABLE_MOVE - INIT step aborted.
    20090917 174518 SQL0443N  Routine "*BLE_MOVE" (specific name "") has returned an error
                      SQLSTATE with diagnostic text "SQL0624N  Table
                      "SAPTOOLS.ONLINE_TABLE_MOVE" already has a ".  SQLSTATE=42889
    20090917 174518 Step 1 aborted with errors
    I then chose "Continue" on one session alone, it completed successfully.
    If this is a problem when running DB6CONV online table move in parallel? Is there any way to fix this problem?
    Thanks,
    Patrick

    Hi Siegfried,
    My trace file will excee the maximum 15000 characters allowed in this forum. If you like I can send you in the email.
    With a single table move, it will not fail. So the trace file below showed a successful init step:
    13286: entry: SQLT_db2sap_online_table_move     "SAPBD1"        "/BIC/B0001321000"      "INIT,TRACE"
      838: entry: SQLT_db2sap_Otm_constructor       fffffffffff5c40
        145: entry: SQLT_db2sap_StoredProcedure_connect     fffffffffff5c40
        172: exit:  SQLT_db2sap_StoredProcedure_connect=0
        113: entry: SQLT_db2sap_StoredProcedure_initVersion fffffffffff5c40
          130: SQLT_db2sap_StoredProcedure_initVersion      "driverVer"     "09.05.0002"
        136: exit:  SQLT_db2sap_StoredProcedure_initVersion=0       true    true
        877: SQLT_db2sap_Otm_constructor    "indexNameSz"   128
        880: SQLT_db2sap_Otm_constructor    "triggerNameSz" 128
      883: exit:  SQLT_db2sap_Otm_constructor=0
      2951: entry: SQLT_db2sap_Otm_getProtocolEntryAsInt    "TRACE" fffffffffff5c40 true    0
        2921: entry: SQLT_db2sap_Otm_getProtocolEntry       "TRACE" fffffffffff5138 129     fffffffffff5c40 true    "<null
    >"
          2847: entry: SQLT_db2sap_Otm_getProtocolEntry     "SAPBD1"        "/BIC/B0001321000"      "TRACE" fffffffffff513
    8       129     fffffffffff5c40
            305: entry: SQLT_db2sap_StoredProcedure_prepare "SELECT COALESCE(value, longvalue) AS VALUE FROM SAPTOOLS.ONLI
    NE_TABLE_MOVE WHERE tabschema = ? and tabname = ? and key = ? OPTIMIZE FOR 1 ROW"       fffffffffff5c40 false
            323: exit:  SQLT_db2sap_StoredProcedure_prepare=0
            2890: SQLT_db2sap_HANDLE_SQLCA  -100014
          2903: exit:  SQLT_db2sap_Otm_getProtocolEntry=-100014     ""
          2847: entry: SQLT_db2sap_Otm_getProtocolEntry     ""      ""      "TRACE" fffffffffff5138 129     fffffffffff5c4
    0
            2890: SQLT_db2sap_HANDLE_SQLCA  -100014
          2903: exit:  SQLT_db2sap_Otm_getProtocolEntry=-100014     ""
          2940: SQLT_db2sap_HANDLE_SQLCA    -100014
        2943: exit:  SQLT_db2sap_Otm_getProtocolEntry=-100014       ""
      2981: exit:  SQLT_db2sap_Otm_getProtocolEntryAsInt=0  0
      3469: entry: SQLT_db2sap_Otm_setLock  fffffffffff5c40
        2921: entry: SQLT_db2sap_Otm_getProtocolEntry       "LOCK"  fffffffffff50d8 129     fffffffffff5c40 false   ""
          2847: entry: SQLT_db2sap_Otm_getProtocolEntry     "SAPBD1"        "/BIC/B0001321000"      "LOCK"  fffffffffff50d
    8       129     fffffffffff5c40
            2890: SQLT_db2sap_HANDLE_SQLCA  -100014
          2903: exit:  SQLT_db2sap_Otm_getProtocolEntry=-100014     ""
        2943: exit:  SQLT_db2sap_Otm_getProtocolEntry=0     ""
        2993: entry: SQLT_db2sap_Otm_protocolTime   "LOCK"  fffffffffff5c40
          305: entry: SQLT_db2sap_StoredProcedure_prepare   "MERGE INTO SAPTOOLS.ONLINE_TABLE_MOVE AS t USING TABLE
      323: exit:  SQLT_db2sap_StoredProcedure_prepare=0
      922: entry: SQLT_db2sap_Otm_destroy   110029290       fffffffffff5c40
        3522: entry: SQLT_db2sap_Otm_releaseLock    fffffffffff5c40
        3536: exit:  SQLT_db2sap_Otm_releaseLock=0
        770: entry: SQLT_db2sap_Otm_deinitReplay    fffffffffff5c40
        788: exit:  SQLT_db2sap_Otm_deinitReplay=0
        181: entry: SQLT_db2sap_StoredProcedure_disconnect  fffffffffff5c40
        260: exit:  SQLT_db2sap_StoredProcedure_disconnect=0
        648: entry: SQLT_db2sap_StmtPool_destructor
          649: SQLT_db2sap_StmtPool_destructor      2
        654: exit:  SQLT_db2sap_StmtPool_destructor=0
        181: entry: SQLT_db2sap_StoredProcedure_disconnect  fffffffffff5148
        260: exit:  SQLT_db2sap_StoredProcedure_disconnect=0
      997: exit:  SQLT_db2sap_Otm_destroy=0
    13634: exit:  SQLT_db2sap_online_table_move=0   "00000" ""

  • Problem with the sames tables in the same report

    Hi friends,
             I have a report with the same table twice. One with the original name (Company) and the second with alias (Company_A). This report wants to show a "tree" of companies. With code I get a Dataset    and I fill the report with it. This Dataset    have two tables the original and the alias table with one and two rows expletively. The data is correct is what we expect that the report will show but this not occurs. He only see the rows of the original table and if you get more than one row in it he try a Cartesian product and we see invalid results. Can I fill the report with the correct rows to show in the report? Is there any other possibility? To help I put an example:
    Fields of table Company as original table in the report: Company.
    Fields of table Company as alias table (Company_A) in the report: Company and OriginCompany.
    There is a relation between Company and Company_A through the field Company (original alias) and OriginCompany (alias table).
    The dataset    is like this:
    Table Company: one row --> Company1.
    Table Company_A: two rows --> Company1a, Company.
                                                   Company2a, Company.
    Then the report only shows the rows of the original table Company but no trace of the alias table Company_A
    If someone can help me thanks and if not also!!!
    Edited by: JuliaRomero on Jun 1, 2009 4:30 PM

    Use two connections not one when you are embedding one result set in another.
    If you are embedding one in the other also consider using a join which is faster and requires less code.

  • Problem with saving duplicated tables in interactive form

    Hi,
    I have an interactive form that contain a table with a row that contain "insert remove move " object .
    when i press the add button, it duplicate the table, but if i save the PDF and then open it again, the extra table does not appear,
    it seems like it never been save.
    do you knoe what is the problem? why the tables are not saved properly?
    thanks, Noa

    Hi,
    Try doing the following
    try using the simple 'Button'. In the button's object properties, in the tab named 'field', select 'Control Type: submit'.
    Then, in the 'submit' tab in the object properties, choose PDF in the 'submit format' dropdown field.
    In the 'submit to URL field' type:
    mailto:nameataddress.com?subject=mySubject&body=Done
    You may need to adjust the e-mail address, subject and body text.
    Regards
    Ayyapparaj

  • Problems with Performance in table AUSP - R/3

    Hello, I am working with the set of tables (Klah, KSSK, KSML, AUSP, CABN in SAP R3) and generate reports with Crystal Reports 2008. The problem arises when displaying the data in Table AUSP, since the characteristics (Attin) are listed as records and I must show them grouped by the field AUSP.OBJEK as columns (see how in the transaction CL30N).
    I probe with infoset, query / infoset and related tables in Crystal Reports but the performance is very bad.
    Anybody know of a function standard similar to CL30N or I have only programmed in ABAP?
    Edited by: Carolina Jerez on Oct 7, 2009 10:01 AM

    Hi Ruven,
    so you are able to log on to the portal from Windows via SSO. When you access the backend from the portal it is not working, right?
    What kind of iView are you using to access the backend? Can you try with a simple Windows-SAPGui-iView? Is it working then? If you are using some web-based application to access the backend there might be a problem with different domains so that the SAPLogon Ticket is not passed along (both the URL of the portal and the URL of the backend have to be in the same domain -- of course there are way to enable SSO to different domains, but let's start with this simple case)
    I would still recomend to use the Note mentioned above to trace what is actually sent to the backend (I don't think that the dataSourceConfiguration file you are using has anything to do with SSO not working from the portal to the backend).
    Regards,
    Holger.

  • Problem with version enabling tables with ric.

    Hello,
    i have the a problem when i want to version enable tables having ref. int. constraits having delete rule cascade or set null.
    Is it possible that i can't version enable the tables because of these constraints? How i could solve this problem if i want to keep the delete rule?
    thanks,
    Orsi Gyulai

    Hi,
    We are internally creating a <table_name>_g procedure that transfers privileges to the necessary users.  If you have a table with that name, it would explain the error.
    When using ignore_last_error, it will skip the statement that is selected from the all_wm_vt_errors view. Sometimes, the statement can be safely skipped, while in other cases it cannot be. This procedure will always eventually complete when it is repeatedly called with ignore_last_error set to true. However in doing so, some required objects or privileges may not exist or be in an invalid state.
    In your case, you most likely had to skip the 3 or so statements that dealt with the <table_name>_g procedure.  Typically, these statements should not be skipped, but you may or may not see a problem with it due to a number of factors.
    The best course of action may be to drop the trigger in a beginDDL/commitDDL session, and then recreate it in a separate session. Of course, only do this after renaming the <table_name>_g table that you have.  Unfortunately, there is currently no way of getting around this naming convention.
    Thanks,
    Ben

  • Problem with selecting remote tables.

    Hi, im having problems with one select...
    Running select, in which i select tables from remote DB, takes not more then 2 seconds, retrieving few rows.
    1) When i try to "create table as" using that select it takes about 1 minute to run.
    2) Trying "merge into" my table using that select takes more that 5 minutes, ... replacing the select within merge by newly created temporary table (point 1) works fine - takes few seconds to run.
    So why simple select takes few seconds, creation of table using that select takes one minute and merge using that select takes 5minutes to run ?
    Thanks for any ideas
    Plan hash value: 1936184599
    | Id  | Operation                             | Name                        | Rows  | Bytes | Cost (%CPU)| Time     | Pstart| Pstop | Inst   |IN-OUT|
    |   0 | MERGE STATEMENT                       |                             |     1 |   642 |    84  (12)| 00:00:02 |       |       |        |      |
    |   1 |  MERGE                                | NP_HT_REC        |       |       |            |          |       |       |        |      |
    |   2 |   VIEW                                |                             |       |       |            |          |       |       |        |      |
    |   3 |    NESTED LOOPS OUTER                 |                             |     1 |  8637 |    84  (12)| 00:00:02 |       |       |        |      |
    |*  4 |     HASH JOIN                         |                             |     1 |  8244 |    81  (13)| 00:00:01 |       |       |        |      |
    |*  5 |      HASH JOIN                        |                             |     1 |  4220 |    60  (10)| 00:00:01 |       |       |        |      |
    |*  6 |       HASH JOIN                       |                             |     1 |  4182 |    56   (9)| 00:00:01 |       |       |        |      |
    |   7 |        NESTED LOOPS                   |                             |     1 |  4134 |    41  (10)| 00:00:01 |       |       |        |      |
    |*  8 |         HASH JOIN                     |                             |     1 |  4109 |    40  (10)| 00:00:01 |       |       |        |      |
    |   9 |          REMOTE                       | HT_REC              |     2 |   170 |    11   (0)| 00:00:01 |       |       |   NP | R->S |
    |  10 |          VIEW                         | VW_SQ_3                     |   806 |  3167K|    29  (14)| 00:00:01 |       |       |        |      |
    |  11 |           SORT GROUP BY               |                             |   806 | 96720 |    29  (14)| 00:00:01 |       |       |        |      |
    |  12 |            MERGE JOIN                 |                             |   806 | 96720 |    28  (11)| 00:00:01 |       |       |        |      |
    |  13 |             SORT JOIN                 |                             |     2 |   170 |    12   (9)| 00:00:01 |       |       |        |      |
    |  14 |              REMOTE                   | HT_REC              |     2 |   170 |    11   (0)| 00:00:01 |       |       |   NP | R->S |
    |* 15 |             SORT JOIN                 |                             |  7100 |   242K|    16  (13)| 00:00:01 |       |       |        |      |
    |  16 |              REMOTE                   | T_UR_BUS               |  7100 |   242K|    14   (0)| 00:00:01 |       |       |   NP | R->S |
    |  17 |         REMOTE                        | T_UR                      |     1 |    25 |     1   (0)| 00:00:01 |       |       |   NP | R->S |
    |  18 |        REMOTE                         | T_UR_BUS               |  7100 |   332K|    14   (0)| 00:00:01 |       |       |   NP | R->S |
    |  19 |       REMOTE                          | HT_BUS                 |     3 |   114 |     3   (0)| 00:00:01 |       |       |   NP | R->S |
    |  20 |      VIEW                             | VW_SQ_4                     |     2 |  8048 |    21  (20)| 00:00:01 |       |       |        |      |
    |  21 |       REMOTE                          |                             |       |       |            |          |       |       |   NP | R->S |
    |  22 |     PARTITION RANGE ITERATOR          |                             |     2 |   786 |     3   (0)| 00:00:01 |   KEY |   KEY |        |      |
    |  23 |      TABLE ACCESS BY LOCAL INDEX ROWID| NP_HT_REC        |     2 |   786 |     3   (0)| 00:00:01 |   KEY |   KEY |        |      |
    |* 24 |       INDEX RANGE SCAN                | NP_HT_REC_IDX_UK |     2 |       |     1   (0)| 00:00:01 |   KEY |   KEY |        |      |
    Predicate Information (identified by operation id):
       4 - access("HB"."CHANGE_DATE"="VW_COL_1" AND "TUB"."BUNDLE_ID"="BUNDLE_ID")
           filter("ROWID"=ROWID)
       5 - access("TUB"."BUNDLE_ID"="HB"."BUNDLE_ID")
           filter("TUB"."DATE_CHANGE">="HB"."CHANGE_DATE")
       6 - access("HR"."USER_ID"="TUB"."USER_ID" AND "TUB"."DATE_CHANGE"="VW_COL_1")
           filter("HR"."CHANGE_DATE">="TUB"."DATE_CHANGE")
       8 - access("HR"."USER_ID"="USER_ID")
           filter("ROWID"=ROWID)
      15 - access(INTERNAL_FUNCTION("HR"."CHANGE_DATE")>=INTERNAL_FUNCTION("TUB"."DATE_CHANGE"))
           filter(INTERNAL_FUNCTION("HR"."CHANGE_DATE")>=INTERNAL_FUNCTION("TUB"."DATE_CHANGE"))
      24 - access("RES"."CHANGE_ID"(+)=TO_NUMBER(TO_CHAR("HR"."CHANGE_ID")) AND "RES"."REC_ID"(+)=TO_NUMBER(TO_CHAR("HR"."REC_ID")) AND
                  "RES"."SCHEDULE_ID"(+)=TO_NUMBER(TO_CHAR("HR"."SCHEDULE_ID")) AND "RES"."USER_ID"(+)=TO_NUMBER(TO_CHAR("HR"."USER_ID")) AND
                  "RES"."CHANGE_DATE"(+)=TO_DATE(INTERNAL_FUNCTION("HR"."CHANGE_DATE"),'dd.mm.yyyy hh24:mi:ss'))

    Have tried hint /*+NO_QUERY_TRANSFORMATION*/ and it is working fine now = 2seconds for merge :) Have no idea why is that, but it works
    thanks
    d.

Maybe you are looking for

  • RisPort returns NULL in Response

    Hi all, I'm trying to write a little Java application that fetches information about phones currently registered on a CUCM 6.1 cluster. I've generated Java classes from the WSDL using AXL 1.4's WSDL2JAVA tool. The code below is using these classes to

  • After upgrading from win 7 - win 8, do I really need the win 7 recovery partition?

    Hello. I'm a happy camper after upgrading my HP Spectre XT from win 7 to win 8 (Win 8 upgrade offer). The 128GB SSD disks just makes everything so smooth and fast. However I am abit annoyed with the Win 7 recovery partition that still uses 20 GB of m

  • Appropriate Steps To change the weblogic password in Cluster ENV

    Hi Experts, We need to change the password for weblogic(10.3.3) as activity. It would be helpful , if you can provide us , what would be the best ways to change it and what sequence we should follow for changing the password and then Bouncing Two Phy

  • Show SVG-Image in WebView

    Hello everybody, I would like to reopen the following discussion: Show SVG-Image in WebView (JavaFX 8) In our IDE (Eclipse Luna) running with jdk1.8.0_25 we load a html page into the webengine. The html page contains <img> tags with '.png' and '.svg'

  • Calendar crashes on February

    My wife has a Tungsten E2 which has become her life's mainstay. Whenever she tryes to go to February she gets a Fatal Alert, Fatal Exception and has to reset her Palm. I have the same palm with the same version of OS and calendar but i have no proble