Difference between do-while, do-when, do-until and do-select in app engine.

Hi can anyone please tell me the difference between do-while, do-when, do-until and do-select in app engine.
I read the peoplebooks, but i was not able to keep up with that.
I know like do-while is like WHILE loop in any programming language.
here my question starts. WHILE has a condition inside the parenthesis and it will check whether that condition is true or not. where do we have that condition in do-while(is it the where conditions inside the do-while)?
Please clarify me.
Thank you,
Bye.

Hello user609854,
Do-While
in simple words it is like, keep doing specified task , up to / when the condition is matching. once this is over, terminate the loop and come out. :)
If the Do While does not return any rows, the step is complete.
DoWhen - Select statement that allows subsequent actions to be executed if any rows of data are returned.i.e.when a particular conditions is matched like emplid='A2200' or may be a role based criteria etc
A Do When statement runs before any other actions in the step. If the Do When statement returns any rows,the next action is executed.
If the Do When conditions are not met, the remaining actions within that step are
not executed. Your program executes a Do When action only once when the owning step executes.
The only property that you can specify for the Do When action is the ReUse Statement property, which applies to all SQL-based actions.
Do-Until
Keep performing certain task , every time a particular task is being performed. its like keep doing task B until task A is accomplished.
A Do Until action is a Select statement that runs after each action when a step completes. Use aDoUntil action if you want the processing actions to execute at least once, and to execute over and over until a certain condition is true, such as until a Select statement returns some rows.You can also use a Do Until action to stop a Do Select action prematurely.
Do-Select
a) Select/Fetch : AE performs a Fetch statement for each iteration of the loop to get each row from the Select statement
b) Re-Select : For each Iteration , opens a cursor and fetches the first row. The cursor is reopen for each iteration. we put certain criteria by which the conditions should not match else this can be a deadlock
c) Restartable : This is same as ReSelect accept, Restartable flexibility.
We can restart this select/fetch as AE performs a checkpoint in the middle of the step. SQL in this mode,during restart will recognize where the previous run failed&where to restart processing.
Please Note: When AE is not set up for restartability, then commits are not controlled, monitored, or restricted by PeopleSoft Application Engine.
In Do Actions & Do Select we can specify ReUseStatement ~ SQL-based actions.
Please , let me know if this is fine with you.
SM Sachdeva

Similar Messages

  • How to measure time difference between zero crossing of a sine wave and rise time of a pulse on a same graph?

    I have a 50Hz sine wave and a pulse signal on a same graph. The phase difference between two is between 0-90 degrees.
    Now I need to calculate the time difference between (when the sine wave crosses zero volts) and (when the pulse rises). The frequency will stay approximately same for both signals.
    The application is for a three phase generator. In simple words, when the time difference between the zero-crossing of sine wave and the pulse rises increases, that means that the load on the generator has increases.
    I am a beginner user of LabView (version 9, 2009), maybe it is a very simple problem but I've been pulling my hair out for the last few days and coudln't figure anything out. Any help would be greatly appreciated. I am using DAQ USB-6008 to measure these voltages and pulse from the generator and a sensor
    I have attached a jpg (a graph that i just made with excel to explain). The time 't' is what I am trying to measure
    Cheers
    Awais 
    Message Edited by awais.h on 03-30-2010 11:20 PM
    Message Edited by awais.h on 03-30-2010 11:21 PM
    Solved!
    Go to Solution.

    Hi
    Thanks for the code but I'm afraid it won't work. Like you said the probability of choosing a value that is on both graphs may not happen. This is something that I would like the code to do automatically.
    But I did use the previous code posted and made some modifications to it and it seems to work perfectly. Now the next thing is to be able to get just that one value that tells you the first time difference.
    Here is what I get using that code.
    As you can see from the t Values. I only need the one that is highlighted. If there is a way to filter out the rest it would be great.
    I was thinking of a while loop and as soon as the value is higher than 3E-5 it would store the number and stop the loop, but I'm not too familiar with arrays in labview.
    Here is the the code modified.
    As you can see, it wasn't that big of a modification and it still is your code.
    I will keep trying.
    Thanks for the help
    Attachments:
    FinalShockSpeed.vi ‏55 KB

  • What is the difference between jdk version 1.3.1-b24 and 1.3.1_02-b02?

    Hi,
    This is a weird question. But I really need to know the difference between jdk vesion 1.3.1-b24 and 1.3.1_02-b02.
    Anyone has a clue?
    Thanks
    Wayne

    This is a weird question. But I really need to know
    the difference between jdk vesion 1.3.1-b24 and
    1.3.1_02-b02.Bug fixes only.
    When reading the strings above, ignore the part saying "-b##" (that's the build number). So you're looking at 1.3.1 (the base release), and 1.3.1_02 (patch 02 on 1.3.1).

  • DIfference Between User Exits, Screen Exits, Menu Exits And BADI

    Could any one let me know the exact/practical dIfference Between User Exits, Screen Exits, Menu Exits And BADI. ? And why BADIs are more proned to use?

    Hi,
    User Exits:
    A user exit is a three character code that instructs the system to access a program during system processing.
    SXX: S is for standard exits that are delivered by SAP.   XX represents the 2-digit exit number.
    UXX: U is for user exits that are defined by the user.  XX represents the 2-digit exit number
    Menu Exits:
    Menu exits add items to the pulldown menus in standard SAP applications. You can use these menu items to call up your own screens or to trigger entire add-on applications.
    SAP creates menu exits by defining special menu items in the Menu Painter. These special entries have function codes that begin with "+" (a plus sign). You specify the menu item’s text when activating the item in an add-on project.
    Screen Exits:
    Screen exits add fields to screens in R/3 applications. SAP creates screen exits by placing special subscreen areas on a standard R/3 screen and calling a customer subscreen from the standard screen’s flow logic.
    BADIs:
    Business Add-Ins are a new SAP enhancement technique based on ABAP Objects. They can be inserted into the SAP System to accommodate user requirements too specific to be included in the standard delivery. Since specific industries often require special functions, SAP allows you to predefine these points in your software. 
    And why BADIs are more proned to use?
    In contrast to above customer exits, Business Add-Ins no longer assume a two-level infrastructure (SAP and customer solutions), but instead allow for a multi-level system landscape (SAP, partner, and customer solutions, as well as country versions, industry solutions, and the like). Definitions and implementations of Business Add-Ins can be created at each level within such a system infrastructure.
    SAP guarantees the upward compatibility of all Business Add-In interfaces. Release upgrades do not affect enhancement calls from within the standard software nor do they affect the validity of call interfaces. You do not have to register Business Add-Ins in SSCR.
    The Business Add-In enhancement technique differentiates between enhancements that can only be implemented once and enhancements that can be used actively by any number of customers at the same time. In addition, Business Add-Ins can be defined according to filter values. This allows you to control add-in implementation and make it dependent on specific criteria (on a specific Country value, for example).
    All ABAP sources, screens, GUIs, and table interfaces created using this enhancement technique are defined in a manner that allows customers to include their own enhancements in the standard. A single Business Add-In contains all of the interfaces necessary to implement a specific task.
    The actual program code is enhanced using ABAP Objects. In order to better understand the programming techniques behind the Business Add-In enhancement concept, SAP recommends reading the section on ABAP Objects.
    Regards,
    Ferry Lianto

  • Differences between Commit work, Logical Unit of Work and Roll back work

    Hi all,
    Can any one explain me in details what is the difference between Commit Work, Logical Unit of Work and Roll back work. Pls explain by providing some example.
    and also explain me where and when these are used and what are the importance of using these.
    Thanks in advance.
    Regards
    Ramana Prasad.T

    Hi Ramana Prasad,
    A Logical Unit of Work (LUW or database transaction) is an inseparable sequence of database operations which must be executed either in its entirety or not at all. For the database system, it thus constitutes a unit.
    LUWs help to guarantee database integrity. When an LUW has been successfully concluded, the database is once again in a correct state. If, however, an error occurs within an LUW, all database changes made since the beginning of the LUW are canceled and the database is then in the same state as before the LUW started.
    An LUW begins
    o each time you start a transaction
    o when the database changes of the previous LUW have been confirmed (database
    commit) or
    o when the database changes of the previous LUW have been cancelled (database rollback)
    An LUW ends
    o when the database changes have been confirmed (database commit) or
    o when the database changes have been canceled (database rollback)
    COMMIT WORK.
    Executes a database commit and thus closes a logical processing unit or Logical Unit of Work ( LUW ) (see also Transaction processing ). This means that
    all database changes are made irrevocable and cannot be reversed with ROLLBACK WORK and
    all database locks are released.
    COMMIT WORK also
    calls the subroutines specified by PERFORM ... ON COMMIT * executes asynchronously any update requests (see CALL FUNCTION ... IN UPDATE TASK ) specified in these subroutines or started just before,
    processes the function modules specified in CALL FUNCTION ... IN BACKGROUND TASK ,
    cancels all existing locks (see SAP locking concept ) if no update requests exist,
    closes all open database cursors (see OPEN CURSOR ) and
    resets the time slice counter to 0.
    COMMIT WORK belongs to the Open SQL command set.
    Return code value
    The SY-SUBRC is set to 0.
    ROLLBACK WORK.
    Closes a logical processing unit by reversing all database changes made since the last COMMIT .
    You use this statement if you cannot be certain that all the database changes have been executed correctly.
    The update routines are not performed.
    ROLLBACK WORK belongs to the Open SQL command set.
    Note
    If the ROLLBACK statement occurs within a SELECT loop, the processing cannot continue because the database cursor is invalid. After the ROLLBACK statement, you should therefore ensure that all SELECT processing has been explicitly terminated.
    <b>Plz. Avoid Duplicate Threads.</b>
    Hope this resolves your query.
    Reward all the helpful answers.
    Regards

  • Differences between Netweaver development Studio 2.0.14 and 2.0.15?

    Hello guys
    who can tell me what differences between Netweaver development Studio 2.0.14 and 2.0.15 or where I can find documents about them?
    p.s.sorry,I posted it in another thread as well.
    Thanks in advance
    Liying

    Liying
    Check these threads if it helps
    NWDS + CHECKSTYLE / CHECKLIPSE
    /people/umair.salam/blog/2006/01/26/installing-and-configuring-the-preview-edition-of-ep
    Error while creating my first  project on SP15 and why Help doesn't work?
    Thnaks
    Sat

  • Difference between Hyperion version 11.1.1.3 and epm 11.1.2.1

    Hi,
    Can anybody suggest me the difference between Hyperion version 11.1.1.3 and EPM 11.1.2.1?
    Thanks In Advance

    Take a look at the “Installation and Configuration Guide.”
    log file..start the server and see the log file
    The 11.1.2.1 release also includes new features for upgrading from previous versions. There are several new utilities and enhancements to make the upgrade process easier. You will see some of these new features during the configuration of the various products
    Apart from diffrance
    Ima not sure y Windows 2008 support in Hyperion 11.1.2 brought with it a host of new challenges..(atleast to make copyrighted windows copys now onwards lol)
    Windows 2008 introduced a new feature called User Access Control (UAC). while installing person need to have admin privillage other wise it HELL (nightmare ) and some unexpectedly problematic issues though security is good but .................
    Have a read on this
    oracle-hyperion-epm-system-certific-131801.xls(google u will get it) at least u get some idea what are new hardware req and software reqs
    Some Support answers as well
    https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=TROUBLESHOOTING&id=1313155.1#aref3
    hope u get some idea

  • Difference between Hyperion Financial Reporting version 7.0 and 9.3.1 ?

    Hi All,
    Can you please difine Difference between Hyperion Financial Reporting version 7.0 and 9.3.1 ?

    I migrated from 7.5 to 9.3.1 a couple years back so hopefully this is somewhat helpful.
    From a developer perspective, the report designer itself looks about the same. The most annoying changes for me were that they started migrating functionality AWAY from the client program and to the web. For instance, managing security is a pain as it is done through Workspace and it is a bit clunkly. I also ran into some issues where my old report's security information is not visible in Workspace. It is still 'working', but when you view report properties, it shows nothing for who has assigned security. Also, things like deleting/moving reports and creating folders are done through workspace and not the client program. "Copying" can be done through the client program by using "Save As" functionality.
    There is a migration tool to move your old stuff to 9.3.1. It seemed to work OK; however, the User Interface was a bit screwy. For instance, it said I was 138% complete when it finished. It copied more reports than it showed as existing.... :)
    On the back end, things changed quite a bit. In the older Financial Reports, the report objects existing in a single database table and if you wanted to, you could extract everything from that table. In 9.3.1, part of the information is in Workspace database (i.e. Report names/ID's, security access, hierarchy) and the actual report file itself is stored in a psedo-filesystem under the RM webapp. The names are not user friendly at all and you'll need to XREF from the database to make sense of it. When you finally find the actual report "file", they are compressed/encrypted.
    From an end user perspective, things pretty much work the same way as always.

  • What's the difference between defining a Thread within a class and....

    Guys,
    I am really confused when it comes to thread.
    What's the difference between defining a Thread within a class and implementing a Thread in a class?
    I just want to know about this. What is the difference between the two code classes?
    public class A
    public A()
    public Start()
    Thread th = new Thread():
    th.start(this);
    public class A extends Thread
    public A()
    *{*{code}*}*  
    *public Start()*
    *run();*

    My Googling show that the E/A may be a little newer but it appears that the E/A was not originally sold in the USA. The E/A appears to be sold in a Spanish speaking country.

  • Difference between "Data replication", "Data Cloning", "Data duplication" and "Data Migration"

    Hi Gurus,
    Can anyone tell me the difference between "Data replication", "Data Cloning", "Data duplication" and "Data Migration". I have gone through Google but doesn't find any appropriate answer for that where I can find the difference.
    It would be highly appreciated if you give me a link for all and give me some point out.
    Thanks & Regards
    Nimai Karmakar

    Here is how I see the terms used and understood by most folks
    "Data replication"
    This is the keeping the same data in sync in 2 different databases.  Replication is the process of keeping data in sync between 2 environments/databases and not limited to Oracle to Oracle, it could be Oracle to MySQL to be kept in sync, MySQL to Oracle, Oracle to SQL Server, SQL Server to Oracle.  The purpose of keeping data in sync can vary, but that is basic description of what it is.
    "Data Cloning"
    Make a copy of the data/database from one database environment to another, like for example taking production database and cloning the database to a pre-production database/environment for testing.  Coning term is used more when copying a database not just data, but the whole database so typically you hear the reference "Database Cloning", but data cloning is basically the making a copy of the data from one place to another.  Sometimes Cloning and Duplicating are used in the same way by folks as the basic end result is the same you are making a copy of the data to someplace else.
    "Data duplication"
    This is typically term when duplicating the data from one environment to another for a particular purpose, a lot of folks use "Data/Database Cloning" and "Data Duplication" in the same context, meaning they use them to mean the same thing, but I see more difference in the terms so when they are different Data Duplication is done when combining 2 databases to 1 therefore you can not clone the 2 databases into one so this term would be used more in those circumstances.
    "Data Migration"
    Moving data from one location/database to another location database, for example moving from MySQL to Oracle you would do a data migration from MySQL to Oracle as you are moving the data from MySQL to Oracle and going to leave it in Oracle.  You could also be migrating to from Oracle 10g environment to a new Oracle 11g environment, therefore "Migration" is typically used when referring to moving the data from one environment to another and the source and target are different in location, database vendor, database version.
    These are very simple ways of looking at the terms from my experience on how they are used.

  • What is the differences between the account assignment category of E and M?

    Hi, I have a question about account assignment category.I hope someone give me the answer , and I would appreciate it.
        as you know, there are so many account assignment categories (e.g. A:asset,K:cost center)in sap customizing,when we want to purchase asset, we will input A to the field of account assignment category in purchase order.
         When will we input E or M in purchase order? What will it imply when we input E or M in purchase order? What is the differences between the account assignment category of E and M?
    Best Regards
    Bob Wang

    Vijay,Thanks for your answer,but I am still not clear about it,I have a instance to describe my question at detail.
        If there is a final product A, and the planning strategy for A is 20(MTO), the procurement type of A is F(external procurement) at the view mrp2 in the material master datas.
    step1: I creat a sales order.
    step2: run MRP for A.
    step3: transfer the purchase requistion into a purchase order,and the field of acc.***.cat. in the purchase order will be filled out M automatically, because the acc.***.cat. in the planning strategy 20(MTO) is set with E.
        Well, the purchase order is created, what is the relationship between the sales order and the purchase order? What will be happened about costing between the SO and the PO?
        If I delete the E, I make the PO become a standard PO, what is difference between standard PO and the PO including E?
    Best Regards
    Bob

  • What is the difference between the passcode on my iPhone 5 and a password?  I am locked out of my phone.

    What is the difference between the passcode on my iPhone 5 and a password?  I am locked out of my phone.

    Not entirely sure what you are asking, but a passcode to unlock an iOS device is normally 4 digits long (so is a 4 digit code), though you can make it alphanumeric and longer (so effectively becomes a password).
    If you don't know the passcode to unlock your phone or it's showing the disabled screen then there are instructions on this page for how to reset a device : http://support.apple.com/kb/HT1212 - you should then be able to restore/resync your content to it.

  • Differences between Oracle Forms 11.1.1.6  and 11.1.2

    Hello !
    Which version should I choose 11.1.2 or 11.1.1.6
    11.1.2 must me the latest one aka 11gR2
    11.1.1.6 must be 11gR1 PS5
    Am i right ?
    but in the forms home page it seems that the 11.1.1.6 is the latest version ??
    Oracle Forms 11.1.1.6 Released
    The latest version of Oracle Forms (11.1.1.6) has been released.
    This can be downloaded from My Oracle Support (MOS)
    23-Feb-2012
    Oracle Forms 11g Release 2 has been released. Read about the new features.
    Oct-2011
    I suppose that in a MiddleWare stack : SOA suite + BI publisher + Forms, the 11.1.1.6 (11gR1 PS5) is the best choice.
    Can somebody explain me the differences between Oracle Forms 11.1.1.6 and 11.1.2 ?
    Thanks
    Regards
    Jean-Yves

    Michael Ferrante (Oracle) wrote:
    There are many new features in 11.1.2.0 that do not exist in 11.1.1. Some of the most significant new features are listed in the 11gR2 New Features documentation found on this page:
    http://www.oracle.com/technetwork/developer-tools/forms
    Additional information about new features and changes can be found in the product documentation for 11gR2, which is here:
    http://docs.oracle.com/cd/E24269_01/index.htm
    One important thing to note is that FMw 11.1.2 (11gR2) does not include Portal or Discover. So if you need either or both of these you will need to stick with 11.1.1.Hi Michael,
    One of the features which is very very important in my point of view is
    Reduced Installation Footprint
    In order to reduce the resource requirements on development machines, you can perform an
    installation specifically tailored for development. This will limit the number of software products
    and servers installed on the machine whilst still allowing a developer to build, run and test their
    Forms application.
    If this feature is only available for the 11.1.2 release then the choice is made !
    Thanks !
    Jean-Yves
    ps : and we don't use any portal or discoverer :-)
    Edited by: JeanYves Bernier on 30 nov. 2012 23:54

  • Differences between Oracle 8i for a UNIX Platform and Oracle 8i for a Linux Platform

    Hello,
    J would like to know if there are some differences between Oracle 8i for a UNIX Platform and Oracle 8i for a Linux Platform.
    I know that there are some differences on Oracle 8i Parallel Server and i know that some products are not include like precompiler (Mod*Ada, Pro*FORTRAN) on a Linux Platform.
    Thank you.

    We have installed Oracle 8i on Solaris 8 and it had a great performance, of course that the hardware and licence invested here was costed my the office where i work. Personaly i'd installed linux reh hat 8 and oracle 8i, imagine that, it could be implemented by any individual that has the time to do so.
    By buyinng from a company that has a good background you could be sure that you will have support.
    Bottom line, if you have the $ to buy great hardware go for a unix platform. But if you don't a Red Hat Linux Server Licence with a 1 year sopport and Oracle data base is about 3500Dls.
    Visit www.red-hat.com
    Rewards... Bye

  • Differences between Oracle 8i for a UNIX Platform and a Linux Platform

    I want to know the differences between Oracle 8i for a UNIX Platform and Oracle 8i for a Linux Platform. And which platform is better?
    Thanks

    We have installed Oracle 8i on Solaris 8 and it had a great performance, of course that the hardware and licence invested here was costed my the office where i work. Personaly i'd installed linux reh hat 8 and oracle 8i, imagine that, it could be implemented by any individual that has the time to do so.
    By buyinng from a company that has a good background you could be sure that you will have support.
    Bottom line, if you have the $ to buy great hardware go for a unix platform. But if you don't a Red Hat Linux Server Licence with a 1 year sopport and Oracle data base is about 3500Dls.
    Visit www.red-hat.com
    Rewards... Bye

Maybe you are looking for

  • My macbook pro 13" shows up as unknow on networks! why and how do i fix it?

    Hi ust wondering why my MBP shows up as unknow on newtworks. please tell me how to fix it -Max

  • K8N DIAMOND...how to connect??

    Hi there I am tring to connect the MB in object to my case (ANTEC P160), but I find that the connectors from case to MB are different or, maybe better, I don't understand very well how to plug them in the MB. From the case I have: PW_SW: orange and w

  • Standalone oc4j 1.0.2.2.2

    Hi All, Can anyone redirect me to the url to download standalone oc4j 1.0.2.2.2 because at below this url http://otn.oracle.com/software/products/ias/htdocs/winsoftold.html I could see only Version 1.0.2.2.1 and Version 1.0.2.2 for download. Thanks &

  • Can i use a variable, while referring a text field?

    Hello I have to set the readOnly property to some fileds DYNAMICALLY (i mean, until run time, i dont know Which fields are readOnly and which are not?  . So, i want to replace the TextField1 dynamically with all the fileds in the below syntax. So, ca

  • ERROR 47: Invalid URL () Needs To Be Fixed...

    Hi, I have read a lot of discussions on this website and others, When I do a web search for this error it brings up a lot of unanswered topics. And it looks like there s a error that needs fixing by the developers of Quicktime Player. ERROR 47: Inval