Setting Variants and running the program in the background.

Hi experts,
I have a custom program which needs to be executed in the background with a set of variants on every monday. For this I will execute the program in background and i will set the time and date.
One of my variants in the screen is the running date based on which the records will be fetched from the table in the program.
When i run on 29/05/2006 (MONDAY) the date select option should be set as 23/05/2006 to 29/05/2006.
  how should i do this.
regards,
Arul Jothi.

Hi,
You can change the DATE values dynamically. Look at the variant options.
While saving the variant, click on the SELECTION OPTIONS for the DATE parameter (Select the L Parameter check box) and you can specify the dates.
Here you specify the DYNAMIC DATE CALCULATION WHERE YOU can specify the high and low values.
Regards,
Ravi
Note : Please mark all the helpful answers

Similar Messages

  • Using timeout items and running the background engine

    Hi all!
    I tried to read all the information about timeouts and engine, but I think I don't understand anything.
    I want to use a loop, that after every 4 minutes runs the given plsql code until 15 times.
    There are 4 different result. 1: continue the loop, 2: good result, 3: bad result, 4: loop reachs max running count (15).
    1. I don't know how to set the result code.
    2. How start the background engine. Is it startable from my plsql code? I have to start the engine at every item_type and item_key pair, or I have to start it only once?

    You need not handle Loop Max out in your result. You can handle that usng Loop Counter standard activity that you can find in the WF Builder. Insert this counter in the Loop.
    Write a simple Function Activity that you want to be executed every 4 minutes. That also sits in the Loop.
    Now insert a WAIT activity in the loop that should wait for 4 minutes relative to the current completion time. So, that loop will look like...
    ----> Function ----> Wait ----> Loop Counter ----> (Go back to Function on loop... exit out if maxed out)
    The exit condition transition for the loop occurs from Loop Counter activity.
    You don't need a timeout here anywhere. Running background engine should be purely outside of your code. It is a concurrent program that you can schedule to run at regular intervals for whatever parameter you choose.
    Thanks
    Vijay

  • How to Set up the  variables and others to compile and Run Java Programs

    Hello,
    I have just downloaded the jdk1.6.0_07 and jre1.6.0_07 and installed it in C:\Program files\Java in my Windows XP ,So please tell me how to sett up the enviroment variables etc to compile and run Java Programs from Command Prompt.
    thanks

    To set the PATH permanently, add the full path of the jdk1.6.0_<version>\bin directory to the PATH variable. Typically this full path looks something like C:\Program Files\Java\jdk1.6.0_<version>\bin. Set the PATH as follows on Microsoft Windows:
    1. Click Start > Control Panel > System on Windows XP or Start > Settings > Control Panel > System on Windows 2000.
    2. Click Advanced > Environment Variables.
    3. Add the location of bin folder of JDK installation for PATH in User Variables and System Variables. A typical value for PATH is:
    C:\Program Files\Java\jdk1.6.0_<version>\bin

  • I've downloaded CS6 Master Collection but only see The Photoshop icon.  I can't seem to find the other programs, except on "uninstall programs" How do I open and run the others?

    I've downloaded CS6 Master Collection but only see The Photoshop icon.  I can't seem to find the other programs, except on "uninstall programs" How do I open and run the others?

    How about you give us some real information.
    Did you install the software? What operating system?

  • I can't uninstall Firefox(3.6.3) either through the control panel or by going to Program files/Mozilla Firefox/Uninstall and running the helper.exe, I have Windows 7 Home Premium(64bit)

    I simply want to uninstall Mozilla FireFox 3.6.3. I tried both recommendations of using the control panel to add/remove program and running the helper.exe in Program Files/Mozilla FireFox/uninstall. I am running Windows 7 Home Premium Edition(64bit). When I tried to remove it using the add/remove program and helper.exe all it does is start for a split second(mouse pointer turns into circular loading icon) and then it stops.
    == User Agent ==
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7

    Hi Guys,
    I had this same problem too, and i want to share to all of you my own fix for this kind of problem;
    (READ FIRST: ''This step will wipeout everything that mozilla saved on your computer including : password, history and bookmarks''.)'''
    '''1. download the Revo Uninstaller''''''
    - quick step guide for this:
    select mozilla firefox, don't forget to uninstall everything that relates to mozilla including registry to clean them all up.
    '''2. download mozilla firefox again'''
    - AND REINSTALL. however on this stage, in some cases mozilla will not open at this stage.
    '''3. Uninstall Mozilla firefox again NOW using control panel.'''
    '''4. Restart the computer to refresh everything.'''
    '''5. Reinstall mozilla firefox again, once you have received the prompt for "exporting or importing etc.. etc.. from Microsoft" that means its already working.. it will take around 5-10 sec to load up (in my case) .'''

  • HT1461 Win 7 set up and running OK,but after go back from OSX the wireless net work stuck at identification cause the window working without Internet.Can we fix it or I must use Windows off line all the time? I already contact Microsoft 2 times for activa

    Win 7 set up and running OK,but after go back from OSX the wireless net work stuck at identification cause the window working without Internet.Can we fix it or I must use Windows off line all the time?
    I already contact Microsoft 2 times for activations.Hope I can fix from Apple instead.

    Ok....Got "Problem 2 and 4" solved....still trying to figure out this pop up everytime I click something...it's crazy how fast the pop up blinks...maybe once or 3 blinks then nothing till you close the window, then pop up then disappears...then click something
    else and pop up then gone....never seen this before...ive seen it when you tried to get online which turned out to be a virus on a customers cpu I worked on some years ago, I think it has something to do with the deleted files that I spoke of on last
    post...I notice it does it on start up as well.....think something is trying to install but not sure. Need to figure out where the appdata or start up folder and see whats in there....maybe it's in there.......so I might wait to see how it acts in the next
    couple days for "Problem 1"...but other than that it's running like a champ...so right now I just want to get the pop up windows to stop........thx again for everyone's help on this.
    John

  • Set env using a script and run the command (dependency on the env)

    I need to set the env varaible by running a shell script with arguments as 'ksh setEnviron r6.1' and then run the command in the
    same process. the command has dependency on the previous script which sets the env variables.
    With Runtime.getRuntime().exec( cmd1); ,Runtime.getRuntime().exec( cmd2); I am not able to execute the Cmd2 as it is running in different process.
    How do solve this issue.
    Is there any other method to run the command to set env variables and run the second command.(dependent on the env) to get the output.
    Please help me out in this.

    ganesh_mak wrote:
    final String[] commands = {
                              ". setEnviron r6.1",
                                "/usr/add-on/test/Xbin/sql name from list where date.eq.05/22/08",
    Process penv = Runtime.getRuntime().exec("/bin/sh");
    BufferedReader br = new BufferedReader( new InputStreamReader( penv.getInputStream() ) );
    BufferedReader stdError = new BufferedReader(new InputStreamReader(penv.getErrorStream()));
    final OutputStream writer =  penv.getOutputStream();
    for (int i=0; i<commands.length;i++)
         writer.write(commands.getBytes("utf-8"));
         writer.write("\n".getBytes());
    String line;
    while((line = br.readLine())!=null){
    System.out.println(line);
    br.close();
    writer.close();
    I tried the above code but its not working...............
    please correct me.
    Do you think I used the '-i' argument just for fun? Did you do a 'man sh' and 'man bash' to see what the arguments do? If not then do it now.
    Do you think I used Theads to process stderr and stdout just for fun? I've shown you the basic approach. I have shown you how you need to create Threads to process stdout and stderr. If you have not understood and you have not studied http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html then do so now.
    Edited by: sabre150 on Jun 2, 2008 3:43 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Open and run the VI using FP.Open from another VI

    I would like to have LabVIEW open and run the VI when I open the second VI (number 2) from VI (number 1). I set the appropriate Execution options in File»VI Properties
    to make both  VI run when opened but it works only for the first vi and
    when I open 2.vi from another 1.vi the second vi will open but not
    run.Would u plz let me know how can I make the second vi run when I open it using FP.Open.
    Attachments:
    111112w.jpg ‏33 KB

    There are several ways to start VI 2.
    - use a invoke node of VI 2 which says : "run when opened"
    - edit the VI properties of VI2 en set "run when opened" to TRUE
    See attachment
    Kind regards,
    - Bjorn -
    Have fun using LabVIEW... and if you like my answer, please pay me back in Kudo's
    LabVIEW 5.1 - LabVIEW 2012
    Attachments:
    RunWhenOpened.PNG ‏33 KB

  • Anyone have experience installing and running the Condor Engineer QPC-1553 PXI board

    Do anyone know how to installing and running the Condor Engineer QPC-1553 PXI board using their LabVIEW drivers?

    Hi CEY,
    as far as i know there are many documents with it.  Install it like every other hardware. To test it there is a program from Condor Engineer. To build your application, there are good example for BC, BM and RT.
    Mike
    Message Edited by MikeS81 on 02-19-2008 09:27 AM

  • I have downloaded the Premiere 10 trial and run the exe file in...\Adobe Premiere Elements 10\PRE 10

    I have downloaded the Premiere 10 trial and run the exe file in...\Adobe Premiere Elements 10\PRE 10\ElementsSTIInstaller, However, I can not find the program on my computer.  Can you please tell me the procedure to install the program following the down load???
    P.S. the download assistant does not install the program automatically and I have restarted the computer.
    Thankyou

    this might help:
    http://helpx.adobe.com/photoshop-elements/kb/install-premiere-elements-photoshop-elements. html

  • How do i unzip and run the newly downloaded Adobe Encore trial version on a windows computer?

    how do i unzip and run the newly downloaded Adobe Encore trial version on a windows computer?

    First, there is no such thing as an Encore trial, due to licensing of 3rd party program modules
    Second, Encore is installed as a bundle with Premiere Pro CS6
    Third, the CS5-thru-CC PPro/Encore tutorial list http://forums.adobe.com/thread/1448923 will help
    The bottom section of the link above has several Adobe links, and other information, on downloading Premiere Pro CS6 and the bundled Encore CS6, and the TWO ADDED downloads for the Encore library content, to author a DVD or BluRay... and the tutorial list includes learning how to use Encore... pay particular attention to the picture in reply 3 at this link - https://forums.adobe.com/thread/1516173 (picture first posted by Ann Bens and reposted by Stan Jones)

  • Compiling on a dual core machine and running the class files on linux.

    does compiling on a dual core machine and running the class files on linux have any effect?

    well, the problem that i felt was that when i runmy
    class files on my machine(windows xp, dual core),
    Thread.sleep(60000) sleeps for 1 minute. but wheni
    run it on a linux machine, Thread.sleep(60000)sleeps
    for 2 minutes. my application has a lot ofthreads.
    I can't be 100% sure, but I'm pretty sure that
    sleep(60000) doesn't sleep for 2 minutes on the other
    machine.I, wholeheartedly, agree.
    Due to timing issues it may seem to sleep a few milliseconds more, but not double.
    Of course, if there is a "real-time" (or even simply higher than the Java app) priority program running that is using a lot of the CPU it may seem like it sleeps a lot longer than 60000, but that is a different issue.

  • My iMac does not connect to internet via wireless after I log in. I have to open network preferences and run the assistant everytime to make it work. Its a new system, updated to Mountain Lion,.

    My iMac does not connect to internet via wireless after I log in. I have to open network preferences and run the assistant everytime to make it work. Its a new system, updated to Mountain Lion,.

    Hi, this has worked for a few...
    Make a New Location, Using network locations in Mac OS X ...
    http://support.apple.com/kb/HT2712
    10.7…
    System Preferences>Network, top of window>Locations>Edit Locations, little plus icon, give it a name.
    10.5.x/10.6.x/10.7.x instructions...
    System Preferences>Network, click on the little gear at the bottom next to the + & - icons, (unlock lock first if locked), choose Set Service Order.
    The interface that connects to the Internet should be dragged to the top of the list.
    Instead of joining your Network from the list, click the WiFi icon at the top, and click join other network. Fill in everything as needed.
    For 10.5/10.6, System Preferences>Network, unlock the lock if need be, highlight the Interface you use to connect to Internet, click on the advanced button, click on the DNS tab, click on the little plus icon, then add these numbers...
    208.67.222.222
    208.67.220.220
    Click OK.
    Also, turn off IPv6:
    System Preferences » Network » AirPort » TCP/IP tab » Configure IPv6
    Or whatever Interface you use.

  • Problem with checkbox and run the get button event continuously

    Hi all,
    I have a checkbox list of 3 sensors. I have used the X-Control (for checkbox) found in the following link for my application https://decibel.ni.com/content/docs/DOC-30558. I have problems to achieve the following.
    Suppose i check Vibration and Strain, I should be able to display both Vibration and Strain data. (I should compare each element of 1d array with the string constant and run the case structure).
    I have to run the GET event continuously to display the data. 
    I have attached the code to the post.
    Please can anyone suggest how to go about this.
    thanks in advance
    Regards,
    KM
    Attachments:
    Main page Enhancements for Create and Load.vi ‏69 KB

    Hi Bob_Schor,
    I tried using the approach you mentioned. I cant run continuously. I am not able to figure out where i am going wrong. I have attached the updated vi. 
    Hi Hooovahh,
    The link you have posted seem to work with LV2013. I am currently using LV 2011. Can you please update it to 2011. Is OpenG necessary for this?
    Regards,
    KM
    Attachments:
    Main page Enhancements for Create and Load.vi ‏77 KB

  • Purchased a new Apple TV and the remote double clicks each time I press the button. It worked fine during set up and for the first two days.  I have since moved it and this problem started. Restarted,reset,unplugged,change remotes, no change.Help please.

    Purchased a new Apple TV and the remote double clicks each time I press the button. It worked fine during set up and for the first two days.  I have since moved it and this problem started. Restarted,reset,unplugged,changed remotes, no change. Latest software update. This is really annoying.  iPhone remote app works just fine.  Any suggestions?

    That's one of the weird things.. it recognizes it maybe 10% of the time. And usually, only after I do the two-button reset. Problem is.. since it won't charge above 2%, anytime I try to do a restore or anything like that using iTunes, my device shuts off and I lose whatever progress I'd made.
    So, an update... after reading through a bunch of similar complaints (there are literally 1000's of them so there's NO WAY this isn't somehow ios7 related, thanks a lot APPLE ) I decided to try a restore in recovery mode. After 3 hours and several disconnections... I ended up having to just set it up as a new iPad, as the restore did nothing. Weirdly though... as I was doing the restore in recovery mode.. I noticed I'd gotten up to a 10% charge.. higher than it's been since September, so after setting it up as a new device, I turned it off and plugged it in using the wall charger. 2 hours later and I was up to 38%. Still not great, as my iPad, before ios7 could've fully charged twice in the amount of time it took for me to now get 28% more of a charge. And that's with a fully cleaned out device.. so that really ***** and I'm now more confused than ever.
    But I'm gonna leave it overnight charging and see what I come up with tomorrow. Sadly, when I paid $600 for it in February, I never expected to have to play "wait and see" with it...

Maybe you are looking for

  • HELP - is my G4 with OS 9,.1 really in trouble?

    Just bought a MacBook Pro and am copying files from my G4 onto a new external La Cie 500GB HD to transfer to MBP. The G4 froze in the middle of this. When I called the local Mac store to ask how to resolve the problem they got me out of the problem a

  • N96 on 3 in the U.K

    Has anyone on 3 managed to update to software version 11 yet?,i am being seriously messed about by 3,currently on my 2nd N96 due to various faults,i have attempted to hand the phone back in exchange for a different model but they wont accept it,i am

  • SSD's which are OK for updating firmware on a Mac?

    I'm looking at a couple SSD's for a MacPro, any thoughts on which are OK with updating firmware on a Mac? Probably better to ask now before I need to.. Crucial M500 or Samsung 840 Pro?  I'm assuming that OWC's offerings are probably the best for Mac

  • ORA-12500 error message, help me

    Oracel 8.1.7 on Windows 2k server run: connect system/manager in SQLPLUS, ok but run: connect system/[email protected] in SQLPLUS,got ORA-12500 TNS: listener failed to start a dedicated server process oradb1 is the SID of the only one database. cosp.

  • Hfm Errors while consolidations

    Hi all, Data wont roll up even though there is data in lower levels. It does roll up at times bt the figures arent what they are supposed to be. No rules issues. Thanks Deeps Edited by: user8674669 on Jan 6, 2010 7:57 AM