How do I run a full process from SSIS ???

Hi all
I run BPC 5.1 SP3, and I need to automate a series of jobs, but the system is giving me problems and I hope someone can help out.
I need to automate a full optimize and then a full process of our AppSets.
I know that in SP3, the Appsets are taken offline for the full optimize and are then left offline, so in-between I run the "SystemAvailableTask" to set the Appsets back online.
Additionally, all dependencies are removed from the FACT table for the optimized AppSets, which are only rebuilt by performing the full process afterwards.
Anyway, the problem I have is that the optimize is running quite happily from SSIS, as is the SystemAvailableTask.
Up to this point in the job, everything works as intended, so I now have a fully optimized Appset, which is available for users to access.
However, the Full Process job then fails.
I have run the Full Process as a standalone job from SSIS and it takes 2m36s to run, but fails to rebuild any dependencies.
When I ran it from the SAP Admin program, it took 9m57s to run and rebuilt everything correctly.
I am currently only offered 1 option in the SSIS package, which is to run a Full or an Incremental process, so I select Full.
However, on the right-hand side, there are various other options available (such as bApplicationProcess, PROCESSMODE (set to "3"), PROCESSOPTION (set to "1"))
Should I be changing any of the settings on the right to make the job run properly, or should I be doing it differently.
Obviously, I need to make this work from SSIS, as I can't schedule a full process any other way, so I would be extremely grateful for any help that you can offer.
Thanks
Craig
Edited by: Craig Aucott on Aug 25, 2009 10:21 AM

The easiest way to do this is to write a Tuxedo server (i.e., using only
ATMI and no CORBA stuff) that does the following:
1.) In tpsvrinit(), the last thing that it should do is a tpacall to the
service contained in this server (and nowhere else) with the TPNOREPLY
flag.
2.) In the method that implements the service, do your database work, sleep
for a little while, do another tpacall to itself with the TPNOREPLY flag,
and return.
Hope this helps,
Robert
Ram Ramesh wrote:
Hello folks:
How can I run a background process that runs under WLE's control.
What I am looking for is a way to have a process that runs in an
infinite loop and polls the database to see if there is any background
work that needs to be done. But I still want the process to be managed
by WLE for fault tolerance.
Thanks,
Ram Ramesh
[email protected]

Similar Messages

  • Mac Fan runs at full Speed from start, even in standby mode!

    Hi Folks
    Since this night my iMac's fan (summer 2012 model) runs at full speed from the beginning of powering it on. It even runs at full speed when I put the iMac to sleep!
    So far I tried to reset the SMC three times, noo effect at all. I checked also the activity log, no processes or other activities are causing this. I read about defect HDD sensors, could that be the problem?
    Any ideas how to fix or at least control this issue???
    Thank you all for your help!
    Matt
    PS: That's a pretty annoying sound I'm hearing here, I feel like on the roof top of the Hancock Building at wind speed 200!

    I have tried the SMC reset as instructed and the fan is running normally.  It is a bit of an intermittent problem so I will monitor the performance of the computer over the coming weeks.  If it persists, I will take it in to a service centre while it remains under warranty.
    I guess the "cure" I had stumbled across by accident was nothing to do with turning the computer upside down, it was because I was unknowingly performing an SMC reset. The reason I turned the computer upside down was to find the serial number on the base of the stand so I could report the fault to Apple. Of course, when I plugged it back in to contact the support line, it worked fine. 
    Once again, thanks for your help.

  • No able run a GP Process from Portal

    Hi All,
    I am not able to run a GP Process from the portal.
    I have created a Guided Procedure with multiple steps.
    I am able to access a couple step. But in the third step the complete functionality is not working.
    If I run a process with out portal, Every step works well.
    Please help me in solving this.
    For integrating in portal, I ve used AInstantiation iview with URL Parameter from the process.
    Thanks in Advance,
    Anish

    Hi Anish,
    If your third step is an iView, a VC Callable Object or another "non java technology" UI, this only means that you need to open the process within the portal to be able to use the so-called "Portal Navigation".
    The AInstantiation WD App only exists for testing purposes (from the Design Time) and is not meant to be reused.
    I would rather recommend you to implement your own application for starting GP Process either by using the Public API or the Web Service
    See also how to start a GP process from a url within EP?, your problem should be solved
    Hope this helps,
    Best regards,
    David

  • How do you run another Java file from a master Java file?

    We're making a game in Java at school, and we need to know how we can run a Java file from another one - like inside the master Java file, we need to have a command to run game.java (something like that). Thanks!

    We're making a game in Java at school, and we need to know how we can run a Java file from another one - like inside the master Java file, we need to have a command to run game.java (something like that). Thanks!One doesn't "run a Java file", and there's no conventional definition of "master Java file". If you want to call the main() method of another class, just make sure the class is in your classpath and call the method. If you want to start up a separate JVM with that class as a process, use Runtime.exec() or similar method.
    ~

  • How can I run a BW Function from EXCEL-IN-PLACE (BPS)??? Please give any ex

    How can I run a BW Function from EXCEL-IN-PLACE (BPS)using VBA??? Please give any example.
    I would like to run my function module ZMY from EXCEL-IN-PLACE using VBA and get a result.

    if you are using excel in place in the web application environment I doubt you can, you've never really had any macro functionalty there.
    If you are in the gui environemnt (Planning folders) it will depend on how you want to invoke the module...

  • How do I run two full screen applications on separate screens?

    I have two screens for my MacBook Pro with Lion; the laptop screen and a stock screen hooked up by a VGA cable. Currently, when I use a full screen application, my second screen just changes to the grey fabric pattern. How do I run a full-screen application on each screen?

    Hi Jared,
    Connect/turn on the external monitor. Open System Preferences on your MBP > Displays. There should be two windows, one for the external monitor and one for the MBP. Click on the window for the external monitor. Click on the Arrangement tab. Uncheck the box for Mirror Displays. This willallow you to set each display to its own resolution. On the external display, click on the pref window for the external monitor display setting. Click on Display. Set the resolution to what you want. On the MBP's display, click on the pref window for the MBP's display and set the resolution to whatever you want. You'll be in what's called "extended desktop mode." You'll have to move the "pointer" all the way to the edge of one display to get it to go onto the other display. Open whatever you want, and drag it to the extended monitor. Set it to full screen. Open another whatever on the MBP's display and set it to full screen. You should be full screen on both displays.

  • How do I run a user account from an external HD?

    How do I run a user account from an external HD? I will be away from my desktop iMac and want to use our MacBook Pro overseas for two months with my iMac user account copied to an external drive.

    1. WARNING: This procedure is for advanced users only. Some third-party software may not work as expected, or may not work at all, if the home folder is moved.
    2. Back up all data.
    3. Copy your home folder to the desired location, which must be on a volume of type "Mac OS Extended (Journaled)" with file ownership enabled, as shown in the Finder Info dialog. Encryption is optional. The volume must be on a local storage device, not on the network, and it must be mounted automatically at startup — before any user logs in. A disk image will not work.
    The name of your home folder is your short user name. Do not rename it. Do not copy the "Users" folder.
    5. Select
     ▹ System Preferences ▹ Users & Groups
    Click the lock icon and authenticate. Right-click or control-click your name in the account list, and select Advanced options from the popup menu. In the sheet that opens, change the location of the home directory. Log out and log back in.
    6. Test. If you have problems, reverse the above steps. If you got this far, you should have no trouble doing that. If everything works as you expect, delete the original home folder.

  • How do i run a Repair Disk from ARD

    how do i run a Repair Disk from ARD

    have you considered a netboot image and or a safeboot?
    With a netboot image you could try repairing the drive remotely. (the down side is this requires a mac os x server to do)
    A SafeBoot can be remotely triggered,  and it include automatic disk check and repair. (the downside is depending on how the computer is connected to the network, it may not re-connect to the network when safeboot complete and boots into 'safe mode'. ) I find if the computer is connected to the network by a built-in ethernet adapter, I can usually still access the computer in safe mode
    Before running a disk repair or permissions repair, it's a good idea to make sure the computer is backed up.
    Also, in the case that a NetBoot, Disk Repair, or SafeBoot fails, you would probable want to be able to physically walk over to the computer.
    Resolve startup issues and perform disk maintenance with Disk Utility and fsck explains that SafeBoot includes Automatic Verify and Repair of Disk.
    Mac OS X: Starting up in Safe Mode explains how to use the terminal to configure a computer to SafeBoot into SafeMode. It also explains how to turn off SafeBoot after booting into SafeMode.
    cheers!

  • How do I run a background process which is under WLE control

    Hello folks:
    How can I run a background process that runs under WLE's control.
    What I am looking for is a way to have a process that runs in an
    infinite loop and polls the database to see if there is any background
    work that needs to be done. But I still want the process to be managed
    by WLE for fault tolerance.
    Thanks,
    Ram Ramesh
    [email protected]

    The easiest way to do this is to write a Tuxedo server (i.e., using only
    ATMI and no CORBA stuff) that does the following:
    1.) In tpsvrinit(), the last thing that it should do is a tpacall to the
    service contained in this server (and nowhere else) with the TPNOREPLY
    flag.
    2.) In the method that implements the service, do your database work, sleep
    for a little while, do another tpacall to itself with the TPNOREPLY flag,
    and return.
    Hope this helps,
    Robert
    Ram Ramesh wrote:
    Hello folks:
    How can I run a background process that runs under WLE's control.
    What I am looking for is a way to have a process that runs in an
    infinite loop and polls the database to see if there is any background
    work that needs to be done. But I still want the process to be managed
    by WLE for fault tolerance.
    Thanks,
    Ram Ramesh
    [email protected]

  • How to call a Asynchronous bpel process from a PLSQL procedure?

    How to call a Asynchronous bpel process from a PLSQL procedure?

    Hi,
    You could do something smart and technical very spiffy with soap-stacks in the database and/or dbms_ws/dbms_http. But I allways find AQ with AQ-adapter the simplest. Let Pl/sql enqueue a message on an aq-queue and subscribe an aq-adapter process on it. That can call your async-bpel process. If you want to get answer back in pl/sql, let the aq-adapter process enqueue a response message on another queue or on the same queue with another consumer name. Give it a correlation-id that you provided in the payload of your request message. Your pl/sql process can then do a dequeue on that correlation-id. It will sit and wait until a message with that correlation id is enqueued on the queue.
    Regards,
    Martien

  • How do you run a full virus scan

    How do you run a full virus scan on the Imac

    Take a look at this article:
    http://en.wikipedia.org/wiki/Phishing
    Running a virus scan would not help at all - someone got your email address and is now hoping you're dumb enough to use the links they provided and give them information so they can use your credit card or checking acount number, password, etc.
    I would change my user name and password immediately (if not sooner!!) - make it difficult to guess. Do it at least with the bank involved; however, to be safe, it wouldn't hurt doing it with others as well.

  • How to create Instace of another process from running process.

    Hi,
    I want to create an instance of another process from my running process. Along with this i want to pass a business object as input parameter to this instance. Please help me to do this !!!

    This and other ways to create an instance in another process was described in Re: create new process instance
    1. Here's how you can create an instance in a process using logic in an Automatic activity's method. This uses the "Fuego.Lib.ProcessInstance.create()" method shown below inside a process:
    // "argsIn" is an associative string array (Any[String])
    argsIn as Any[String]
    // this assumes that the Begin activity has two argument variables
    //   named "nameArg" (a string) and "myBpmObjectArg" (a BPM
    //   object variable) and you're setting them
    //   to the previously initialized variables "name" and
    //   "myBpmObject" respectively
    argsIn["nameArg"] = name
    argsIn["myBpmObjectArg"] = myBpmObject
    // logic here to determine the name of the process to create an instance in
    idOfProcess as String
    idOfProcess = <hard coded string that has the id (not the name) of the process to instantiate>
    ProcessInstance.create(processId : "/" + idOfProcess, arguments : argsIn,
         argumentsSetName : "BeginIn") ProcessInstance is in the Catalog inside Fuego.Lib.
    The processId parameter (the "idOfProcess" variable in the above logic) is the thing I most commonly screw up with this. It is the text you see when you right mouse click the process in the Project Navigator tab -> "Properties". Look at the value in the "Id" field and not the "Name" field here (the name without any space characters). Prefix it with a "/" as is shown here and if you've deployed this using an organization unit (OU) then prefix this to the string also.
    The third parameter is almost always "BeginIn". Begin activities in a process can have many incoming argument mappings, the default is "BeginIn". To see yours, double click the process's Begin activity and look at the mapping's name in the upper left corner of the dialog.
    "argsIn" is the set of incoming argument variables you want passed into the process. A common mistake is to type in the names of the incoming argument variables without the double quotes like this:
    // this will *NOT* work
    argsIn[nameArg] = name
    argsIn[myBpmObjectArg] = myBpmObject
    . . .Here is the correct syntax:
    // this *WILL* work
    argsIn["nameArg"] = name
    argsIn["myBpmObjectArg"] = myBpmObject
    . . .In this example, the process has two argument variables. It does not matter if the incoming argument variables are primitive type arguments (e.g. String, Integer, Decimal...) or BPM Objects, it is always done the same way. In this example, there is a String incoming argument called "nameArg" and a BPM Object incoming argument called "myBpmObjectArg".
    2. A process can create a new instance in another process using the Subflow activity which synchronously creates an instance in a child subprocess and waits for the result to return once the instance in the child subprocess reaches the End activity in the process. From the parent process, you'd match the incoming and outgoing argument variables of the called child process with instance variables in your parent process.
    3. A process can create a new instance in another process using the Process Creation activity which asynchronously creates an instance in a child subprocess (fire and forget) but does not wait for the child to respond to the parent. Once the child process begins, the parent continues its flow. From the parent process, you'd match the incoming argument variables of the called child process with instance variables in your parent process.
    Dan

  • How do you remove root level processes from launching at startup?

    Trying to remove Missing Sync application processes from Leopard. No longer using that application, but it loads these processes at startup, and I want to remove them. How do I do this?

    Then, I suggest running the uninstaller (if it exists) or contacting the developer and finding out where the installer puts its stuff. BTW, if you can identify the daemons, you should be able to do a Spotlight search for them and find the scripts that launch them. I don't use any of those devices, so I can't point you in the right direction.

  • How can I run a gui app from an su shell?

    Hello,
    I login to my mac as a non-admin account.  I then open a terminal and su to my admin account for anything requiring it.  I am trying to run a gui app from the terminal window, but get this error, and the app does not open:
    $ /usr/local/bin/wireshark
    2011-08-14 06:54:29.327 defaults[18406:903]
    The domain/default pair of (kCFPreferencesAnyApplication, AppleAquaColorVariant) does not exist
    2011-08-14 06:54:29.346 defaults[18407:903]
    The domain/default pair of (kCFPreferencesAnyApplication, AppleHighlightColor) does not exist
    ./sync_osx_look.sh: line 40: gtkrc: Permission denied
    (process:18396): Gdk-WARNING **: locale not supported by C library
    (wireshark-bin:18396): Gtk-WARNING **: Locale not supported by C library.
              Using the fallback 'C' locale.
    (wireshark-bin:18396): Gtk-WARNING **: cannot open display:
    I know I can "switch user" but this is cumbersome as it requires typing a password each time, and I need to have applications side-by-side for easy access and testing.  Any thoughts?
    Thanks.

    I use LaunchAsRoot to run GUI apps as the root user, while logged in to my admin account.
    Another way is to use Applescript.  Here's what I do to run Console as root:
    do shell script "/Applications/Utilities/Console.app/Contents/MacOS/Console > /dev/null 2>&1 &" with administrator privileges

  • How can I run an external program from a PLSQL procedure?

    Is there a package to run an external program from PLSQL? or is there another way to do that?
    thanks.

    here there is an example about how a PL/SQL procedure can
    work with an external C program.
    http://download-east.oracle.com/docs/cd/A87860_01/doc/appdev.817/a76936/dbms_pi2.htm#1003384
    Apart from that you have Java Stored Procedures option
    to carry out your task.
    Java Stored Procedures Developer's Guide Contents / Search / Index / PDF
    http://download-east.oracle.com/docs/cd/B10501_01/java.920/a96659.pdf
    Joel P�rez

Maybe you are looking for