Column Activity time of DB2 Thread Activity is sorted improperly

Dear Thomas!
There is a small but annoying problem... The column of "Activity Time" in "Thread Activity" ALV table is not sorted properly.
The field of "ACTTIME" contains time amounts in two different formats if the amount includes days or doesn't.
The note 1280173 doesn't correct the problem. Even after this note the column sorted in the descending mode looks in such a way:
12:13:14.156789
099d 12:13:14.5      
07:24:34.157890
030d 12:13:14.5      
020d 12:13:14.5      
01:24:34.157890...
The desired format (even with "d" for days):
d099 12:13:14.5      
d030 12:13:14.5      
d010 12:13:14.5      
12:13:14.156789
07:24:34.157890
01:24:34.157890...
It is an ALV table and its numerical fields are displayed as right-justified and character fields as left-justified despite leading spaces. A correction is required, either in the sorting routine or in these values presentation.
Best regards,
Vlad

My advice: Don't hold your breath.
SAP Note 1280173 is for BC-DB-DB2, aka DB2 for z/OS. Since this platform has at best 1% of the SAP market share, I would not expect such a small non-critical annoyance to be fixed quickly. That is just based on my limited experience with SAP on Z. SAP probably has bigger issues to solve on platforms with far more market share.
We're still waiting for the recommended runstats and reorgs to work with a schema other than the ABAP stack's SAPR3. At the moment, DSNACCOR is able to feed SAP all recommended runstats and reorgs, but SAP can only handle the ones with SAPR3. The others (including SAPJAVA) are ignored. We were first promised that this would be fixed in SAP_BASIS 7.00 SP17 and had to wait 6 months for this SP to be released after we identified the deficiency. It was NOT fixed in SP17. Now we are told the runstats piece MIGHT be corrected in SP18 (due out February 2009) and the reorgs MIGHT be corrected in SP19. We will have been waiting well over a year for this basic functionality that works with other supported SAP DB platforms.
Best of luck!
Brian

Similar Messages

  • Event Action Filters (difference between column Active & Enabled?)

    I have a IPS4260, running v6.0(3).
    Under "Configuration" > "Event Action Rules" > "Event Action Filter".
    What is the difference between column "Active" and "Enabled"? This is confusing.

    Event action filters are evaluated in a specified order. Active means that a filter participates in the order. Enabled means that it can perform a filtering action. Use Disable when you want to preserve the order, but not perform the action (e.g. if you want to turn it off for debugging, but want to keep it's place in the list later). Use Inactive when you don't want the filter in the ordering at all (e.g. if you want to keep it as a reminder, but don't plan to use it again). The filter list is displayed by CLI and IDM in logical order - first all of the Active filters in their specified order, and then all of the Inactive filters. I don't think the designers really intended to have 2 similar options; it is more a side effect of the data model used for storing the configuration.

  • How do I time out my thread if there is no network traffic

    How do I time out my thread if there is no network traffic for a given time? I have the following code listening for data:
    StringBuffer requestLine = new StringBuffer();
    int c;
    while(true) {
        c = in.read();
        if(c == '\r' || c == '\n') {//Not sure here???
            break;
        requestLine.append((char)c);
    }But how do I time this out if there has been no traffic for lets say 5 minutes?

    Have you redefined 'in'?
    If it's a raw socket connection, you can use the Socket.setSoTimeout method before you open the connection to specify how long it should hold it open if there is no data available.

  • What is Oracle's alternative to IDENTITY Column in SQL Server/ DB2

    What is Oracle's alternative to IDENTITY Column(Auto Increment Column) in SQL Server/ DB2 ? Is Sequence and Trigger the only way out for this?
    Why is Oracle not creating anything like an Identitiy column in SQL Server?

    What is Oracle's alternative to IDENTITY Column(Auto
    Increment Column) in SQL Server/ DB2 ? Is Sequence
    and Trigger the only way out for this?Of course not, you can use in your inserts sequences as well:
    insert into blahh values (my_seq.nextval, ...) and use returniong clause to get the value back if necessary
    You can use them in insert with subselects
    insert into blah
    select my_seq.nextval, ...
    from ....
    >
    Why is Oracle not creating anything like an Identitiy
    column in SQL Server?Because they are different companies with different people and thoughts and existing mechanism is sufficient i.e. one can even argue that it is even more flexible than identity btw ;)
    Gints Plivna
    http://www.gplivna.eu

  • Errors processing after adding Computed Column to Time.

    Errors in the high-level relational engine. The 'Time' table is based on a named query, and contains one or more computed columns. A table based on a named query cannot contain computed columns. If the computed columns are necessary, add them to the query
    expression.
    Help me, pls! Thanks!

    Hi CUONGNV0207,
    According to your description, you get this error when processing cube. Right?
    As the error message mentioned, a table based on a named query cannot contain computed columns. If you create a computed column in this table, it will throw this error. In this scenario, please go to the DSV and check if that table is set up with named query.
    You can replace it with a DimTable in your database.
    Reference:
    cryptic error when processing cube
    Errors processing after adding Computed
    Column to Time
    If you have any question, please feel free to ask.
    Simon Hou
    TechNet Community Support

  • A number of songs in my  i tunes libray have "not available" against them (in the column headed "Time") and won't play. How do I correct this?

    A number of songs in my  i tunes libray have "not available" against them (in the column headed "Time") and won't play. How do I correct this?

    Hello enrique a.
    Instead of trying to re-invent the wheel on this one, take a look at an article such as this one to help you take care of these exclamations.  Basically, it means iTunes is unable to locate the file on your computer anymore.
    http://ipod.about.com/od/itunesproblems/qt/Fixing-The-Itunes-Exclamation-Point.h tm
    B-rock

  • Measurement of the running time of a Thread.

    Hello.
    I try to measure the "net time" of a Thread. With the following example that does not succeed to me:
    public class ThreadA extends Thread{
    long l;
    public void run(){
    l = System.currentTimeMillis();
    //Some cpu time consuming operations
    l = System.currentTimeMillis()-l;
    //Expenditure of the total duration. Including the inactive time of ThreadA
    System.out.println(l);
    This example measures also the time during the Thread is inactive.
    Other mode of expression: Time measurement is to stop, as soon as the Thread is inactive. The measurement is to be continued, as soon as the Thread is continued to process.
    Does someone have a notion, how I can measure the time of a Thread, without the time, at which he was put down?
    Thank you,
    Martin.

    quak,
    I thaught about it but I'm sorry to say that as far as I know (and I'm 99% sure of it) this is not possible (or at least not doable, since everything is possible). Thread timing is done in the ThreadSheduler which simply cannot be accessed. One way to get close to it is take the total time of the thread and substract the time of all the other threads from it. The problem here ofcourse are the backgrounds threads, like gc, GUIThread, ... so that also does not offer any solution.
    So, unless some genius comes along, I'm affraid you won't be able to donate your dukes.
    greetz,
    Stijn

  • Help me out to create column with time format

    Hi all,
    please help me to find the query to Create a table with 3 columns and insert the following data
    ENTITYID| CHGDATE | CHGTIME
    ======= ==================== ========
    4214984| 02-OCT-06 12.00.00.000000 AM | 07:23:57
    4214985| 11-SEP-08 12.00.00.000000 AM | 10:52:19
    and Update the first row of the above table as follows
    4214984 | 02-OCT-06 07.23.57.000000 AM | 07:23:57
    need to update the CHGDATE column with time of CHGTIME column.

    As already said by Hans and Hoek: you should get rid of that chgtime column. Storing information twice only leads to extra storage and the need to keep them both in sync, without any benefit.
    An example which also shows a possible way to only update the time information. Lots of other ways are possible as well.
    SQL> create table entdate
      2  ( entityid number
      3  , chgdate date
      4  )
      5  /
    Tabel is aangemaakt.
    SQL> insert into entdate (entityid,chgdate) values (4214984, to_date('2006-10-02 07:23:57','yyyy-mm-dd hh24:mi:ss'))
      2  /
    1 rij is aangemaakt.
    SQL> insert into entdate (entityid,chgdate) values (4214985, to_date('2008-09-11 10:52:19','yyyy-mm-dd hh24:mi:ss'))
      2  /
    1 rij is aangemaakt.
    SQL> select * from entdate
      2  /
      ENTITYID CHGDATE
       4214984 02-10-2006 07:23:57
       4214985 11-09-2008 10:52:19
    2 rijen zijn geselecteerd.
    SQL> remark
    SQL> remark  "my doubt is how to update only the time in CHGDATE column"
    SQL> remark
    SQL> update entdate
      2     set chgdate = trunc(chgdate) + numtodsinterval(7,'hour') + numtodsinterval (18,'second')
      3   where entityid = 4214984
      4  /
    1 rij is bijgewerkt.
    SQL> select * from entdate
      2  /
      ENTITYID CHGDATE
       4214984 02-10-2006 07:00:18
       4214985 11-09-2008 10:52:19
    2 rijen zijn geselecteerd.Regards,
    Rob.

  • Multithreaded File Copy takes more time 1.5 times than single thread.

    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.nio.channels.FileChannel;
    public class TestMulti implements Runnable {
         public static Thread Th1;
         public static Thread Th2;
         String str = null;
         static int seqNumber = 1000000000;
         public static void main(String args[]) {
              Th1 = new Thread(new TestMulti("1_1"));
              Th2 = new Thread(new TestMulti("1_2"));
              Th1.start();
              Th2.start();
              try {
                   Th1.join();
                   Th2.join();
              } catch (Exception e) {
                   e.printStackTrace();
         public TestMulti(String str) {
              this.str = str;
         public void run() {
              File f = new File("C:/Songs2/" + str);
              File files[] = f.listFiles();
              String fileName = "";
              String seqName = "";
              String seq = "";
              int sequenceNo = 0;
              try {
                   for (int j = 0; j < files.length; j++) {
                        File musicFiles[] = files[j].listFiles();
                        for (int k = 0; k < musicFiles.length; k++) {
                             seq = "18072006";
                             seqName = seq + seqNumber;
                             sequenceNo = 10000 + seqNumber % 100;
                             seqNumber = seqNumber + 1;
                             fileName = musicFiles[k].getName();
                             String fileExt = fileName.substring(fileName.length() - 3,fileName.length());
                             String targetFile = "C:/Songs1/" + sequenceNo;
                             File fi = new File(targetFile);
                             if (!fi.exists()) { fi.mkdir(); }
                             targetFile = "C:/Songs1/" + sequenceNo + "/" + seqName+ "." + fileExt;
                             FileInputStream fin = new FileInputStream(musicFiles[k]);
                             FileChannel fcin = fin.getChannel();
                             FileOutputStream fout = new FileOutputStream(targetFile);
                             FileChannel fcout = fout.getChannel();
                             fcin.transferTo(0, fcin.size(), fcout);
                             fout.flush();
                             fcout.close();
                             fcin.close();
                             fout.close();
                             fin.close();
              } catch (Exception e) {
                   e.printStackTrace();
    Multithreaded File Copy takes more time 1.5 times than single thread.
    Is there any issue with this code. Please help me.

    If all of your threads are doing CPU-intensive work, or all are doing I/O to the same interface (for example, writing to the same physical disk), then multithreading would not be expected to help you.
    Multithreading does not magically make your CPU able to do more work per unit time than it could otherwise.
    Multithreading does not magically make your network interface or disk controller able to pump more bytes through than it could otherwise.
    Where multithreading helps (some or all of this has already been mentioned):
    * When you have multiple, independent CPU-bound tasks AND multiple CPUs available on which to execute them.
    * When you have tasks that involve a mix of CPU-bound and I/O-bound work. The CPU-bound stuff can crank while the I/O-bound stuff waits for bytes to be written or read, thus making use of what would otherwise be CPU "dead time."
    What you're doing does not fit either of those scenarios. Copying a file is pure I/O. If the source and destination file are on the same phsyical disk or controller, adding threads only adds overhead with no real possibility to do more work per unit time.
    If your source and destination are on different disks or controllers, then it's possible that you could get some benefit from multithreading. While one thread is waiting for bytes to be written to the target disk, the other thread can be reading from the source disk.

  • How can I  get System dates  with time scheduler using threads

    how can I get System dates with time scheduler using threads.is there any idea to update Date in my application along with system Date automatic updation...

    What the heck are you talking about and whatr has it to do with threads?
    Current time: System.currentTimeMillis. Date instances are not supposed to be updated.

  • Steady Framerate: Timer vs. Thread

    Hey all! Alright, well i belive that the title of this describes what i'm basically looking for. Anyway, i'm writing a simple skateboarding game, and i need a steady framerate. I've tried multiple ways of keeping a steady framerate... all of which failed (obviously) which is why i'm here! ^.^ So yeah, If i already have a thread in my main class would you suggest me making an inner-class that fires a refresh() then waiting a specified number of milliseconds. Or do suggest having a timer that fires a repaint() every certain number of milliseconds. Or maybe there's some sort of custom way to adjust the framerate on different computers, making some sort of custom timer. I appreciate all your inputs! Thanks!

    Normally it may be implemented with two threads. The first calculates the scene motion and the second renders and blits the scene to screen. If You are using pure AWT without Swing You need not use repaint. Instead You may render from every thread directly using aquired graphics context. And swing applications must render from event dispatching thread with a component's graphics context. In this case You must use repaint() (called periodically from timer or other thread).

  • In imovie can you trim multiple clips at a time?  Also, can you randomly sort the photos?

    In imovie can you trim multiple clips at a time?  Also, can you randomly sort the photos?

    Can I do all at once or 1 at a time? It seems to only allow 1 at a time.
    No. But you can do one, copy its settings, then seclect the rest and "Paste Audio Settings" to all of them all at once in a project.

  • I have a Free Agent external backup hard drive connected to my iMac Intel desktop via USB.  Why do I get an error message, from time to time, upon startup stating: "disk was disconnected improperly, always eject disk before disconnecting"?

    I have a Free Agent external backup hard drive connected to my iMac Intel desktop via USB, I never unplug it.  Why do I get an error message, from time to time, upon startup stating, "Disk was disconnected improperly.  Always eject disk before disconnecting."?

    I never unplug the external harddrive, and the error message comes up only occassionaly upon startup.  Maybe the USB connection gets disrupted enough to cause the computer to see it as disconnected and then reconnected while the iMac is powered.

  • Multi-Row Report Column Active Inactive State

    Env: Apex 4.0 - HOW TO DYNAMICALLY ENABLE/DISABLE COLUMN LINKS IN IR BASED UPON STATUS?
    I have a multirow interactive report page, with a 'Status' column and a 'icon-link' column. Based upon the status=VALID, I need to make the icon-link column value (Shown as image using the 'link' attributes of the column) either enabled/disabled.
    My question is, if row1 of the report status=*IN*ACTIVE, the icon-link column should be "*Disabled*" so that the user CANNOT click on the link.
    If the row2 of the report status=*ACTIVE*, the icon-link column should be "*Enabled*" so that the user CAN click on the link.
    The same above enable/disable of the icon-link need to appear based upon the STATUS column field value.
    Please help with any ideas/suggestions as to how this can be done.
    Thanks,
    SV

    Hi there,
    See if this works for you.
    Re: Conditional display for column links?
    Thanks
    Tauceef

  • New column - all-time rolling sum in Repository

    Hi all
    I need to build a new column in the repository.(ALL TIME ROLLING SUM TO DATE) and # Month Roll over on that.
    I am looking for a way to easily compute rolling sums (etc.) for ranges of dimensional values that are not included in the result set.
    I want to show a table of monthly unit count for 6 months:
    I have the values forall months ,starting from years 2000.
    Month unit Count
    Jan07 100
    Feb07 150
    Mar07 - 100
    Apr07 125
    May07 - 200
    Jun07 210
    In another column I want to show an all-time rolling sum of the transaction activity
    (sum the metric for all rows in the fact table <= the month in the row of the report).
    Month Unit Count Rolling Sum To Date (Balance) 3 month Rollover
    Jan07 100 3400
    Feb07 150 3550
    Mar07 100 3650 10600
    Apr07 125     3775 10975
    May07 200 3975 11400
    Jun07 210 4185 11935
    I tried RSUM for Rolling Sum To Date, but it dosent give rolling sum values above the considered result set time period.
    Immediate help is appreciated, kind of urgent help required.
    Thanks in advance.
    Edited by: user11939829 on Sep 16, 2010 10:20 AM

    Hi Deepak,
    When i gave the example i forgot to add that i am showing the pivot chart in the report and showing the RSUM in Line Graph for 3 years..where i have year at the column and i have one dimension at the page section of the prompt.
    So i m just showing the line graph where i have RSUM at the Vertical axis...Month at the horizontal Axis.
    Sorry for the confusion

Maybe you are looking for

  • Download file from program run in background

    Hi. I have a program that downloads the data into the application server. I need to download the data from the application server to the local pc.. can I do it in the same program?

  • SAP  r/3 Plugin activitation or ECC5

    Hi All,         Our company is having 4.6C in our landscape. We are having PP,MM,HR,FI/CO,SD modules. We are thinking to have a PM (Plant Maintaince) module in our landscape. Please let me know whether we require any other license or reactvitation fr

  • Old MacBook Pro, Snow Leopard, iMovie 09 and Sony DCR-SX41 Finally Solved!

    So this has been a real trial... Finally got video to import in iMovie09 using the DCR-SX41. The issue was that the Snow Leopard upgrade trashed a critical file. I found that out here: http://www.squared5.com/svideo/mpeg-streamclip-mac.html So I purc

  • JS CS4: strokeDashAndGap question

    var myOutsideGuide_Left = app.activeDocument.pages[0].graphicLines.add (app.activeDocument.layers.item ("Die")); myOutsideGuide_Left.geometricBounds = ["0 in", "3 in", "10 in", "3 in"]; myOutsideGuide_Left.strokeDashAndGap = ["3 p", "3 p","3 p","3 p"

  • CUPS PDF PRINTING IN WINDOWS OVER REMOTE DESKTOP - PRINTER NOT LISTED

    I am running OS X 10.6.2. I connect remotely using windows remote desktop / terminal services to various windows machines. For the XP and Windows 2003 Server 32 bit systems I have no problems with printing pdf documents from the remote windows system