What is the Purpose of the Compute statement?

Hi All,
What is the Purpose of the Compute statement?
When we write this statement: (COMPUTE i_2000-total = i_2000-total + i_2000-amt2). What is going to happen..?
AKSHITHA.

Hi akshita,
The i_2000-total will have the sum of i_2000-total and i_2000-amt2.
eg i_2000 = 10 and i_2000-amt2 = 20
after ur stmt the result will be i_2000-total = 30.
Reward points if useful.
Regards,
Vimal

Similar Messages

  • HT4589 What are the computer requirements or specs for Final Cut Pro

    What are the computer specs required for Final Cut Pro?
    Also is anyone operating Avid Media Seven on an OS X Lion 10.

    Lynn Kielley wrote:
    What are the computer specs required for Final Cut Pro?
    http://www.apple.com/finalcutpro/specs/
    Even though it says 4 GB RAM recommended, I think most experience users woild say 8 GB and up is the real minimum.
    Can't answer the Avid question.
    Russ

  • What is the request state value to shutdown VM using hyper-v?

    As we know request state value 3 is used to turnoff VM , what is the request state value to shutdown hyper-v VM ? Is there any different ways to shutdown hyper v VM using C# wmi?
    Regards
    Venki

    This forum is for Windows Embedded Standard 8. Please post to the hyper-V forum is here:
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserverhyperv
    www.annabooks.com / www.seanliming.com / Book Author - Pro Guide to WE8S, Pro Guide to WES 7, Pro Guide to POS for .NET

  • HT1212 what if the computer i synced the ipod on doesnt work anymore

    what if the computer i synced the ipod on doesnt work anymore?

    To not lose anything:
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities

  • How to find what  are the select  statements fired on a particular schema

    Hi Guys,
    I have a development box schema whose username and the password is shared across many users who are doing the developement.
    I wnat to know what are the select statement fired on it during a particular time interval.
    Thanks,
    Prafulla

    with dba user
    BEGIN
    DBMS_FGA.ADD_POLICY(object_schema => 'schemaname',
    object_name => 'CALLS',
    policy_name => 'CALLS_AUDIT',
    statement_types => 'SELECT'
    …enable => TRUE);
    END;
    then all select are viewed on table dba_fga_audit_trail
    Edited by: Adigozalov Gurban on Dec 3, 2010 11:05 AM

  • What is the Extract statement? Please give me some sample code.?

    What is the Extract statement? Please give me some sample code.?

    Hello ,
    Once you have declared the possible record types as field groups and defined their structure, you can fill the extract dataset using the following statements: EXTRACT . When the first EXTRACT statement occurs in a program, the system creates the extract dataset and adds the first extract record to it. In each subsequent EXTRACT statement, the new extract record is added to the dataset EXTRACT HEADER. When you extract the data, the record is filled with the current values of the corresponding fields. As soon as the system has processed the first EXTRACT statement for a field group , the structure of the corresponding extract record in the extract dataset is fixed. You can no longer insert new fields into the field groups and HEADER. If you try to modify one of the field groups afterwards and use it in another EXTRACT statement, a runtime error occurs. By processing EXTRACT statements several times using different field groups, you fill the extract dataset with records of different length and structure. Since you can modify field groups dynamically up to their first usage in an EXTRACT statement, extract datasets provide the advantage that you need not determine the structure at the beginning of the program.
    Sample program:
    REPORT  ZSPFLI  LINE-SIZE 132 LINE-COUNT 65(3)
                                                 NO STANDARD PAGE HEADING.
    TABLES:SPFLI,SCARR, SFLIGHT, SBOOK.
    SELECT-OPTIONS: MYCARRID FOR SPFLI-CARRID.
    FIELD-GROUPS: HEADER, SPFLI_FG, SFLIGHT_FG, SBOOK_FG.
    INSERT:
            SPFLI-CARRID
            SPFLI-CONNID
            SFLIGHT-FLDATE
            SBOOK-BOOKID
           INTO HEADER,
            SPFLI-CARRID
            SPFLI-CONNID
            SPFLI-CITYFROM
            SPFLI-AIRPFROM
            SPFLI-CITYTO
            SPFLI-AIRPTO
            SPFLI-DEPTIME
            SCARR-CARRNAME
          INTO SPFLI_FG,
            SFLIGHT-FLDATE
            SFLIGHT-SEATSMAX
            SFLIGHT-SEATSOCC
            SFLIGHT-PRICE
          INTO SFLIGHT_FG,
            SBOOK-BOOKID
            SBOOK-CUSTOMID
            SBOOK-CUSTTYPE
            SBOOK-SMOKER
           INTO SBOOK_FG.
    SELECT * FROM SPFLI WHERE CARRID IN MYCARRID.
      SELECT SINGLE * FROM SCARR WHERE CARRID = SPFLI-CARRID.
      EXTRACT SPFLI_FG.
      SELECT * FROM SFLIGHT
       WHERE CARRID = SPFLI-CARRID AND  CONNID = SPFLI-CONNID.
        EXTRACT SFLIGHT_FG.
        SELECT * FROM SBOOK
               WHERE CARRID = SFLIGHT-CARRID AND
               CONNID = SFLIGHT-CONNID AND FLDATE = SFLIGHT-FLDATE.
          EXTRACT SBOOK_FG.
          CLEAR SBOOK.
        ENDSELECT.
        CLEAR SFLIGHT.
      ENDSELECT.
      CLEAR SPFLI.
    ENDSELECT.
    SORT.
    LOOP.
      AT SPFLI_FG.
        FORMAT COLOR COL_HEADING.
        WRITE: / SCARR-CARRNAME,
                 SPFLI-CONNID, SPFLI-CITYFROM,
                 SPFLI-AIRPFROM, SPFLI-CITYTO, SPFLI-AIRPTO, SPFLI-DEPTIME.
        FORMAT COLOR OFF.
      ENDAT.
      AT SFLIGHT_FG.
        WRITE: /15 SFLIGHT-FLDATE, SFLIGHT-PRICE, SFLIGHT-SEATSMAX,
                   SFLIGHT-SEATSOCC.
      ENDAT.
      AT SBOOK_FG.
        WRITE: /30 SBOOK-BOOKID, SBOOK-CUSTOMID,
                     SBOOK-CUSTTYPE, SBOOK-SMOKER.
      ENDAT.
    ENDLOOP.

  • HT1212 What if the Iphone states it is disabled connect to I-tunes but you don't have a computer and the one you are using wants you to trust it but you can't because it doesn't give you the option on your phone because it is locked?

    What if the I-Phone states it is disabled connect to iTunes and when you don't have a computer available that is sync with phone, but are using a different computer. You can't trust the computer from your phone because it is locked.  How do I gain access.

    bubblesblom wrote:
    Okay, so my friends think it is funny to change the passcode on my iPhone.
    Maybe you should get new friends.
    I'm not sure that recovery mode works when you have to trust the computer, but did you try it?
    If you can't update or restore your iOS device - Apple Support
    If that won't work, perhaps you can use Find my iPhone from a computer in your iCloud.com account to erase the device.
    iCloud: Erase your device - Apple Support
    This has nothing to do with the Find my iPhone app being installed on the phone, but you do have to have Find my iPhone activated in the iCloud settings on the phone.

  • Where to look for the computed stats collected using gather_table_stats

    I have used analyze command before but new to gather_table_stats.
    I have executed gather_table_stats procedure as given below. Now where to look for the statistics estimated and also what are the important parameters I need to look in the stats ? Any major difference between analyze & gather_table_stats ?
    SQL> exec dbms_stats.gather_table_stats(ownname => 'TPDBS01A', tabname => 'x_TPD_STG_TL_SF_LEGAL_OWN
    ER' , estimate_percent => 50, method_opt => 'for all indexed columns size auto');
    PL/SQL procedure successfully completed.

    The command "analyze table" is deprecated for gathering optimizer statistics. But it is still the only command to get for instance the chained rows. This command is no longer maintained for new features, so if you use this command to collect statistics, it might not collect all needed numbers for the optimizer so the plan could be wrong.
    The package dbms_stats is collecting all the figures that the optimizer needs to genererate an optimal access plan. All new database features are incorporated only here.
    The statistics numbers can be found in the normal tables like USER|ALL|DBA_TABLES, ...TAB_COLUMNS, ...INDEXES, ...IND_COLUMNS etc. There you can find for instance number of rows in table, clustering factor for indexes and more numbers like this. They are not really needed for us human beings, they are used by the optimizer to generate the access plan.

  • I just had to install a new hard drive, windows 7,itunes and outlooks 2010 on laptop and want to import contacts, calendars and photos. it seems sync wants to wipe out my phone with whats on the computer unidirectionally. whats the fix?

    Hi guys newbie here. My HP laptop crashed and i had to install a new hard drive, windows 7, outlook, itunes, etc. i need to get my contacts, calendars and photos off the phone and into Outlook and My Pictures. Syncing seems unidirectional PC -> iphone and i think wants to wipe out the iphone 4s with whats on the laptop - which is nothing. Need help to do this right...

    -Me again - it also won't upload the few new pictures I have on the computer onto the iPad without deleting all the photos that are already there....

  • What is the 'U' state in process listings from 'ps'

    Argh argh argh argh argh.
    Right.
    So I am using two Mac OS X Server 10.3.9 boxes (xServes) as backup machines, one for an office and one for a colo site. Work great with some custom scripts to do the heavy lifting, and it all calls rsync, which works like a champ. Except twice now, the backups have finished copying all the files, and then the last rsync (the big one) hasn't exited properly. Or, rather, it hasn't exited at all. If I do a 'ps', it appears in the process listing with a status of 'U', which isn't even listed in the manual page for ps.
    rsync 1 has a parent of my backup script
    rsync 2 has a parent of rsync 1
    rsync 3 has a parent of rsync 2
    If I kill rsync 1, nothing happens. If I kill -HUP rsync 1, nothing happens. If I kill -9 rsync 1, NOTHING HAPPENS.
    If I kill rsync 2, rsync 3 dies. If I kill -HUP rsync 2 (after rsync 3 is gone), nothing happens. If I kill -9 rsync 2, it turns into a zombie process.
    I don't know what happens if I kill rsync 3.
    If I kill the parent process to rsync 1, I don't get any of the useful information about what went wrong and what didn't in my backups. The frustrating thing is, before it got into this wedged position, it FINISHED EVERYTHING. So I'm getting notifications that my backup didn't work, when it did, and not getting notifications of the two (minor) errors that DID occur.
    Sometimes I hate computers.

    Adam,
    it mean that the process is in the kernel, and waiting on some event. And is ignoring any interruptions like signals. Which is the kill command isn't getting the processes attention. It's possible that the process may resume at some point or not. if the process doesn't switch back to a user context, then the only way to get rid of the it, and thus free the resources that it's using, would be a system reboot.
    Andy
    from the ps(1) manpage.
    state The state is given by a sequence of letters, for example,
    ``RWNA''. The first letter indicates the run state of the
    process:
    I Marks a process that is idle (sleeping for longer than
    about 20 seconds).
    R Marks a runnable process.
    S Marks a process that is sleeping for less than about 20
    seconds.
    T Marks a stopped process.
    U Marks a process in uninterruptible wait.
    Z Marks a dead process (a ``zombie'').

  • What is the sql statement for doing this?

    Hi,
    I am currently doing a simple search engine that allows a user to key in a filename and display all the files' name close to keyed filename(the first two letters are the same).What is the proper sql statement to select from Document according to DocumentType and the first two letters of the filename? Am i doing it the right way? I am currently use Access 2002, dunno if it will affects me.Thanks in advance
    [What i did]
    String filename="doc,txt"
    SELECT DocumentType from Rule where UserType='1' and Action='Search';
    DocumentType=1,5,9,13,17,21,25,29,33,37,41,45 // This is all the document Type the user can see.
    Next i used StringTokenizer break the DocumentType.
    DocumentType[0]=1;
    DocumentType[0]=5;
    SELECT * from Document where DocumentType and Name <<< I want to select from Document according to DocumentType and the first two letters of the filename

    One more try - from what I can follow?
    If I assume you have a table named for example "UserRules"
    which has fields UserID,UserType,UserAction
    and has records like this that controls the document types
    a user is allowed to see
    UserID UserType Action
    TOM 1 Search
    BILL 7 Search
    ROY 2 Search
    And if I assume you have a table named for example "AllowedUserDocumentTypes"
    which has fields UserType,DocumentTypes
    and has records like this that controls the document types
    a user is allowed to see
    UserType DocumentTypes
    1 1,3,4,5,6,19
    2 7,9,12,18
    3 1,19,33,27
    And you have the document table which has
    fields are DocNo,Name,Title,Date,Filename,DocumentType
    and it has records like this
    DocNo Name Title Date Filename DocumentType
    12345 BILL Cars CarTypes 18
    12346 ROY Trucks TruckTypes 2
    12347 TOM Toys ToyTypes 17
    12345 JACK Car Colors CarColors 19
    12345 TOM Car Shapes CarShapes 7
    Then the select statement
    Select DocumentTypes from AllowedUserDocumentTypes
    join UserRules where UserRules.UserType = AllowedUserDocumentTypes.UserType
    and UserRules.UserID = 'ROY' and UserRules.Action = 'Search';
    will return 7,9,12,18
    If the DocumentType field is numeric and the user entered "CarCrap" the
    select statement would have to look like this
    SELECT * from Document
    where left(Filename,2) = 'Ca' and DocumentType in (7,9,12,18);
    If the DocumentType field is say varchar
    select statement would have to look like this
    SELECT * from Document
    where left(Filename,2) = 'Ca' and DocumentType in ('7','9','12','18');
    You will have to build these select statements related to the user.
    Note you should also allow for upper and lower case differences. I
    would suggest you convert the user entry into uppercase and do a select
    like below
    SELECT * from Document
    where Ucase(left(Filename,2)) = 'CA' and DocumentType in (7,9,12,18);
    This is all written from memory, not tested and I have not done this
    in several years.
    I was showing approximately how to build the statements before.
    rykk

  • What is the default state of the "Ready" LED on the DAQPad-6016?

    I am having trouble pinpointing why my .vi will not show me the status of an input.  The "Ready" LED on my DAQPad-6016 continues to flash and I receive the 200324 error.  This occured when I was resetting the power switch every few seconds when trying to troubleshoot.  In my MAX, the unit is shown with the red "X".  Resetting the power does not clear it.

    Zack,
    Thank you for contacting National Instruments. Which one of the following states are you seeing? The following is from the E Series Help:
    The DAQPad-6015/6016 devices have two LEDs labeled ACTIVE and READY. The ACTIVE LED indicates activity over the bus. The READY LED indicates whether or not the device is configured. The DAQPAD-6015 BNC and mass termination devices have a READY LED only. The following table shows the behavior of the LEDs.
    ACTIVE
    READY
    DAQPad-6015/6016 State
    Off
    Off
    The device is not powered.
    Off
    On
    The device is configured, but there is no activity over the bus.
    On
    On
    The device is configured and there is activity over the bus.
    Blinking
    On
    Off
    Blinking
    The device is not configured and there is no activity over the bus.
    On
    Blinking
    The device is not configured, but there is activity over the bus.
    Blinking
    Blinking
    Blinking simultaneously
    Both LEDs blinking in the same pattern simultaneously indicates an error state. You must power off and power on your device.
    Blinking alternately
    If both LEDs blink in the same pattern alternately, contact National Instruments.
    I recommend downloading and installing the NI-DAQmx drivers for that device to make sure you are using the latest drivers. Also, try the device on a different computer (if possible). Let us know your results after this.
    Michael P
    National Instruments

  • What is the if statement i should use

    Dear Experts,
    I am very close in completing my problem, I ask you once more to aid me this.
    I want to display an error but it keeps overwrite of what comes after
    e.g. a=1
    a= a+1 = 2
    a= 10 then this acts as overwrite and changes it to 10
    in my case the code is as follows,
    if (upfile.whwtyp.equals("country")) {
    system.out.println("upfile.ctyfun" +upfile.ctyfun);
    system.out.println("upfile.asocod" +upfile.asocod);
    system.out.println("upfile.Err" +upfile.Err);I am thinking of putting the if statement here but i not as easy as i thought
    whwbean.status=upfile.err; This is the overwrite to display the error
    I have tried if (upfile.err=asocod= valid=0 etc. but these dont work often it says it is a string when valid=0 is a integer.
    Please help, even a little words of thought will push in the right direction.
    Many thanks
    Ace Wong

    Hi Ace,
    If I understand you correctly, you want to store an integer value (upfile.Err) into a String (whwbean.status).
    If so, then use this:
    whwbean.status = Integer.toString(upfile.Err);Hope this is what you need,
    Chris.

  • HT1420 I'm trying to authorize a new computer with an itune account, but my the computer statea that I have too many devices authorized. I only have 2 computers in my possession now. How can I deauthorize computer I don't have anymore without deauthorizin

    I have recently purchased a new lap top. Both my wife and I share our Itune music. When I purchesed the computer I was able to authorize my itunes account on it and move my purchaced music over from my iphone. However, I was not able to move my wifes music over because she has too many devices authorized under her account. Most of those computers are no longer in our possession and have been thrown out. How can she deauthorzise computer we don't have in our possession anymore without deauthorizing them all?

    Authorizing deauthorizing has NO effect at all on your itunes library.  You lose nothing.
    You should also alwasy have a backup copy.
    You MUST deauthorize all.
    You have the only answer there is.

  • What if the computer isn't part of a domain??

    Anyone know if you can get around entering a fully qualified hostname
    (hostname.sub-domain.domain)? I am setting up a development environment and
    the computer is part of an internal LAN with just a hostname/IP.
    Ideally I would just specify its IP address or hostname and that would be it
    but it forces you to enter at least a domain.
    Thanks!

    You can set a local domain name in the etc/hosts file and also
    do: domainname <domain>
    "Scott" <[email protected]> wrote in message
    news:9rnb31$[email protected]..
    Anyone know if you can get around entering a fully qualified hostname
    (hostname.sub-domain.domain)? I am setting up a development environmentand
    the computer is part of an internal LAN with just a hostname/IP.
    Ideally I would just specify its IP address or hostname and that would beit
    but it forces you to enter at least a domain.
    Thanks!

Maybe you are looking for

  • Installing CS5.5 Trial Gives 4 Errors and 2 Warnings

    I've tried installing the CS5.5 Trial on 2 different computers and 3 different installations of Windows 7 Ultimate 64-bit, all with identical results:  The installation completes, and the software seems to work fine, but the installer gives the follo

  • Wants to Learn XML

    Hi Every one, I am new in it. Can any one please tell me from where I can learn this XML. How to create, insert, update, read etc. If any one has the document or any source from where I can read all this please let me know. I will thankful to you for

  • Windows 8.1 recurring BSoD (BAD_POOL_HEADER) with Bootcamp

    Dump files - https://onedrive.live.com/redir?resid=5D2B2627890829C!462&authkey=!AGLwKEUk2zRCl eM&ithint=file%2c.zip I just upgraded my Windows 8 Pro to Windows 8.1 Pro and have been getting these BSoD's as soon as I reach the start screen. Had to res

  • Conveting ASO formula to BSO formulae

    Hi experts, I am working on BSO cube which looks like a reference ASO Cube.Since ASO and BSO both are having the similar dimensions and members. In my Period dimension(ASO) Eg : Period (Time) + Year Total (4) (+) + QTD (12) (+) + YTD (12) (+) + Perio

  • Show and Share sns-svr-c200wg-k9

    Hi; We are configuring a Show and Share Workgroup server  (part number sns-svr-c200wg-k9) for one of our customers, but I have one concern with this box.  The server ONLY comes with a single 2TB drive, and does not seem to have any options for RAID c