Can I source an environment before making a system call from the database

I can execute system calls from the database like
Process proc = Runtime.getRuntime().exec("env");
but I am unable to source an environment before making the call.
Our goal is to from within the database to execute tkprof on a
raw trace file then load both files into clobs in a table. We can load
the raw trace no problem, we just cannot figure out how to execute
tkrprof on the raw trace then load its output.
Anyone know if this is possible to hava java get a runtime and then call
an environment file to source the environment so that path's and other environment variables are set prior to executing another system command.

Thanks for that...but can I do multiple edits in my Stored Procedure Vaibhav and pass back something that I can then utilize in my SSIS? For example...
One and Only one Member Span...so I'd be doing a SELECT COUNT(*) based on my match criteria or handle the count accordingly in my Stored Procedure and passing something back via the OLE DB Command and handling it appropriately in SSIS
Are there "Diabetes" claims...again probably by analyzing a SELECT COUNT(*)
Am I expecting too much from the SSIS...should I be doing all of this in a Stored Procedure? I was hoping to use the SSIS GUI for everything but maybe that's just not possible. Rather use the Stored Procedure to analyze my stged data, edit accordingly, do
data stores accordingly...especially the data anomalies...and then use the SSIS to control navigation
Your thoughts........
Could you maybe clarify the difference between an OLE DB Command on the Data Flow and the Execute SQL Task on the Control Flow...
You can get return values from oledb comand if you want to pipeline.
see this link for more details
http://josef-richberg.squarespace.com/journal/2011/6/30/ssis-oledb-command-and-procedure-output-params.html
The procedure should have an output parameter defined for that
I belive if you've flexibility of using stored procedure you may be better off doing this in execute sql task in control flow. Calling sp in data flow will cause it to execute sp once for each row in dataset whereas in controlflow it will go for set based
processing
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page

Similar Messages

  • I upgraded from an iPhone2 to an iPhone4s now I can't sync the ringtones from music that I purchased from itunes to correspond with my contacts.  How can I get it where I know who is calling from the ringtones I used to have?

    I upgraded from an iPhone2 to an iPhone4s and now my ringtones are gone.  I still have the music that I  bought from iTunes that I made the ringtones from but I can't seem to get anything to work.  Help!  Thanks.

    For the font problems, try the "Safe Mode" suggestion in this old thread:
    http://discussions.apple.com/thread.jspa?threadID=1956989&start=20
    ...Found by doing THIS. Also see this Apple doc:
    _Mac OS X: What is Safe Boot, Safe Mode?_
    ...Found by entering "safe mode" in the first field here:
    http://support.apple.com/kb/index?page=search

  • My iphone was stolen so I decided to delete my device in find my iphone,  but the it has not yet been deleted bec the device is not connected to the internet yet. Can I undo my changes before it will be deleted from icloud? Thank you

    Hi Suport,
    My iphone was stolen yesterday so I decided to delete my device in find my iphone,  but the it has not yet been deleted bec the device is not connected to the internet yet. Can I undo my changes before it will be deleted from icloud? I want to undo the changes because I may find my phone when it connects to the internet. Thank you
    See image below:
    email is [email protected] for questions thank you Apple. I hope you could help me.

    Sorry, you can't undo your action remotely.

  • When making an outgoing call from my i phone, an icon of a microphone with a slash acroos it appears.  I can hear the receiving party speak, but he cannot hear me.  What has been shut off and how do I turn it on?

    When making an outgoing call from my i phone, an icon of a microphone with a slash across appears.  I can hear the recipient speakin but he cannot hear me.  What has been turnedd off, and how do I turn it on?

    I think mute is on, tap the microphone icon with the slash running through it

  • My droid makes a beeping sound before making or recieving call

    My droid beeps three times before making or receiving calls.

        Hello Sparks05
    I'm sorry your getting that sound. I'd love to get this addressed. It sounds like call connect is enabled. Let's dive in and get this fixed! What device do you have? Did this start after an application was downloaded?
    JoeL_VZW
    Follow us on Twitter @VZWSupport

  • I can't search any videos on YouTube/Download any app from the App Store

    Hi,
    I am using movistar 3G network (Spain), full signal. Everything works fine, Stock app, Weather app, Mail, Safari... but I can't search for any videos on YouTube and can't download any app from the App Store.
    I can see videos on YouTube app but only the featured videos, when I try to search the ones I want to see I get an error message "Cannot connect to YouTube".
    The only problem is when searching videos on YouTube app.
    When I try to download an app from the App Store I get a similar error message, "The download can´t be done, connect to iTunes" more or less, that's the sense of the message.
    I can connect to the AppStore, surf it but when I press Install... I get the error message.
    I know that my carrier, movistar (Spain) has an issue with secure webs (https), it's impossible to surf any secure web by now but I don´t know if this is related with my problems.
    This happens with 2.1 and 2.2 firmware version.
    I have the iPhone set in spanish from Spain and the time is right. By the way, using WiFi everything works fine, everything, I can search for videos on YouTube app and download apps from the AppStore.
    I don´t know what more can I do, can someone help me? please. = (
    Thanks in advance.

    FWIW, the only part of Java not installed is the Java Runtime Environment. Launch the Java Preferences.app in /Utilities and DL it when prompted. Then, enable plugins and Web Start apps.

  • I have several users in an exchange environment who cannot email a photo from the iPhone.  When the click on Email Photo, they are prompted to configure a mail account even though there is already an exchange account in place.  How do I remediate this?

    I have several users in an exchange environment who cannot email a photo from the iPhone.  When the click on Email Photo, they are prompted to configure a mail account even though there is already an exchange account in place.  How do I remediate this?  Not all of the users in our environment have this issue.  If the users having this issue, install a secondary email account, Gmail, Hotmail, etc, then they can send through those accounts.  Why would the exchange account not be seen to send photos?

    Sounds like it worked until the policies associated with the account that are creating the problem were fully pushed down.
    Try setting up a new (test) Exhange account and see if it behaves the same way on the phone (after removing the problem account from the phone, of course).

  • Making Web Service calls from a Form in the WorkSpace

    I am getting conflicting information about this, so I hope someone here could clarify it. TIA.
    This is what I want to do:
    after a form is displayed/launched in the WorkSpace,
    when the user Tabs out of a field (Exit event) on the form,
    I want to make a Web Service call from the form,
    get the result from the WebService,
    and use the Result to populate another field on the form.
    I know for certain that this works if I Reader-Extend the form,
    and I set the JavaScript at the Exit event (to execute WebService call)
    as "Run At Client".
    The question is:
    can I make the WebService calls without Reader-Extending the form???
    I have been told that, yes you can,
    but *only if* you let the JavaScript "Run At Server".
    I tried that, but it caused the Reader to crash.
    Some other people told me,
    no you can not,
    even if you "Run At Server", the form still needs to be Reader-Extended,
    when using it in the WorkSpace environment.
    So, what is the truth? can someon tell me?
    Can I make WebServers calls from the Server-side at all?
    Do I really need to Reader-Extend the form even if calling it from server side?
    What exactly is it SUPPOSED to work?
    thanks

    yes, thank you both. I got the fix from Adobe Tech Support last week. It's working.
    The fix I got included a rather complex looking "Submit Service" though. Makes me wonder how a regular user would know that he needs to write such a Submit Service?? and even if he knows that he needs a special Submit Service, would he know how to write it??? I found no documentation for this type of things either.
    Shouldn't this solution be published somewhere in Adobe's website? Dev Lab perhaps?

  • User exits which can be called from the bapi BAPI_ALM_ORDER_MAINTAIN

    Hi Experts,
    I was trying to change work orders using the BAPI_ALM_ORDER_MAINTAIN, but this does not allow me to update the order address, one way of updating the address is using recording, but i was looking for a way  in which we can use some user exit which will be called from the BAPI so that i can update the address number in the final structure before the work order is saved (without having to go for recording)?

    Hi,
    you have restrictions to this .
    Refurbishment orders are not supported.
    The estimated costs cannot be processed - only the estimated overall costs of the order.
    Notification data cannot be processed with the order BAPI, even if the settings in Customizing are such that the orders and notifications can be maintained on one screen. However, the system will create a notification with the order if this is specified in the Customizing settings.
    Permits cannot be processed.
    The order addresses cannot be processed.
    Individual partner addresses cannot be maintained.
    Regards

  • Did you know that verizon charges ¢50 for calls from the US to Canada?  Just dialing an area code like 604 (Vancouver, CA), will create charges at a rate of ¢50/minute.  Amazing that they can charge this much for a call to Canada.  I know they have it som

    Did you know that verizon charges ¢50 for calls from the US to Canada?  Just dialing an area code like 604 (Vancouver, CA), will create charges at a rate of ¢50/minute.  Amazing that they can charge this much for a call to Canada.  I know they have it somewhere in their contract/website.

    Did you know that verizon charges ¢50 for calls from the US to Canada?  Just dialing an area code like 604 (Vancouver, CA), will create charges at a rate of ¢50/minute.  Amazing that they can charge this much for a call to Canada.  I know they have it somewhere in their contract/website.

  • Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the rows? Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the records?
    Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    The Oracle documentation has a good overview of the options available
    Generating XML Data from the Database
    Without knowing your version, I just picked 11.2, so you made need to look for that chapter in the documentation for your version to find applicable information.
    You can also find some information in XML DB FAQ

  • How I can transfer data from the database into a variable (or array)?

    I made my application according to the example (http://corlan.org/2009/06/12/working-in-flash-builder-4-with-flex-and-php/). Everything works fine. I changed one function to query the database - add the two parameters and get the value of the table in String format. A test operation shows that all is ok. If I want to display this value in the text area, I simply drag and drop service to this element in the design mode
    (<s:TextArea x="153" y="435" id="nameText" text="{getDataMeanResult.lastResult[0].name}"  width="296" height="89"  />).
    It also works fine, just a warning and encouraged to use ArrayCollection.getItemAt().
    Now I want to send the value to a variable or array, but in both cases I get an error: TypeError: Error #1010: A term is undefined and has no properties..
    How can I pass a value from the database into a variable? Thank you.
    public var nameTemp:String;
    getDataMeanResult.token = authors.getDataMean(arrayOfNumber[0], dir_id);
    nameTemp = getDataMeanResult.lastResult[0].name;
    public var nameArray:Array = new Array();
    for (var i:uint=o; i<3; i++){
    getDataMeanResult.token = authors.getDataMean(arrayOfNumber[i], dir_id);
    nameArray[i] = getDataMeanResult.lastResult[0].name;
    And how i can use syntax highlighting in this forum?

    Astraport2012 wrote:
    I have to go back to the discussion. The above example works fine when i want to get a single value of the database. But i need to pass an array and get an array, because i want to get at once all the values for all pictures tooltips. I rewrote the proposed Matt PHP-script and it works. However, i can not display the resulting array.
    yep, it won't work for Arrays, you'll have to do something slightly more intelligent for them.
    easiest way would be to get your PHP to generate XML, then read that into something like an ArrayList on your HTTPService result event (depends what you're doing with it).
    for example, you could have the PHP generate XML such as:
    <pictures>
         <location>test1.png</location>
         <location>test2.png</location>
         <location>test3.png</location>
         <location>test4.png</location>
         <location>test5.png</location>
         <location>test6.png</location>
    </pictures>
    then you'll read that in as the ResultEvent, and perform something like this on it
    private var tempAC:ArrayList = new ArrayList
    protected function getStuff_resultHandler(event:ResultEvent):void
        for each(var item:Object in event.result.pictures)
           var temp:String = (item.@location).toString();
           tempAC.addItem(temp);
    in my example on cookies
    http://www.mattlefevre.com/viewExample.php?tut=flash4PHP&proj=Using%20Cookies
    you'll see an example of how to format an XML structure containing multiple values:
    if($_COOKIE["firstName"])
            print "<stored>true</stored>";
            print "<userInfo>
                    <firstName>".$_COOKIE["firstName"]."</firstName>
                    <lastName>".$_COOKIE["lastName"]."</lastName>
                    <userAge>".$_COOKIE["userAge"]."</userAge>
                    <gender>".$_COOKIE["gender"]."</gender>
                   </userInfo>";
        else
            print "<stored>false</stored>";
    which i handle like so
    if(event.result.stored == true)
                        entryPanel.title = "Welcome back " + event.result.userInfo.firstName + " " + event.result.userInfo.lastName;
                        firstName.text = event.result.userInfo.firstName;
                        lastName.text = event.result.userInfo.lastName;
                        userAge.value = event.result.userInfo.userAge;
                        userGender.selectedIndex = event.result.userInfo.gender;
    depends on what type of Array you're after
    from the sounds of it (with the mention of picture tooltips) you're trying to create a gallery with an image, and a tooltip.
    so i'd probably adopt something like
    <picture>
         <location>example1.png</location>
         <tooltip>tooltip for picture #1</tooltip>
    </picture>
    <picture>
         <location>example2.png</location>
         <tooltip>tooltip for picture #2</tooltip>
    </picture>
    <picture>
         <location>example3.png</location>
         <tooltip>tooltip for picture #3</tooltip>
    </picture>
    etc...
    or
    <picture location="example1.png" tooltip="tooltip for picture #1"/>
    <picture location="example2.png" tooltip="tooltip for picture #2"/>
    <picture location="example3.png" tooltip="tooltip for picture #3"/>
    etc...

  • How can i get the System Time from the other host

    I want to get the System Time from the other host in the LAN,How can I get the Time using Java.
    Such as I am in WIN 2000 and I have a Unix host in LAN, I want to get unix host System time, How can I do it.

    Open a socket to port 13 and read a string with the time.
    -or-
    Open a socket to port 27 and read 4 bytes that are a network order timestamp
    Assuming that your UNIX machine has those services running, most do

  • HOW CAN I DELETE AN EVENT WITHOUT  HAVING TO SELECTING IT FROM THE LIBRARY?

    I have a big problem.
    I want to delete an entire event from my library because everytime I select it imovie freezes and then close itself up. So I have to re-open imovie again. And when I want to select that particular event again the same problem occures. So I can not select that particular event. Therefore I can take NO action on this event.
    HOW CAN I DELETE AN EVENT WITHOUT HAVING TO SELECTING IT FROM THE LIBRARY?
    (Everytime I select it imovie closes itself up)
    All other events work fine. I believe The footage had a problem from capturing. but now it's in my computer and i can't open it.
    Please help me, I don't need this event, I can't open it therefore I can't use it and it takes place on my hardrive for nothing.
    Thank you

    One can delete it from one's computer. In the finder go to homeuser, movies, imovie events, delete the footage.
    Then reopen iMovie and see if that helps.
    Hugh

  • In iOS 7 you can still make calls from the locked screen. Just swipe the missed call numbers to the right. Is this a bug?

    In iOS 7 you can still make calls from the locked screen. Just swipe the missed call numbers to the right. Is this a bug?

    How is it a security breach? You're free to turn off lock screen notifications for the phone app so that no one can do that.... even if they can, they can only call the number that called you... nothing else. (well, except for 900 or whatever the emergency services number is where you are, but that's required by law).

Maybe you are looking for

  • Mail won't delete messages from Iphone unless I open Mail.

    I have an Exchange account set up and use MS Outlook at work.  I do receive my email via push on my Iphone 4s.  However, when I delete a message from my MS Outlook at work, it won't delete from my Iphone UNLESS I open up Mail.  Anyone else have this

  • 3 yr old macbook pro boot up problems

    Hi, I bought a 13" macbook pro 3 yrs ago.. Its running the latest version of Lion. I have a boot up problem. Initially the boot up sound will go off and get stuck on a white screen. I've left it on for 30mins-.it took me to a disk disk utility  scree

  • Simply if-statement I just can't figure out...

    Well, It's late and I'm very tired... so I just can't get the simpliest of things working right now... so, please, if you can get my brain to understand the following: Why can't I compare the string object right?! I just can't get it true in some cas

  • When I try to close my screen it flickers black

    When I put my computer to sleep I put the screen down instead of going up to the apple in the corner and selecting sleep. It is now flickering black as I am putting the screen down. I do not know why. Even when I just put it half mast it flickers.

  • Xdg-mime reports application/xml for fodt

    Hi all 1) I have update the system wide mime database. 2) Then I have followed instructions here https://wiki.archlinux.org/index.php/Ch - n_via_MIME: > cat ~/.local/share/mime/packages/fodt.xml => <?xml version="1.0"?> <mime-info xmlns='http://www.f