Logical counter

Hi everybody,
How can I find or identify logical counter at table level? Also how do I find the arithmatic relation or operator relating the logical counter to other counters?
Regards,
Sanj.

Hi Debanjana,
The counters has a usage function attached to it. You don't have a direct relationship of the logical counter. You can check the usage function dependencies in SPRO. You need to check whether the usage functions are included in other usage functions or not. If the usage function is included, then there is a logical counter attached to it.
Hope this will help you. I don't know if you are still in Xerox. If you are then you can refer to the method SET_READING_DATA of the class ZCL_OTC_BEA_UBB_COUNTER.
N.B. Please forward your personal mail ID. I need some information from you.

Similar Messages

  • How to reduce logical count and scan count for a select query

    hi,
    I have two tables one is master and other is history. i need to combine this two tables into one temporary table.
    I am using the below query to create temp table.
    Select * into temporders
    from
    (select * from orders
    union
    select * from ordershistory) b
    where updateon= (select max(updateon)from (select updateon,name,units,subunits from orders
    union
    select updateon,name,units,subunits from ordershistory) a
    where updateon <='11/08/2008 11:18 AM' and a.name=b.name and a.units=b.units and a.subunits=b.subunits group by name,units,subunits)
    order by report,subunitsorder
    the statistics for this query:
    SQL Server parse and compile time:
    CPU time = 47 ms, elapsed time = 62 ms.
    Table 'Worktable'. Scan count 556, logical reads 1569, physical reads 0, read-ahead reads 0, lob logical reads 0, lob physical reads 0, lob read-ahead reads 0.
    Table 'ORDERSHISTORY'. Scan count 116, logical reads 339, physical reads 0, read-ahead reads 0, lob logical reads 0, lob physical reads 0, lob read-ahead reads 0.
    Table 'ORDERS'. Scan count 116, logical reads 285, physical reads 0, read-ahead reads 0, lob logical reads 0, lob physical reads 0, lob read-ahead reads 0.
    SQL Server Execution Times:
    CPU time = 32 ms, elapsed time = 63 ms.
    (115 row(s) affected)
    you see logical reads and scan count for worktable(temporary) is quite high.
    So anyone can give a solution for reduce the scan count and logical reads.
    NOTE: name,units, subunits,updateon columns have primarykey

    SQL ServerAm i reading it properly? :(
    This is Oracle Forum And not the SQL Server.
    Regards.
    Satyaki De.

  • 23.976 Logic is 1 frame ahead

    Dears all
    i am working on a 23.976 movie. Logic (902 or 911) is one frame ahead.
    I mean for example : Film is @ 05 04 11 10 and Logic counter is @ 05 04 11 11.
    I know it's just a frame but just wonder if there is a workaround.
    Thanks in advance.
    -A

    Yes, to match it exactly i have anticipate the movie offset by one frame.
    Btw it's an artefacted workaround.

  • Custom UITableViewCell from Interface Builder with retain count 2

    Hi!
    I am creating a customViewCell in my UITableViewController (which I was creating in IB) - the wired thing: it has a retain count of 2! Any hints why?
    UIViewController *c = [[UIViewController alloc] initWithNibName:CellIdentifier bundle:nil];
    GroupCell *cell;// = [[[GroupCell alloc] init] autorelease];
    cell = (GroupCell *) c.view;
    [c release];
    NSDictionary *groupDict;
    NSLog(@"retain count of groupCell: %d, ", [cell retainCount] );
    retain count of groupCell = 2!!
    my cell has no init method, no "retain" nor do I send anywhere a retain to it..

    Hey Alex!
    sommeralex wrote:
    I am creating a customViewCell in my UITableViewController (which I was creating in IB) - the weird thing: it has a retain count of 2! Any hints why?
    Your code is obtaining the retain count by sending the [retainCount|http://developer.apple.com/library/ios/documentation/Cocoa/Referen ce/Foundation/Protocols/NSObjectProtocol/Reference/NSObject.html#//appleref/doc/uid/20000052-BBCDAAJI] message, so this warning in the doc applies:
    Important: This method is typically of no value in debugging memory management issues. Because any number of framework objects may have retained an object in order to hold references to it, while at the same time autorelease pools may be holding any number of deferred releases on an object, it is very unlikely that you can get useful information from this method.
    I think the above is telling us that retainCount returns an accurate number, but that number is useless because we don't know how many releases are pending. E.g., suppose your code has released an object prematurely, so your logical count should be zero. However, if the runtime system has retained the object 5 times at that stage, retainCount will return 5. The point is that all 5 of those retains will be released at some future time not of our choosing.
    You can override retain and release to keep your own count, but I don't know if that count is any more useful than what you get from retainCount.
    I think the only retain count that's any of our business is the number of retains and releases we see in our code. In other words, I think the logical count is much more useful than the real count:
    UIViewController *c = [[UIViewController alloc]
    initWithNibName:CellIdentifier bundle:nil]; // Line A: +1
    GroupCell *cell;
    cell = (GroupCell *) c.view; // Line B
    [c release]; // Line C: -1
    NSLog(@"retain count of groupCell: %d, ", [cell retainCount] );
    Based on the doc for the ['view' property of UIViewController|http://developer.apple.com/library/ios/documentation/UIKit/Ref erence/UIViewControllerClass/Reference/Reference.html#//appleref/doc/uid/TP40006926-CH3-SW2], the view object should be created and retained once when the nib is loaded in Line A (except if no view object is included in the nib, in which case the view would be created and retained once in Line B). The view would then be released once when the view controller is released in Line C.
    So using my arithmetic, the view's retain count is zero after Line C. If that's correct, the only thing saving you from a crash might be one of those system retains we don't know about. You could test my analysis by not giving the view to a table view, then checking to see if it still exists at some point after the end of the current event cycle. You could implement dealloc with a NSLog statement in your custom view to see if and when the view is actually freed.
    Absent any further analysis, I would advise retaining and autoreleasing the view before releasing the controller (or just autoreleasing the controller), to make sure the view lasts until retained by your table view.
    - Ray

  • Error while generating the report on Test env (for divide condition)

    Hi All,
    I am facing the below error while generating the report in test environment while the same report is working fine on Prod environment.
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 16001] ODBC error state: S1000 code: 1791 message: [Oracle][ODBC][Ora]ORA-01791: not a SELECTed expression. [nQSError: 16001] ODBC error state: S1000 code: 1791 message: [Oracle][ODBC][Ora]ORA-01791: not a SELECTed expression. [nQSError: 16015] SQL statement execution failed. (HY000)
    Actually the error is coming for the below logics:
    COUNT(DISTINCT RMA.RMA)/COUNT(DISTINCT User."User Name")
    "RMA Fact"."Module Backlog"/COUNT(DISTINCT User."User Name")
    Can anyone please tell if I need to make any configuration changes as the same logic works perfectly fine on production but not on test.
    Thanks in advance

    Is anyone having any idea about it...

  • Several  iTunes in one Mac

    An iTunes question but related to one Mac computer's common application in two or more operating systems.
    If, when assigning an iTunes account, the unique computer and person identity is known I wonder why logic counts 1 for Leopard, 1 for Vista and 1 for Windows 7 iTunes.
    All I want to do is listen to and/or watch my purchased media in my computer without worrying that I'll lose ability if I forget to deactivate say Windows 7 or maybe Leopard going to Snow Leopard or through having to reinstall an OS from scratch due to some failure beyond any other means of recovery.
    Having lost my account in the past for ~8 to 12 months I really do not want that to happen again.

    I've had my eye on an HP EX485 MediaSmart Home Server (NAS)
    http://www.amazon.com/exec/obidos/tg/detail/-/B001OI2ZG4/
    Centralize your iTunes music libraries on the MediaSmart Server for playback to any networked Mac or PC running iTunes.
    Overkill for a single computer.

  • Dynamic actions in two select list

    Hi all,
    I have created two select lists.one is parent another is child.
    i can get the child list values correctly using cascading lov parent item
    Eg: parent item values company name :x,y,z etc
    x having 3 clients say a,b,c
    there is no client for y
    z having 2 clients say d,e
    now i want to hide the child item once the parent having no child.
    The moment when i select 'y' for the above example i want to hide the child item.
    How can i do that?

    Hi,
    You can do the following:
    1. Create a hidden page item, say PX_HIDE_SHOW_FLG
    2. Create a Dynamic Action of the type "Set Value" on the parent item to update PX_HIDE_SHOW_FLG. You can choose the "Set Type" as "PL/SQL Function Body". The function code should return 'Y' or 'N' based on the logic (count the number of children under the selected parent). You can trigger this DA on "change" of the parent item.
    3. Now, create another DA on PX_HIDE_SHOW_FLG to hide/show the child LOV item based on its value. For, example, if value (of the hidden page item) = 'Y', then hide, else show.
    Thanks,
    Rohit

  • Printer-Friendly Page

    Hi,
    My JSP needs to generate a "printer-friendly" version of a page.
    1) As you know, the JavaScript print() method prints the page currently loaded in the browser. Can I, in my "Printer-unfriendly" page, have a Print button, which on click, calls a JSP/servlet, generates a "Printer-friendly" page BUT DOES NOT LOAD IN THE BROWSER, but prints? Or do I have to show the user the "Printer-Friendly" page before printing it?
    2) What are the points I need to take care in order to make an HTML page Printer-friendly?
    thanks

    Hi!
    I, just recently, made this kind of page you're talking about and didn't find a simple and good way of achieving this through anything but a simple print-friendly page.
    I did it using
    # body-onload triggers the print() function
    # through some logic (counting html lines) in the page I inserted the folowing html code to achieve
    page breaks in the printed document:
    <p clear=all style='page-break-before:always'>
    # After the print method I forwarded the client to another page (which will happen even if the user
    clicked cancel in the print dialogue)
    If you find a better way, I'd br glad to hear of it...
    /Rickard

  • Parallel Tasks but Optional

    Hello Everyone.
    I have a requirement where I need to fork 5 parallel tasks ( all different subprocess), wait for 4 to finish and complete the join but let the 5th one be optional. It means that The join does not need for the 5th task to be completed. The 5th subprocess again forks off multiple tasks ( all same task this time) which may be treated as separate tasks and has no dependency on each other, can be performed at any time. This means that they dont have to join for the 5th subprocess to be end.

    If you just want any 4 of the 5 to complete before continuing, add a new integer instance variable. In your Join activity, add this logic:
    counter = counter + 1
    if counter > 3 then
        action = RELEASE
    end
      If it's one specific subprocess you do not want to wait for, create 4 Boolean instance variables that represent each of the manditory subprocesses. Each of these would be set to true as their copy spawned by the Split reaches the Join activity. Your logic in the Join would look like this:
    case copy.activity.source.id
      when "IdOfSubflowActivity1" then
           flag1 = true
      when "IdOfSubflowActivity2" then
           flag2 = true
      when "IdOfSubflowActivity3" then
           flag3 = true
      when "IdOfSubflowActivity4" then
           flag4 = true
    end
    if flag1 && flag2 && flag3 && flag4 then
        action = RELEASE
    endDan

  • Logic Express on MBP 2.2 to Logic Pro or Wait? Track count? 720 RPM drive?

    Hey there,
    Just a few easy questions, some of which I am sure have been asked but didn't find with search.
    Wondering if I should upgrade to Logic Pro or wait until after Leapord? As their is some speculation the FCP is going to come out (NEW) and be very, VERY Apple like, not like iMovie, (he said, and saw), but nonetheless very VERY Apple like for FCP, so wondering how far Logic is. Also, how many times can you install LP?
    Right now everything from Storm Drum FX EXtreme, EWQL SO, VLS, etc, are all on PC and I still don't use the PC that much and am hoping new LOGIC include a great drum machine.
    II. Anyone know what track counts you can expect with off the shelf MBP 2.2 and plug ins? (Soft Synths)?
    III. Has anyone upgrade their HD to 7200? If so, more or less batter life? Any real world difference besides boot up time in AUDIO work advantages?
    Thanks

    Now see, this is what I was afraid of. (LOL), I have built PC's for a long time and was always under the impression having a 7200 RPM System drive is fine and these days so fast with eSata that on a MBP 2.2 (which is what I have - someone asked what I was using, or did they mean software), that is should be plenty fast enough, just wondering though for samples, BFD, DrumCore, VSL, etc if those should go on a firewire.
    I also use Absysnth (if this is what you mean (other poster), Nuendo, FC Express, SX3, Logic E, Reason, ......
    Two scenarios:
    Music=Mine, Drum machine, really like the Addictive (also have and Drumcore) as well as have Groove Agent, Storm Drum, (No storm drum yet or FX Extreme for Intel, let alone EWQLSO?), bass, guitar, vocals.
    Scenario II. Scoring Trailers:
    Soft Synth, Samplers (EWQL/VSL), Reason, Absynth.
    Most of the time I could do this on a old system equal to first duo on PC on the system disc, although I had 4 HD's. The Firewire is Mackie 400F, which also has a firewire, (extra) that I have plugged a digital cam cord AND up popped iDVD, iMovie, also have FCP.
    But it's interesting that the two responses I got one said much better performance, the other not.
    So, are we using in the new 2.2 (LED) eSata)? Is the a 32 slot for the MBP for eSata HD? Isn't this supposed to be the fastest?
    http://www.firmtek.com/seritek/seritek-2sm2-e/
    Thanks!

  • How to use a counter to build a Logic Analyzer?

    Hi guys, i have heard that we can use a counter as a Logic Analyzer based on an incoming signal and its clock frequency. Anyone know how this works?
    I am trying to read a set of signals, which I have no knowledge of  except that there would a Clock, reset and a data line; and I want to develop a Logic Analyzer to 'know' these signals.
    Thanks, Anoop
    Solved!
    Go to Solution.

    Lynn,
    I have a PXI-7813R, which along with its FPGA is sufficient I believe for this purpose.
    How many digital signals do you need to examine simultaneously?
    Well, I am not sure, but based on the signals generated by similar devices, I would guess between 4 and 6. I expect there to be a Clk, Rst, Data and some other signals.
    What is the maximum frequency?
    I have no idea or how to even come up with a guess on this one.
    What is the maximum and minimum number of samples per signal that you need to capture?
    Again, not a clue. Would it not depend on the Clk frequency?
    Are any of the signals ever in a high impedance (tri-state) mode?  
    Again, don't know, sorry.
    Is the minimum pulse width for non-clock signals the clock period, half the clock period, or something else?
    Sorry again.
    How would you go about in this situation?

  • Use Counter in Script Logic

    Hi guys, I have code in default logic which starts its run if one of several accounts data has been sent. However, when I send data for 2 accounts from *WHEN/IS condition, this script logic runs 2 times and result doubles, while I need it to work only once. Here is a code:
    *WHEN P_ACCT
    *IS "PAC10064", "PAC10065", "PAC10066", "PAC10067"
    *REC(EXPRESSION=[P_ACCT].[PAC10064] + [P_ACCT].[PAC10065] + [P_ACCT].[PAC10066] + [P_ACCT].[PAC10067], P_ACCT="PAC10068")
    *ENDWHEN
    *COMMIT
    Is there any option to put Counter in BPC Logic, like in VBA where I can put code like this
    Y=0
    *WHEN P_ACCT
    *IS *
    IF Y=0
    *do calculation
    Y=Y+1
    END IF
    ENDWHEN
    Looking for help. Thank You.

    Nilanjan,
    1. Is there any option to generate intersection within %VALUE% with something else but not with so many *WHEN/ENDWHEN? The reason why I'm asking is that we have 300 calculations to develop and hadle in Script Logic and this will be quite a toughcode to maintain for client afterwards
    2. And another question: with 2 *SELECT statements we get 2 pools of Accounts, which we need divide ( SUM(Pool1)/SUM(Pool2) ). What I need to write in EXPRESSION and is there any chance to avoid FOR/NEXT in this case?
    *SELECT(%ACCOUNT1%, "[ID]", P_ACCT, "[SUBFUNC_ID]='SUB09'" AND "[TYPE]='u0417u0430u0442u0440u0430u0442u044B'" AND "[CALC]='N'")
    *SELECT(%ACCOUNT2%, "[ID]", P_ACCT, "[SUBFUNC_ID]='SUB07'" AND "[TYPE]='u0417u0430u0442u0440u0430u0442u044B'" AND "[CALC]='N'")
    *SELECT(%COSTCENTER%, "[ID]", COSTCENTER, "[TYPE_ID]<>'TP11'" AND "[CALC]='N'")
    *XDIM_MEMBERSET COSTCENTER=%COSTCENTER%
    *WHEN P_ACCT
    *IS *
    *DESTINATION_APP = KPI
    *SKIP_DIM = COSTCENTER_SEND
    *ADD_DIM AGGREGAT = AGR2, WORKSHOP_LINE = WSL2, STOCK_CATEGORY = STC2, PARTNER = PRN2, RESOURCE_TYPE = RTT2, SALE_PROJECT = SLP2
    *REC(EXPRESSION=................, COSTCENTER="CCN2", P_ACCT="PAC30318")
    *ENDWHEN

  • Counter logic  in Function module of the generic extraction

    Hi,
    I had like to add this counter field which can be used in reporting..
    As this extraction logic is bit different, i cannot include it in transformations with 1 as a constant..
    so i am wrtiting this logic in Function Module..
    in the main table loop i had assigned this counter as 1 and after appending it i am clearing the counter field...
    is it a correct way or is there any thing that needs to be taken care?

    Hi,
    it will put 1 for every record.
    Can you share your coding ? please copy past your coding
    Regards,
    G

  • Logical Aggregate Column (count(distinct)) Does Not Group for SQL Server DB

    When utilizing the count(distinct column_name) aggregate function within a Logical Fact source in the Business Model and Mapping layer in the RPD file the output in BI Answers is not grouping correctly for SQL Server 2008 database sources only. All Oracle database sources represent the same aggregate column correctly within BI Answers.
    I am using OBIEE version 10.1.3.3.3
    Does anyone know how to resolve this issue?
    Thanks in advance,
    Kyle

    I thought that I would update my current findings with this issue. If you display the report in BI Answers as a Pivot Table view the aggregate column displays properly, it does not in a Table or Compound Layout view for some reason. I am still working with Oracle Support on this.

  • Proper counter for logical processors

    Under Task Manager, there is an option to view logical processors as seen in the image attached below. Problem is that I would like a more accurate to monitor it, maybe via the Performance Monitor, but I could not find any matching counter for this.
    Would appreciate help in this matter.
    Thanks.

    That's exactly what I was looking for, great!
    Now the other issue, how can I use the Performance Monitor with some sort of alert mechanism, like email?
    Any DB of shared data collector set's in which I can browse for usages?
    thanks ahead!

Maybe you are looking for

  • Veetle is no longer working with firefox, any idea why, or how to fix it??

    As of two days ago, Veetle channels no longer appear using Firefox browser v. 8, yet seem to work perfectly fine with Google Chrome. Although similar issues have been raised in previous questions they (1) deal with earlier versions of FF, or (2) I ha

  • Screen in display mode

    I have crated a screen my screen should be in display (non-edit) mode .My screen contains two blocks for each block i need to give  a tile also something like this block1 and block2 .can one help in this issue? Thanks,

  • Setup Time Machine Backup To Multiple Devices

    I currently have a Time Capsule and I let Time Machine run it's regular back ups. What would I have to do if I wanted to run a manual backup once a month to another drive/device? Can this be done, or would I need to use another backup program/method

  • Adobe Reader XI install problem

    I have tried to install Adobe Reader XI on a computer, however, on shortly after the install starts I receive the error: "Setup was interrupted before Adobe Reader XI could be completely installed. Error code 150208" Anyone know more details on the e

  • New Itunes does not open.

    I downloaded the new Itunes and it will not open at all.  I click on it and the icon just hops and that is it. My Mac meets the requirments listed so I'm not sure why it won't let me open it.  Any ideas?