How to specify a particular index for DB2 database when using SQL in ABAP

Is this format for Oracle?
  select *
   into -
   from  vbrk CLIENT SPECIFIED
where erdat in erdat
    and mandt EQ sy-MANDT
    %_HINTS ORACLE 'INDEX("VBRK" "VBRK~ZER")'
For the index 'VBRK~ZER' was defined before,it only includes one field 'VBRK-ERDAT'.
How can i tell Sap to use this index while processing SQL in DB2?
Thanks advance.

There are different hints for the different database platforms.
For up-to-date information please read the SAP notes, search 'hint DB2'.
Siegfried

Similar Messages

  • How to specify an initial value for a sequence? (using DPL)

    I've been trying to come up with a piece of code that would initialize the sequences defined within the annotations in my persistent classes, with no success. According to the documentation I could find, I figured that the following method would work:
    public void initSequence(String sequenceName, String svalue) {
         SequenceConfig sequenceConfig = null;     
         try {
         sequenceConfig = m_store.getSequenceConfig(sequenceName);
         sequenceConfig.setInitialValue(Long.parseLong(svalue));
    m_store.setSequenceConfig(sequenceName, sequenceConfig);
         System.out.println("Successfully initialized sequence: " + sequenceName);
         } catch (IllegalStateException e) {
    // ignore; the sequence had already been opened
    } (where m_store is an EntityStore instance)
    Before this method gets called, all my primary and secondary indices get created as in:
    m_linkIndex = m_store.getPrimaryIndex(Integer.class, Class1.class);
    etc.
    And my classes look like the following:
    @Entity
    public class Class1 {
         @SecondaryKey(relate=MANY_TO_ONE)
         private String m_contentUrl;
         private String m_creatorId;
         @PrimaryKey(sequence="linkID")
         private int m_key;
    etc.
    Problem: when I execute the 'initSequence' method with proper parameters (e.g. 'linkID', '10000000'), it has no apparent effect on the values the sequence uses. In fact, the sequence starts at number 1 :-(.
    Could somebody explain what is that I am doing wrong? (assuming the software is not buggy). I am using version
    3.3.69. Thanks in advance!

    Sorry, you're right.
    Before this method gets called, all my primary and secondary indices get created as in:Perhaps the problem is that you're configuring the sequence after you open the index. The sequence (and database) configuration must occur before opening the index.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How do you set up tacacs+ for exec authentication when using WDS???

    I set up tacacs+ authorization on the WDS and it works great. When I tried to set it up on the infrastructure ap1200 I am unable to login unless it is as a locally defined user. I have attached some config info from the infrastructure AP Version 12.2(15)JA. I am using ACS 3.3
    aaa new-model
    aaa group server tacacs+ tac_admin
    server 10.2.57.82
    aaa group server tacacs+ tac_acct
    server 10.2.57.82
    aaa authorization exec default local group tac_admin
    aaa authorization exec ap_exec group tac_admin local
    aaa accounting exec default start-stop group tacacs+ group tac_admin
    aaa session-id common
    dot11 aaa csid unformatted
    dot11 network-map
    dot11 arp-cache optional
    tacacs-server host 10.2.57.82 single-connection port 49 key a-!kGB9qr0H
    tacacs-server directed-request
    wlccp ap username SetrusAdrU password 7 150B3508162B6605176A662303
    line con 0
    line vty 5 15
    authorization exec ap_exec
    I am not receiving any passed or failed logs on the ACS or in the TACACS administration log. Any help would be appreciated.

    Tacacs is working. I added the following lines to the configuration attached to the first post:
    ============================
    aaa authentication login ap_exec_login group tac_admin local
    ============================
    line vty 0 4
    authorization exec ap_exec
    login authentication ap_exec_login
    line vty 5 15
    authorization exec ap_exec
    login authentication ap_exec_login
    =============================
    The TACACS+ Accounting, Authorization and Authentication works great.

  • How to numberformat when using sql:query alogn with c:forEach JSTL tags

    Is there anyway to format the numeric values returned from the database when using <sql:query> alogn with <c:forEach> tags
    Here is my jsp code
    <sql:query..../>
    <c:forEach var="row" items="${queryResults.rows}">
    <tr>
    <td><c:out value="${row.COL1}" /></td>
    <td><c:out value="${row.COL2}" /></td>
    </tr>
    </c:forEach>
    Col1 values are numeric without any formats Eg: 1000, 10000, 1000000 etc.
    how can i format them to 1,000 , 10,1000 , 100,000 etc

    It is polite to mention what your answer was. These posts are not just here for you to ask questions, but to be used as a resource for other people to find answers. Saying "I solved it" with no details helps noone.
    I presume you discovered the JSTL <fmt:formatNumber> tag?

  • So how to specify different answer file for different install images in WDS snap-in?

    hello
    in WDS snap-in, in properties on server name, on client tab, we can define an answer file for unattended windows installation on WDS clients.
    my question is, maybe we have added multiple images in WDS snap-in (win xp image, win 7 , win 2008,...)
    now this one answer file applies to all of them ?
    so how to specify different answer file for different install images in WDS snap-in?
    thanks in advanced 

    Under the "Client" tab of WDS, you should only use an answer-file with settings relevant for the installation. This would be credentials for the WDS deployment share, international settings used during the setup and possibly also destination drive
    details (if you want the installation to take care of partitioning the disk etc). The settings relevant for unattend-files used under "Client" would only be of those in phase 1 (WinPE).
    However, if you would like to have specific unattend file for every installation, e.g. Win7, Server 2008, Win 8 etc, you can browse to the image under "Install Images" under the image Groups. There you can select properties for every image and
    have a personal unattend-file.
    hi Joel
    very cool. thanks a lot, that really helped me.
    best regards

  • How to create TNS entry for db2 database?

    hi,
    I want to create a db2 database tns entry in tnsname.ora file. How do i create?
    thanks

    There seem to be several related threads about this concern.
    Creating dblink for db2 database
    How to create TNS entry for db2 database?
    How to create TNS entry for db2 database?

  • How can I specify SMTP Email Server userID and password when using Email VIs?

    How can I specify SMTP Email Server userID and password when using Email VIs included in Internet Toolkit?

    Hi,
    A similar question was posted on Discussion Forums soem time back. Please see the link below.
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000C7B00000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
    You would find the last post in the above thread quite useful where it has a link to OpenG code. I am also copying that link for your reference.
    http://www.openg.org/tiki/tiki-index.php?page=OpenG+Internet+Connectivity+Tools
    Please feel free to respond to this post with any questions/comments you may have.
    Regards,
    Ankita A.
    National Instruments

  • Both DAG indexes for a database failed

    Hi all, looking for a suggestion on how I might be able to resolve this indexing issue.
    We've got a two node Exchange 2013 DAG. On the primary copy of the database, the index keeps failing and restarting its crawl. On the secondary copy, the node is showing that the index is Failed and Suspended.
    We'd stopped the search services and blown away the index folder for the DB on the mounted copy and let the crawl resume, but after a while we'll see it fail and then resume still. Looking at the High Availability > Seeding logs, event 1112 is getting
    logged every few minutes or more:
    Automatic Reseed Manager has detected a content indexing error for database 'DB06'. The catalog may be corrupted and will be reseeded automatically. contentIndexError: The content index of old schema version 1. Newer version 12 is available.
    Indexes on all other databases are healthy.
    So I need to figure out the best possible way to recover the indexes for this database. I can't fail over to the secondary node with a failed index, but it looks like I could force it if I have to. I haven't yet tried deleting the index on the secondary
    copy, and my suspicion is trying to reseed off the mounted copy will just be bad for the secondary copy. And the schema error concerns me too.
    Any suggestions on how best to resolve this?

    The only error I'm seeing is event 1009 in the Application log:
    Log Name:      Application
    Source:        MSExchangeFastSearch
    Date:          5/16/2014 1:11:54 PM
    Event ID:      1009
    Task Category: General
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      XMB2.domain.COM
    Description:
    The indexing of mailbox database DB06 encountered an unexpected exception. Error details: Microsoft.Exchange.Search.Core.Abstraction.OperationFailedException: The component operation has failed. ---> Microsoft.Exchange.Search.Core.Abstraction.OperationFailedException:
    The component operation has failed. ---> Microsoft.Exchange.Search.Fast.FastDocumentTimeoutException: The Content Submission Service returned failure for the document: Document timeout expired
    . ---> System.TimeoutException: Document timeout expired
       --- End of inner exception stack trace ---
       at Microsoft.Exchange.Search.Fast.FastFeeder.EndSubmitDocument(IAsyncResult asyncResult)
       at Microsoft.Exchange.Search.Mdb.CrawlerFeeder.DocumentCompleteCallback(IAsyncResult asyncResult)
       --- End of inner exception stack trace ---
       at Microsoft.Exchange.Search.Core.Common.Executable.EndExecute(IAsyncResult asyncResult)
       at Microsoft.Exchange.Search.Engine.SearchFeedingController.ExecuteComplete(IAsyncResult asyncResult)
       --- End of inner exception stack trace ---
       at Microsoft.Exchange.Search.Core.Common.Executable.EndExecute(IAsyncResult asyncResult)
       at Microsoft.Exchange.Search.Engine.SearchRootController.ExecuteComplete(IAsyncResult asyncResult)
    Other than that, as it crawls the index before failing, I see it cycling through tmp files, two or three at a time. Each one changes out and it keeps going until it fails. I don't recall seeing this happen with indexes before, this is pretty new to me.

  • [svn:fx-trunk] 10545: Make DataGrid smarter about when and how to calculate the modulefactory for its renderers when using embedded fonts

    Revision: 10545
    Author:   [email protected]
    Date:     2009-09-23 13:33:21 -0700 (Wed, 23 Sep 2009)
    Log Message:
    Make DataGrid smarter about when and how to calculate the modulefactory for its renderers when using embedded fonts
    QE Notes: 2 Mustella tests fail:
    components/DataGrid/DataGrid_HaloSkin/Properties/datagrid_properties_columns_halo datagrid_properties_columns_increase0to1_halo
    components/DataGrid/DataGrid_SparkSkin/Properties/datagrid_properties_columns datagrid_properties_columns_increase0to1
    These fixes get us to measure the embedded fonts correctly when going from 0 columns to a set of columns so rowHeight will be different (and better) in those scenarios
    Doc Notes: None
    Bugs: SDK-15241
    Reviewer: Darrell
    API Change: No
    Is noteworthy for integration: No
    tests: checkintests mustella/browser/DataGrid
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-15241
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridBase .as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColu mn.as

    Hi Matthias,
    Sorry, if this reply seems like a products plug (which it is), but this is really how we solve this software engineering challenge at JKI...
    At JKI, we create VI Packages (which are basically installers for LabVIEW instrument drivers and toolkits) of our reusable code (using the package building capabilities of VIPM Professional).  We keep a VI Package Configuration file (that includes a copy of the actual packages) in each of our project folders (and check it into source code control just as we do for all our project files).  We also use VIPM Enterprise to distribute new VI Packages over the network.
    Also, as others have mentioned, we use the JKI TortoiseSVN Tool to make it easy to use TortoiseSVN directly from LabVIEW.
    Please feel free to contact JKI if you have any specific questions about these products.
    Thanks,
    -Jim 

  • HT4970 How do you set a reminder for only you when you are also sharing?

    How do you set a reminder for only you when you are also sharing? I want to share the grocery list with my wife but she don't want to be reminded for me taking my medicine.

    Hey Gin-from-SC!
    Here is an article that can show you how to set a time and date alert for your reminders when you create them:
    iCloud: Create, edit, and delete reminders
    http://support.apple.com/kb/PH12088
    Take care, and thanks for visiting the Apple Support Communities.
    Cheers,
    Braden

  • How do i create mailing labels for an avery template using pages

    how do i create mailing labels for an avery template using pages.

    mcc,
    The first topic in the "More LIke This" box to the right of your question is a rather comprehensive address label printing discussion. Does it answer your question?
    Jerry

  • HT204291 how do get the media icon for mac mirroring when running airplay on itunes?

    how do get the media icon for mac mirroring when running airplay

    Airplay mirroring requires a Mac from 2011 or later, running OSX 10.8 (or later)
    http://support.apple.com/kb/HT5404?viewlocale=en_US&locale=en_US

  • How do I get a refund for a book when I wanted the audio book? I bought both but only need the audio book..

    How do I get a refund for a book when I wanted the audio book? I bought both but only need the audio book. I don't even know how to use the book. The only reason that I bought it was it was cheaper and I thought that it was the audio book.

    There are no refunds.

  • HT201441 Hello,how can i contact the owner for the stolen iphone using email?because i call the owner no phone,no one accept the call..

    Hello,how can i contact the owner for the stolen iphone using email?because i call the owner no phone,no one accept the call..

    Unless you have the owners email address you can't email them.
    If you have found a stolen iPhone and are trying to return it to its rightful owner, hand it in to the police.

  • Pse 11: How do you transfer a picture into a puzzle when using PSE 11?

    How do you transfer a picture into a puzzle when using PSE 11?

    Hello,
    because I work with PS CC I will give you some links, the first program is expressly made for PSE 11:
    PSE11: http://www.panosfx.com/commercial-free-photoshop-actions/puzzle-effects
    Here a Adobe Plugin:
    Adobe - Photoshop : For Windows : Photoshop CS5 Optional Plugins
    These links here may act as examples and maybe you cane use them too
    Create Jigsaw Puzzle Effect for Photos - Photoshop Tutorials - CSSCreme.com
    http://www.avbros.com/puzzlepro/index.html
    https://creative.adobe.com/addons/products/1069#.U_dkQ2NQQs0
    http://www.photoshopessentials.com/photo-effects/photoshop-puzzle/
    http://www.obsidiandawn.com/jigsaw-puzzle-pieces-photoshop-gimp-brushes
    Good luck!
    Hans-Günter

Maybe you are looking for