How can I stop ODI if my BATCH BACK file reports an error?

I have a file of DOS commands as the first step in my package ODI. How can I send a code of ODI to tell him that he didn't and to stop processing the rest of the package? I was told I could use an ODI variable to accomplish this, but don't know how.

Also, how I spend a semaphore/flag an error in my command BACK to ODI file?
Thanks in advance for your help.

I tried to find this info in John's blog: http://john-goodwin.blogspot.com/search?q=error
but was not able to find it.

:)

I think what you want is to put something inside the batchfile so that ODI can be seen as OK or KO.
In terms of BACK, this is known as %ERRORLEVEL%
You set the errorlevel behind Code. Anything not NULL returned by the batch file is a mistake for ODI.

You can set the errorlevel using the command

exit /B 1

Tags: Business Intelligence

Similar Questions

  • How can I stop the sound of reading back to me, when the voice recording

    How can I stop the replay to me a second after that I recorded (audio narration). First 14 elements?

    Roger

    I think that perhaps this is the only option, Bob. I couldn't find another way.

    Unfortunately, if you are wearing your headphones and listen to the audio of the film, when you save, you will hear the echo too.

    It's just the way it works and there is no way to stop doing that I know.

  • How can I stop the loading of a swf file that is still ongoing.

    I have three buttons on the stage (btn1, btn2, btn3)

    When I click on the first button swf starts loading

    While the swf file loads if I press the 2nd key

    the first swf won't stop loading and the two rulers begin to play

    But if the first swf is fully charged then everything workes very well.

    so please let me how can know I stop the loading of a file that is still ongoing.

    var _contentSWF:ContentSWF

    var _content

    Btn1.addEventListener (MouseEvent.CLICK, handleClick)

    btn2.addEventListener (MouseEvent.CLICK, handleClick)

    btn3.addEventListener (MouseEvent.CLICK, handleClick)

    function handleClick() {}

    {if(_content!=undefined)}

    _contentSWF.removeContent)

    removeChild (_contentSWF);

    _contentSWF = null;

    }

    _contentSWF = new ContentSWF()

    _content = addChild (contentSWF);

    _contentSWF.init (from path.swf)

    }

    ContentSWF.as

    private var _path:String

    private var swfLoader:Loader

    private var _content

    SerializableAttribute public class ContentSWF extends Sprite {}

    public void init (path) {}

    {if(_content!=null)}

    _content. Content.RemoveEventListener (Event.COMPLETE, completeHandler)

    _content.removeChild (myMc)

    _content = null

    }

    swfLoader = new Loader();

    _path = path

    swfLoader.load (new URLRequest (path));

    swfLoader.contentLoaderInfo.addEventListener (Event.COMPLETE, swfLoaded);

    }

    public void removeContent() {}

    swfLoader.contentLoaderInfo.removeEventListener (Event.COMPLETE, swfLoaded);

    swfLoader.unloadAndStop)

    }

    private void swfLoaded(e:Event) {}

    _content = addChild (mymc)

    }

    }

    Use your charger's close() method.  but don't try and apply only if nothing is currently responsible or, I think, you will trigger an error.

  • How can I stop Adobe trying to open pdf files?

    I deleted Adobe from my Mac, but he's still opening the pdf files, in Safari and in the Mail. I deleted all the files using CleanMyMac, so that there is nothing about him.

    How can I change the default to Evernote, or simply to display pdf in Safari?

    This file is one that you can open with Adobe Reader. You get this message on systems where Adobe Reader is not installed or has been uninstalled correctly. Now, everything works normally, but of course, you WILL need to install Adobe Reader, if you want to read this file.

  • How can I stop the automatic downloading of exe files before you see the size of the file?

    When I click on a link of file (for example "setup.exe" or "Setup.zip") of a Web site, on what it asks you where I save the file and indicates the size of the file, but the download has already started in the background before I clicked Save. I have a fast enough connection but limited download allowance if the file is large, I'll cancel it, but a few MB can be downloaded until I can stop it. If I use just click on - > "save link as...» ' then he does not start downloading until I click Save but it don't tell me the file size, I also changed settings of early reading, which did not solve the problem.

    You will need to use an external Download Manager that supports this feature.

    You can use the FlashGot extension to integrate an external Download Manager in Firefox.

  • How can I stop the script popping up every second with an error

    script appears with an error like (etc) missing. What else can I tell you?

    Hi John,.

    Thanks for posting your query in the Microsoft community!

    To be able to understand the question in a better way than to provide you with the exact resolution, I would like to know exactly the problem you are experiencing.

    (1) Windows operating system you are using?

    (2) where exactly you receive Stop error message script?

    Please come back with more information on the issue so that we can help you better.

  • How can I stop receiving the weekly activity of catalyst report?

    My site is no longer the catalyst for the company, but I get the weekly report again and again. The churn results in an error message. Help someone.

    Hello

    This means that the site of British Colombia is still active and you have not deleted. If in case you want the site of BC and you just want you not receiving weekly reports, you'll need to connect to the admin of the site > my details > and uncheck the option to not receiving weekly reports.

    For more details, you can also find this video useful: bccademy | How to enable / disable the weekly reports. -YouTube

  • How can I stop people from copying my wmv files but still leave access/view the file?

    and then I sell my files wmv on CD/dvd-if I do this do I have to pay Microsoft a fee/charge?

    Hello

    I suggest you to ask your question in the MSDN forums.

    You can follow the link below to ask your question:

    http://social.msdn.Microsoft.com/forums/en-us/categories

    I hope that helps!

  • How can I stop Windows Vista Search Results including files that have already been deleted?

    I use Windows Vista Home Premium Version 6.0.  When I use the windows search feature (navigate from the 'new' start icon) search results include files that have been deleted.  This is quite annoying because it dilutes the value of the search result.

    Does anyone have a solution to this?  I have seen similar posts but no real solutions... any help would be much appreciated!  THX

    Rebuild the search Index to remove these "deleted": results

    http://www.tech-recipes.com/Rx/2103/vista_rebuilding_the_search_index/

    http://www.howtogeek.com/HOWTO/Windows-Vista/rebuilding-the-search-index-in-Windows-Vista/

    http://www.WikiHow.com/rebuild-Windows-Vista-search-index

    See you soon.

    Mick Murphy - Microsoft partner

  • I want to sell my files mwv that I created... How can I stop people to cope with my wmv files and I can sell my free mwv files or do I have to pay microsoft a fee/charge?

    and then I sell my files wmv on CD/dvd-if I do this do I have to pay Microsoft a fee/charge?

    I created a powerpoint document and converted a video (wmv file)
    How can I stop people copying my (video) wmv file?

    No, you do not have to pay taxes or royalties to Microsoft for what you do... If it's just to play back on a computer using Windows Media Player or other software.

    You can't stop people from copying your videos... There is a software that can rip the copies of it while playing on a computer, and my camcorder can get a copy while on a tripod, aimed at a computer screen.

  • How can I stop getting updated?

    How can I stop receiving updates of apps I don't care / don't want to not updated?

    https://www.igeeksblog.com/how-to-enable-or-disable-auto-apps-update-on-Mac-OS-x /.

  • My IPAD seems to go on auto-pilot: How can I stop the he flicking from one thing to another?

    How can I stop my IPAD II of flicking from one thing to another without my intervention?

    You probably have a defective scanner on the screen and so will have to do to fix it.

    iPad repair - official Apple Support

  • How can I stop eating e-mails from Apple support communities

    How can I stop getting emails from Apple support communities

    Go to each of the areas that you do not want to receive email from and click the button in the upper right corner. If you run the ad-blocking software, you may need to temporarily disable.

    If you wish, you can instead click here and completely turn off notifications by e-mail.

    (144467)

  • How can I stop Auto videos (from MSN, etc.) running?

    Whenever I click on an article on MSN (or other news sites) automatically linked videos download and start to play.

    How can I stop this?

    Thank you

    Usually, it is a function of the Web site that you have no control over.

  • I get this "Get Firefox on your iOS" and Android devices all the time. How can I stop it? It's boring.

    I always make this. It's boring.
    https://i.gyazo.com/d01f0b38d7754a89daf3fdd81edb51e3.PNG
    How can I stop?

    Sorry, this is a message from the heart function. She undergoes a bug right now. Better to turn it off if you can get immediate relief.

    To turn off the heart rate:
    Talk openly about: config config in a tab, then search for browser.selfsupport.url and double click on it and set it to an empty value.

    You may need to restart Firefox for the changes to take effect.

Maybe you are looking for

  • iPhone 6 Plus warranty

    I've owned my iPhone 6 Plus since a few months and a week or two ago I noticed when I was replacing my case that my iPhone is slightly bent near the power button. This disn can't cause any screen problems so I never noticed however scrutinize every t

  • Accidental call to contactless

    Hello world Recently, I watched the address book and I managed to accidentally call someone. This person is not in my contacts of course, and I ended the call as soon as I realized that I made the mistake. My question is, the person will be able to s

  • problems after update

    Hello I've updated my mac pro book tonight, since doing so, its very slow loading to the top of some Web sites, it took about 2 minutes just to get on here. windows laptop to my wife is fine so is my iPhone. does anyone else have this problem?

  • The upgrade of a 780 HP Pavilion Windows 7

    Dear support team / community, I have an old HP Pavilion 780 Office (HP Pavilion 04 P6418A-ABU 780) with an XP operating system. I want to upgrade to windows 7 if possible, running Windows 7 upgrade advisor - the report mentions that the graphics car

  • I accidentally deleted my DRAFTS FOLDER and then accidentally deleted my SUPPRIMES FOLDER. I need to recover those lost in my WINDOWS LIVE HOTMAIL emails.

    I accidentally deleted my DRAFTS FOLDER and then accidentally deleted my SUPPRIMES FOLDER. I need to recover those lost in my WINDOWS LIVE HOTMAIL emails.