Procedure don't work in a package

Hi,
I created a procedure that lists files from a directory, this procedure works separately, and list those files , but when i add the procedure to a package and execute the package, it don't work & don't return any error , seems that the package ignor the procedure.
Can anyone suggest me something plz.
Regards

What do you do when you don't want your procedure to be the first step in the package?
I have the same problem as the one described above, that is, I've created a Procedure that executes without error. However when I add it to a package and try to run it, it will not execute.
The procedure command is: cmd /c rename <%=odiRef.getOption( "OldName" )%> <%=odiRef.getOption( "NewName" )%>_<%=odiRef.getSysDate( "yyyyMMddHHmmss" )%>.csv
The code generated is: cmd /c rename D:\ODI\FinAppCapital\CSVFiles\CreateModeFormat.txt CreateMode_<@=snpRef.getSysDate("yyyyMMddHHmmss") @>.csv.
When I try to run this code at the command line, Windows says "The system cannot find the file specified." However the CreateModeFormat.txt file is definitely there. I tested the procedure by removing the getSysDate call because I thought that might be the cause of the trouble. However this makes no difference. I'm left with the same problem, that is, my procedure will execute on its own, and renames the file beautifully, appending the date and time, but the procedure will not run as part of a package.
I know that I can get around this by calling a .cmd or .bat file, which will do the renaming for me, but I wanted to get away from that with ODI and use the power of Procedures. So why, oh why, doesn't it work? Any ideas?

Similar Messages

  • MacMini won't boot anymore, usual procedures don't work

    My MacMini froze when updating from 10.10 to 10.10.1
    Rebooting showed the no access sign.
    I thought no big deal, but via the normal procedures (recovery mode including internet recovery mode, safe boot etc.), still no boot just a white screen.
    I made a bootable Yosemite USB stick and tried to boot from that, I get a bit of the timebar then white screen forever.
    I removed the hard disk, installed it into a different Mac, formatted, installed a clean Yosemite and made sure it would boot on that Mac.
    I put the hard disk back in my Mac mini and still get the 'no access' sign!
    I installed a different hard disk (an SSD) in an USB enclosure, again formatted and installed Yosemite at the other Mac, made sure it would boot, it did.
    Tried it plugged in into my Mac mini USB port, again white screen with 'no access' sign!
    Basically it's like it is cursed. Any ideas? (Obviously please avoid key-pressing suggestions such as CMD+OPT+R, SHFT+CMD+V, SHIFT, D, CMD+R, CMD+S, OPT+CMD+P+R, ALT/OPT etc. since I tried them all before formatting the hard disk on the other working Mac I own, I even removed the battery from the logic board).

    Try using a wired KB if yo are using a wifi/BT one.
    Try resetting the SMC and PRAM
    Intel-based Macs: Resetting the System Management Controller (SMC)
    About NVRAM and PRAM
    Try running Apple Hardware test if you can
    Using Apple Hardware Test
    If this Mini has FireWire and yo have another Mac with FW, try booting the other Mac in Target Disk Mode and see if you can boot from the Mini using the Optiion key
    - Make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar

  • How can I open PDF files?  The usual procedures don't work for me.  Thanks.

    How can I open PDF files?  Until a couple of months ago, I had no problem.  Now I can open none of them.  I have Adobe Reader X.  Yesterday I uninstalled Adobe X, restarted the computer, and then reinstalled Adobe X.  No success.  Thanks.

    What happens if you open Reader first then use File>Open like Bernd suggested?
    Are you sure you are opening them in Reader and not a text editor or MS Word? I ask because Reader will not prompt you for a language.

  • Ref cursors don't work in declared procedures?

    It appears that ref cursors in declared procedures don't work.
    For example, the following code runs with no errors, but returns nothing from the ref cursor -
    s = s & "DECLARE" & vbLf
    s = s & " TYPE OutCurType IS REF CURSOR;" & vbLf
    s = s & "PROCEDURE xxxProc(p5 in out OutCurType )" & vbLf
    s = s & " AS" & vbLf
    s = s & "BEGIN" & vbLf
    s = s & " OPEN p5 FOR SELECT * FROM table;" & vbLf
    s = s & "END xxxProc;" & vbLf
    s = s & "BEGIN" & vbLf
    s = s & " xxxProc( :p5 );" & vbLf
    s = s & "END;" & vbLf
    oCmd.CommandText = s
    oCmd.CommandType = CommandType.Text
    oParam6.ParameterName = "p5"
    oParam6.OracleDbType = Oracle.DataAccess.Client.OracleDbType.RefCursor
    oParam6.Direction = ParameterDirection.Output
    oParam6.Value = DBNull.Value
    oCmd.Parameters.Add(oParam6)
    oCmd.ExecuteNonQuery()
    oDR = CType(oCmd.Parameters("p5").Value, Oracle.DataAccess.Types.OracleRefCursor).GetDataReader
    While oDR.Read
    Stop
    End While
    However, a previously created procedure executes fine, in the above code -
    s = "BEGIN" & vbLf
    s = s & " xxxPkg.xxxProc( :p5 );" & vbLf
    s = s & "END;" & vbLf
    Is there a way to get ref cursors to work in declared procedures? Thanks...

    Fixed the grid cell display and popup editor for Ref Cursors.
    -Raghu

  • I downloaded CS6 Red Plug-In and added to Package Contents, replaced the current files with the new without backing up, now my RED footage thumbnails and color-correction don't WORK! How do I get my old importerRed file back!!?? HELP!

    I downloaded CS6 Red Plug-In and added to Package Contents, replaced the current files with the new without backing up, now my RED footage thumbnails and color-correction don't WORK! How do I get my old importerRed file back!!?? HELP!

    Try asking in the Premiere Pro  forum seems to be an Adobe Lab for Premiere Pro

  • [Windows] Captive runtime bundle package certificate signing don't work when icons included

    Here is the bugbase ticked: Bug#3949990 - [Windows] Captive runtime bundle package certificate signing don't work when icons included
    Application signing don't work when you build captive runtime bundle package which include icons. Don't matter application icons or associated file types icons. It works fine when you build application bundle without icons.
    It's a very critical issue, please fix it ASAP.
    Also application signing don't work if you using AIR SDK beta: Bug#3950022 - [Windows] Application signing don't work with AIR SDK beta
    I'd like to ask everyone affected by this issue to take a minute and vote for the following bugs.
    Thanks.

    I received feedback from our QA team this morning that they were able to reproduce the bugs but they are requesting access to the .as code if possible.  If you'd like to keep this private, please feel free to email it to me directly at [email protected]

  • I have original cs3 master collection but scratched. i need to install it on my macbook pro (mavericks). Adobe download links don't work. I have original serial number. what should i do? i paid a lot for the package.

    I have original cs3 master collection but scratched. i need to install it on my macbook pro (mavericks). Adobe download links don't work. I have original serial number. what should i do? i paid a lot for the package.

    Downloads available:
    Suite:  CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8
    Premiere Elements:  12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  12 | 11, 10 | 9,8,7
    Lightroom:  5 | 4 | 3
    Captivate:  7 | 6 | 5
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • What can I do if my function keys don't work correctly?

    QuestionWhat can I do if my function keys don't work correctly?
    AnswerFunction keys can mean a few different things. You might be having a problem with the F-keys near the top of your keyboard (F1, F2, etc.), the secondary functions of the F-keys (toggling the wireless or touchpad, for example), or special media keys on your laptop.
    There are a few steps you can take to try to resolve these issues. Try the suggestions listed below in the order presented. If a step fixes the problem, you're done! If a step doesn't fix your problem, continue to the next step.
    Understand the FN key
    First, ensure you understand how to use the FN key. In most newer models, the special utilities of the F-keys are used when you press the F-keys. To use the F-keys, you need to hold FN first. In older models, this was reversed. pressing the F-keys activated the F-keys. The special utilities of the F-keys are used while holding FN. If you're having trouble using your F-keys, try both with and without the FN key.
    Reinstall TVAP or Toshiba Flash Cards Utility
    Some models may use the Toshiba Value Added Package or the Toshiba Flash Cards Utility. Check the support site to see if these utilities are available for your model. If you see either listed, download and install it. Some models don't use these utilities; it's okay if you don't see either of them.
    How To: Identifying and locating the correct driver for your device
    Perform a power cycle
    Perform a power cycle on your laptop.
    How To: Proper Power Cycle Procedure for Laptops
    Perform a System Restore
    Restore your computer to a previous point when the keys were working correctly.
    How To: Understanding System Restore, Refresh, Reset, and, Recovery options in Windows 8 + Video
    How To: Perform a system restore in Windows 7
    Perform a System Reset
    If the previous suggestions don't help, you may want to try a System Reset (also known as a System Recovery). This returns the laptop to factory default conditions. Note that this means any data or application you added will be gone.
    How To: Understanding System Restore, Refresh, Reset, and, Recovery options in Windows 8 + Video
    How To: Perform system recovery - Windows 7
    Seek servicing
    If the System Reset didn't fix the problem, your computer could require servicing. Please call customer support.

    Contact Apple Support to get it serviced or visit an Apple Store or Authorized Apple Service Provider next to your place.
    iPhone - Contact Support - Apple Support

  • My World blue blank screen,apps don't work

    I wrongly updated OS6 in my Bold 9700, phone didn't work well when I realised I downgraded software to latest version OS5. Since then, when I try to access info in Myworld about an App the screen goes blank, I can pres the menu key and it gives the option to download but then I see nothing. I have no problems with some apps,but facebook just doesn't work at all. I download it but it doesn't give me the option to 'run'. In the application list it appears,so it is in the phone but there is no icon. Other apps (such as bank apps) don't work either,they show 'error 'net.rim.device.api.ui.container.GridFieldManager not found'.
    I have done a security wipe, deleted and reinstalled all apps including Blackberry World. I have reinstalled software about 4 times,battery pulls...you name it.
    I have data allowance with O2, but the phone is an unlocked AT&T Bold 9700 brought from the States.
    Any tips on what else can I do?The phone used to reset itself when I accessed My World,it seems it stopped doing that now, but still can't see anything when I want to see an App info. Thanks!! 
    Solved!
    Go to Solution.

    Hi and Welcome to the Community!
    A few things to try, in order of "less destructive" to more-so:
    I suggest the following steps, in order, even if they seem redundant to what you have already tried (steps 1 and 2 each should result in a message coming to your BB...please wait for that before proceeding to the next step):
    1) Register HRT
    KB00510 How to register a BlackBerry smartphone with the wireless network
    Please wait for one "registration" message to arrive to your Messages app
    2) Delete and Resend Service Books
    KB05000Delete the service book for the BlackBerry Internet Service email account from the BlackBerry smartphone
    If you have no CMIME entry, then skip the deletion
    KB02830 Send the service books for the BlackBerry Internet Service
    Please wait for "Activation" Messages, one per already configured email account, to arrive in your Messages. If you have no already configured email accounts, please wait 1 hour.
    3) Batt Pull Reboot
    With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes. See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure.
    I suggest that you clear the AppWorld application cache:
    1. Open App World
    2. Go to My World
    3. Follow one (and only one!) of these steps:
    3a. For keyboard-based BB's -- Hold down the ALT key and then press, in sequence R, then S, then T
    3b. For Touch Screen Only BBs -- Hold the num-lock (!?123) button so it locks and then press, in sequence 3, then 4, then (
    3c. For newer (e,g., OS6 and 7) BB's, see this KB:
    KB24714 How to clear the BlackBerry App World cache
    4. AppWorld should close.
    5. If your BB locks after issuing the cache clear, perform a battery pull reboot
    6. Return to AppWorld/MyWorld (it may be sluggish while it re-synchronizes).
    If step (4) does not happen as listed, then the clear cache did not work.
    128268 wrote:
     'error 'net.rim.device.api.ui.container.GridFieldManager not found'.
    Given that, it's possible that the OS loading did not go well (for one reason or another). Consequently, you might want to do it again.
    At the top of each device forum, there should be some "sticky" threads that discuss the OS levels available for many models. If they include your model, then please use those as reference as you proceed. Otherwise, you will have to dig through the official download portal for OS packages for your model:
    http://us.blackberry.com/support/downloads/download_sites.jsp
    From a PC, you can install any compatible (e.g., for your exact BB Model Number) OS package to a BB via this procedure:
    http://supportforums.blackberry.com/t5/BlackBerry-Device-Software/How-To-Reload-Your-Operating-Syste...
    Note that while written for "reload" and the Storm, it can be used to upgrade, downgrade, or reload any BB device model -- it all depends on the OS package you download and install to your PC. If that OS package is from a carrier other than the carrier for which your BB was originally manufactured, then delete, on your PC, all copies of VENDOR.XML...there will be at least one, and perhaps 2, and they will be located in or similarly to (it changes based on your Windows version) these folders:
    C:\Program Files (x86)\Common Files\Research In Motion\AppLoader
    C:\Users\(your Windows UserName)\AppData\Roaming\Research In Motion\BlackBerry\Loader XML
    Be sure that you remove, from your PC, any other BB device OS packages as having more than one installed to the PC can cause conflicts with this procedure.
    You may also want to investigate the use of BBSAK (bbsak.org) to perform the wipe it is capable of.
    You may also want to try this procedure to perhaps narrow down the precise causal item:
    Load your OS "bare bones"...if anything is optional, do not install it.
    If the behavior presents immediately, then try a different OS with step 1
    If the behavior does not immediately present, then run for as long as it takes for you to be sure that the behavior will not present.
    Add one thing -- no matter how tempting, just one.
    If the behavior does not present immediately, then again run for long enough to be sure it will not have the same problem
    Repeat steps 4 and 5 until all things are loaded or the behavior presents
    When the behavior presents, you know the culprit...the last thing you loaded.
    If the behavior does not re-present, then you know that either step 1 or 2 cured it.
    If the behavior presents no matter what, then you likely have a hardware level issue for which no amount of OS or software can cure.
    If you are on MAC, you are limited to only your carriers sanctioned OS packages...but can still use any levels that they currently sanction. See this procedure:
    KB19915How to perform a clean reload of BlackBerry smartphone application software using BlackBerry Desktop Software
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Buttons don't work on Tecra M7 after Vista Upgrade

    I know this one has been discussed many times, apologize and need to raise it again as my two function keys on my Tecra do not work post Vista Ultimate Upgrade.
    If I press either of them right now they launch Windows Mobility Centre. I know this is not what should happen. They did work briefly last year after my machine came back from Toshiba repair. They had run some kind of utility that restored the functions (I had to drop back to XP Tablet as a I had a CD ROM issue that we thought was Vista related and turned out to be hardware failure), alas, I have not gone back to Vista and they don't work.
    I installed all of the Vista updates in the order they are shown on the web site. I since saw the suggested order for loading the Vista drivers. A suggestion to Toshiba - it would be REALLY useful if you produced an updated upgrade guide for Vista with a step by step guide detailing the order that the updates should be run.
    Anyone out there who can help - I would be really grateful for your feedback.

    I managed to resolve this by modifying items in the Toshiba Value Added Package. I had to tick a box for button support that had not been added. If anybody else experiences this difficutly I hope this helps.

  • Bookmarks don't work if your bookmark is in a folder, it just doesn't open the folder which has the bookmarks in, though the bookmarks can be accessed through the bookmark manager. Sup?

    Bookmark folders don't work, and I can't click the give feedback button, fresh install of FF.

    I do and I can't add folders or bookmarks.. And it's pretty hard to set a default theme when I have nothing in addons, extensions, appearance, plugins.
    The problem seems to appear(bookmark problem) when I click a folder for the first time, it works perfectly but then when I move my cursor to other folder or just open a new one, it bugs.
    Ok, even though you said don't select anything else right now, I selected the disable all addons and now it works perfectly, so when the Firefox 4 Beta 7 was installed it enabled all addons even the ones that aren't compatible with it and that is why I got the problem, maybe change that feature off in the .exe package?

  • HT201412 My i Pad 3 shows "cannot Access Find My Friends open the app and review your sign in information to continue sharing your location. And I have two buttons : Later and Open but they don't work, As long as I have this situation I can do nothing on

    My i Pad 3 shows "cannot Access Find My Friends open the app and review your sign in information to continue sharing your location. And I have two buttons : Later and Open but they don't work. As long as I have this screen situation, I cann't do anything on my I Pad. Please help !!

    I have the same problem on my iPhone4. It is obviously a bug in the software. Once it pops out I am locked out of my phone. I can't even begin to describe the frustration this causes. All that stuff about holding down the buttons is useless. the phone won't even shut off. I can take a screen shot like that or go to voice control. Even when I got to a wifi connection, I can't get on. This app blocks everything else. This is a serious bug and can have serious consequences. The only thing my phone would do is go to voice control and let me play iTunes or phone people. Some smart phone hey?
    I have finally got to a place with a wide enough wifi to connect my computer and restore the phone. This has lasted over a day!
    I don't even know why Find My Friends is on my phone. Is it part of the package and how do I turn it off?

  • Occasionally when filling in forms in Safari 5.1.2 certain keys on the keyboard don"t work.  When I use the coma it opens up another tab.

    Occasionally when filling in forms in Safari 5.1.2 certain keys on the keyboard don"t work.  When I use the coma it opens up another tab. I've used other browsers to fill in the forms and they work fine so my keyboard is OK.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of this exercise is to determine whether the problem is localized to your user account, or is system-wide. Enable guest logins and log in as Guest. For instructions, launch the System Preferences application, select “Help” from the menu bar, and enter “Set up a guest account” (without the quotes) in the search box.
    While logged in as Guest, you won’t have access to any of your personal files or settings. Any application you run will behave as if you were running it for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    As Guest, launch the application(s) and test. Same problem(s)?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.

  • Mplayer and xine don't work

    I cannot say much. I've tested it with Mplayer and xine but both don't work. I want to use Mplayer so I'll speak only from mplayer.
    When I start Mplayer and go to DVD - Open Disc this error appears -> "Cannot open the IFO file for DVD title1"
    I don't know what I should do. I have the following packages installed on my machine mplayer 1.0pre5-5, libdvdcss 1.2.8-1, libdvdread 0.9.4-2 everything from pacman.
    I couldn't say more so I hope anybody know something.

    No my dvd is not mounted when try to run the dvd.
    Mplayer is pointing to /dev/dvd as normal and I made the right entries for generating /dev/dvd in /etc/devfsd.conf
    I only have /mnt/dvd cause I only have one Multi DVD drive which supports all. I think I should mention that it's a Laptop.
    I'll post the entries from devfsd.conf which counts to the possible failure generators.
    # CD-Rom Permissions for burningREGISTER
    ^ide/host0/bus1/target0/lun0/cd PERMISSIONS root.cdrom 666
    # Create /dev/dvd
    LOOKUP ^dvd$ CFUNCTION GLOBAL mksymlink ${mntpnt}/cdroms/cdrom0 dvd
    REGISTER ^cdroms/cdrom0$ CFUNCTION GLOBAL mksymlink ${devpath} dvd
    UNREGISTER ^cdroms/cdrom0$ CFUNCTION GLOBAL unlink dvd
    I suppose that it has to do with the packages from pacman. Eventually they are not compiled with the proper options to mplayer or something like that stuff. So if anyone has dvd playback running under the same packages as I, plz reply.

  • Thinkpad Yoga 13 keyboard and mousepad don't work

    Hello people! 
    Last time I went  to US, I've bought this machine from Amazon: Lenovo ThinkPad Yoga Signature Edition - 12.5" 2-in-1 Touchscreen Notebook PC - Intel i5 Haswell / 8GB RAM / 128GB SSD / WiFi / Webcam / Windows 8.1 - Black
    I love it! At least until two weeks ago... after a windows/lenovo update things starts to be really hard.
    My keyboard and mousepad simple don't work anymore, totally unresponsive. If I hit "del" to access the bios, the keyboard does work, after that, when windows is loading and fully loaded, I've got only the "tablet" mode. 
    The only thing that works correctly is the touchscreen, as it only recognize itself as a tablet, not as a ultrabook. The screen also rotates automatacly when windows is fully loaded, so I have to use the tent mode with an external usb keyboard/mouse or type in the screen keyboard...
    I leave in Brazil, got in contact with lenovo suport team here, after a lot of procedures, that didn't solve the problem, they told me to get in contact with lenovo US and ask for an original dvd recovery.
    Is there anyone with a different approach to solve this problem?

    First try SMC and PRAM resets:
    support.apple.com/kb/ht3964
    http://support.apple.com/kb/ht1379
    If no success, make an appointment at an Apple store genius bar for a free diagnosis.
    Ciao.

Maybe you are looking for

  • TS1501 How to transfer movies from my Apple Mac to my ipad.?

    How to transfer movies from my Apple Mac to my ipad.?

  • Dynamic Filter Display in Report Designer

    Hi All, We have implemented a new BI reporting tool and are using Report Designer for the output format. The problem is that we cannot see any dynamic filters or navigational level when printing as RD takes it back to the original format. To overcome

  • Content type and SJSAS 8.1: how is it handled after all?

    Hi, I'm having a weird error while downloading certificate files from our SJSAS 8.1. For some files it sets the Content-Type, for others it does not. The GET request and its headers are always the same, but sometimes the response comes with a content

  • Error when connecting via ODBC connections

    Alright, so.... I have a Windows 7, 64 bit OS.  I installed Oracle 10g, I installed Crystal Reports Xi release 2. Via ODBC Administrator, I set up my data sources, and they all connect successfully. I go into Crystal Reports, create a new report, and

  • Unable to connect to SOAPServer within Jdeveloper9i

    Hi. I want to create a connection to the SOAP server within Jdeveloper9i? Following eror on the create connection wizard... Please email me at [email protected] r reply here thanx. Testing connection... [SOAPException: faultCode=SOAP-ENV:IOException;