Cannot run the bcp_extract.bat  file OMWB created

Hello Everyone,
I am working on transferring data offline using the OMWB.
In OMWB ORACLE Model pane, i selected a user schema object, a table, and i chose Object<Generate SQL*Loader script.
Now that i was able to find my bcp_extract.bat file, i copied the contents of the directory where OMWB generated the data unload scripts onto the computer that my source database, SQL SERVER 7, is installed.
Per OMWB documentation, I modified the bcp_extract.bat file to include the source database Server Name. And I did remove the angle brackets as well. I double clicked the bcp_extract.bat file and a command window poped up and went down immediately. No data file was generated nor anything was added to the sql_load_script.bat file in the Oracle directory that was creatd by the Generate SQL*Loader Scripts.
Is there any other information that i need to modify/add in order to be able to run the bcp_extract.bat file. In fact, i thought about adding the password after -P switch and see if i can run the file, but after adding the password i still could not get the bcp_extract.bat file running.
I appreciate if someone can help me out to get the bcp_extract.bat file running.
Thank you so much!
Mitra

Hello Everyone,
I am working on transferring data offline using the OMWB.
In OMWB ORACLE Model pane, i selected a user schema object, a table, and i chose Object<Generate SQL*Loader script.
Now that i was able to find my bcp_extract.bat file, i copied the contents of the directory where OMWB generated the data unload scripts onto the computer that my source database, SQL SERVER 7, is installed.
Per OMWB documentation, I modified the bcp_extract.bat file to include the source database Server Name. And I did remove the angle brackets as well. I double clicked the bcp_extract.bat file and a command window poped up and went down immediately. No data file was generated nor anything was added to the sql_load_script.bat file in the Oracle directory that was creatd by the Generate SQL*Loader Scripts.
Is there any other information that i need to modify/add in order to be able to run the bcp_extract.bat file. In fact, i thought about adding the password after -P switch and see if i can run the file, but after adding the password i still could not get the bcp_extract.bat file running.
I appreciate if someone can help me out to get the bcp_extract.bat file running.
Thank you so much!
Mitra

Similar Messages

  • Error when trying to run the rcu.bat file as part of OBIEE 11g installation

    when trying to run the rcu.bat file as part of OBIEE 11g installation on windows 7 64 bit I am getting the following error
    "windows cannot find C:\Users\manoj\Desktop\Oracle.Make sure you typed the name correctly, and then try again".
    Please help me how to overcome this error, I am not able to understand why it is looking for C:\Users\manoj\Desktop\Oracle.
    Thanks
    Manoj

    after setting the ORACLE_HOME and Path environment variables also....I am still getting the same error...so is it like RCU can be run only on windows 7 32-bit machines and it does not work on 64-bit machines? and also it seems like the previous versions of OBIEE 10.1.3.X does not support windows 7 64-bit machines...
    please help me finding a solution to this error....
    and what are all the versions of OBIEE can be installed on windows 7 64-bit machines?
    can't we install OBIEE 11g on windows 7 64-bit machines without including RCU?
    thanks
    Manoj
    Edited by: mkumar on Jun 2, 2011 3:47 AM

  • I have Macromedia Fireworks 3.0 and the install process doesn´t run! After the installation the message is: fireworks cannot run. the resource files are missing or damaged. I use Windows 8.1

    I have Macromedia Fireworks 3.0 and the install process doesn´t run! After the installation the message is: fireworks cannot run. the resource files are missing or damaged. I use Windows 8.1. Antworten auf Deutsch wären super!

    As far as I know there is no download resource for older Macromedia programs and it is highly unlikely that one as old as version 3 of Fireworks will be able to work on a Windows 8.1 system.  I was unable to get a Studio 8 version installation on a Vista system, and likely even an XP system (cannot remember that far back).

  • Cannot running the file suddenly

    i can run any file before, but i dont' know why i cannot run the file suddenly. i just running a simple file as follow:
    public class h {
    public static void main(String[] args) {
    // Display "Hello World!"
    System.out.println("Hello World!");
    i compile file successfully, but when i run the file , it display the following error:
    Excepting in thread "main" java.lang.NoClassDefFoundError: h

    bet your h.class file is not in classpath.

  • Error Happened at RFC Server Cannot Open the Job Batch File.

    We have BW 7.0  and Data services 12.1. We are scheduling a Infopackage in BW that triggers a job in Dataservices server.
    We had checked the connection between Dataservices source system in BW and RFC server on Dataservices side and these connections are good. on the 3rd party sellections tab in infopackage we specify the batch file name that we exported in Dataservices server. When we execute the infopackage we get the following error.
    Error Happened at RFC Server Cannot Open the Job Batch File.
    This error started occuring from yesterday and prior to that it was working fine. We are not understanding what changed in the system to cause this error.
    Can anyone suggest any solutions for the above issue.
    Thanks,
    Naveen.

    I'm not sure what the root cause would be here. Is the file still available ? Did file permissions change ? ...
    But I wanted to point your attention to the fact that in Data Services/Data Integrator XI 3.2 (=12.2) we significantly enhanced the integration with BW. In XI 3.2, the RFC server is now integrated into the Data Services Management Console (so no need to start as a seperate executable) and you can start jobs from BW by just specifting the job's name in the repo (no need anymore to export execution commands to .bat files). So if upgrading to XI 3.2 is an option, things should go much smoother.
    More details on the wiki  : http://wiki.sdn.sap.com/wiki/display/BOBJ/Loading+BW
    Thanks,
    Ben.

  • Retrieve the date a file was created in the background

    EDITED CONTENT----
    Apologies all...I just realized there is a specific forum for this type of question.  I will post it there.
    Thanks Marilyn for point this out>>>>should have read it first as suggested. 
    /message/2572763#2572763 [original link is broken]
    Hi guru's,
    I have a custom application that does some windows directory cleaning based an older than 'X' days setting.  I have to do some calculation to determine if the file being processed is older than that number of day and delete it if it is.  To determine the file created date I use the method DIRECTORY_LIST_FILES from CL_GUI_FRONTEND_SERVICES.  This works great in the foreground but dumps in the background because the handle object reference is not created in the class constructor and subsequently does a call to a "NULL" object.
    My question:
    Does anyone know of a way to get the date a file was created while running in the background?  If not, please read on --- I have another question regarding an alternate approach I am trying.
    I have tried the following approach FM EPS_GET_DIRECTORY_LISTING to return an internal table with all files in a directory.  Works fine in the background, but the created date is not in the return values.  Soooooo I looped at the internal table and called this system function:
            CALL 'C_FILE_ATTRIBUTES'
                ID 'NAME'     FIELD tempfile
                ID 'TYPE'     FIELD singleFile-
                ID 'LEN'      FIELD file-len
                ID 'OWNER'    FIELD file-owner
                ID 'MTIME'    FIELD file-mtime
                ID 'MODE'     FIELD file-mode
                ID 'ERRNO'    FIELD file-errno
                ID 'ERRMSG'   FIELD file-errmsg.
    This returns the MTime, which is the Modified time (in Epoch time format: number of seconds since Midnight 1 January 1970), but no created time.  Does anyone know the ID for the created time?  I tried CTIME but no value is returned. 
    Along with this question: any idea if a FM or Method exists to convert Epoch time to a standard time.  I could do the calculation myself....but it seems someone would have already done this.  No point in re-creating the wheel.
    Thanks so much,
    Quack
    Message was edited by:
            Ryan Quackenboss

    I will be happy to.
    Please post something to this thread. 
    Retrieve the date a file was created in the background
    I UNMARKED this question as a post and reposted in the data transfer forum.
    That post is still open.  Once you post there, I will mark it ANSWERED and award points.
    Thanks for the help
    Quack

  • Cannot run the macro 'YIELD'. The macro may not be available in this workbook or all macros may be disabled.

    Dear Sir,
              While i am calling Excel function through asp.net  using Excel 2003 i  was not facing any kind of issue it's working fine but while i am calling  Excel functions through asp.net using 
    Excel 2010  i am facing an issue even after enabling the micro in settings . issue is 
    "Cannot run the macro 'YIELD'. The macro may not be available in this workbook or all macros may be disabled." please solve this as soon as possible .
    Thanks & Regards
      Sanjeev

    // I made a singleton class and calling that class to access Excel functions
    Public Class Singleton
        Private Shared objexcel As Excel.Application
        Private Shared lock As New Object
        Private Sub New()
            System.Console.WriteLine("Instance of Singleton class created at : " & Now())
        End Sub
        Public Shared Function GetInstance() As Excel.Application
            SyncLock lock
                If objexcel Is Nothing Then
                    objexcel = New Excel.Application
                    objexcel.RegisterXLL(objexcel.LibraryPath & "\Analysis\ANALYS32.XLL")
                End If
                Return objexcel
            End SyncLock
        End Function
    End Class
    // Common Function for yield 
    Public Sub CalculateYield( _
               ByVal YTMDate As Date, ByVal FaceValue As Double, ByVal Rate As Double, _
               ByVal NonGovernmentFlag As Boolean, ByVal RateActualFlag As Boolean, _
               ByVal MaturityDate As Date, ByVal MaturityAmt As Double, _
               ByVal CouponDate As Date, ByVal CouponRate As Double, _
               ByVal CallDate As Date, ByVal CallAmt As Double, _
               ByVal PutDate As Date, ByVal PutAmt As Double, ByVal intFrequency As Int16, _
               ByVal strOption As String, ByVal dblResult As Double, ByVal strSemiAnnFlag As String)
            Try
                Dim decMarketValue As Double
                Dim intBasis As Int16
                decMarketValue = IIf(RateActualFlag = True, Rate * FaceValue / 100, Rate)
                decMarketValue = decMarketValue * 100 / FaceValue
                decMarketValue = objCommon.DecimalFormat(decMarketValue)
                MaturityAmt = MaturityAmt * 100 / FaceValue
                MaturityAmt = objCommon.DecimalFormat(MaturityAmt)
                CallAmt = CallAmt * 100 / FaceValue
                CallAmt = objCommon.DecimalFormat(CallAmt)
                PutAmt = PutAmt * 100 / FaceValue
                PutAmt = objCommon.DecimalFormat(PutAmt)
                intBasis = IIf(NonGovernmentFlag = True, 3, 4)
                If strOption = "Y" Then
                    With Singleton.GetInstance
                        If MaturityDate <> Date.MinValue And MaturityDate > YTMDate Then
                            dblYield = CType(Singleton.GetInstance.Run("YIELD", YTMDate, MaturityDate, CouponRate / 100, decMarketValue, MaturityAmt,
    intFrequency, intBasis), Double)
                            dblYTMAnn = CType(Singleton.GetInstance.Run("EFFECT", dblYield, intFrequency), Double)
                            dblYTMSemi = CType(Singleton.GetInstance.Run("NOMINAL", dblYTMAnn, 2), Double)
                            'End If
                            dblYTMAnn = dblYTMAnn * 100
                            dblYTMSemi = dblYTMSemi * 100
                        Else
                            dblYTMAnn = 0
                            dblYTMSemi = 0
                        End If
                        If CallDate <> Date.MinValue And CallDate > YTMDate Then
                            dblYield = CType(Singleton.GetInstance.Run("YIELD", YTMDate, MaturityDate, CouponRate / 100, decMarketValue, MaturityAmt,
    intFrequency, intBasis), Double)
                            dblYTCAnn = CType(Singleton.GetInstance.Run("EFFECT", dblYield, intFrequency), Double)
                            dblYTCSemi = CType(Singleton.GetInstance.Run("NOMINAL", dblYTMAnn, 2), Double)
                            'End If
                            dblYTCAnn = dblYTCAnn * 100
                            dblYTCSemi = dblYTCSemi * 100
                        Else
                            dblYTCAnn = 0
                            dblYTCSemi = 0
                        End If
                        If PutDate <> Date.MinValue And PutDate > YTMDate Then
                            dblYield = CType(Singleton.GetInstance.Run("YIELD", YTMDate, MaturityDate, CouponRate / 100, decMarketValue, MaturityAmt,
    intFrequency, intBasis), Double)
                            dblYTPAnn = CType(Singleton.GetInstance.Run("EFFECT", dblYield, intFrequency), Double)
                            dblYTPSemi = CType(Singleton.GetInstance.Run("NOMINAL", dblYTMAnn, 2), Double)
                            dblYTPAnn = dblYTPAnn * 100
                            dblYTPSemi = dblYTPSemi * 100
                        Else
                            dblYTPAnn = 0
                            dblYTPSemi = 0
                        End If
                    End With
                End If
            Catch ex As Exception
                Throw ex
            End Try
        End Sub
    // call  yield function
    GlobalFuns.CalculateYield(datYTM, decFaceValue, decRate, blnNonGovernment, blnRateActual, datMaturity, decMaturityAmt, _
                                   datCoupon, decCouponRate, datCall, decCallAmt, datPut, decPutAmt, Val(Hid_Frequency.Value
    & ""), "Y", 0, "")
    this code  is working in Excel 2003 but it's not working in Excel 2010
    //Error is
    Cannot run the macro 'YIELD'. The macro may not be available in this workbook or all macros may be disabled.

  • Itunes cannot run because some required files are missing...vista 64 bit OS

    I'm running on a Vista 64 bit HP computer, and I have been trying to download itunes for the past couple days and all it says is Itunes cannot run because some required files are missing please reinstall itunes...I have no idea what to do...i have looked around the forums for information and I guess I'm not the only one having issues using a 64 bit OS. Btw the 64 bit Itunes won't work either. It does the same exact thing...

    all it says is Itunes cannot run because some required files are missing please reinstall itunes
    I'd like to check for malware with that message, Nico. (With modern versions of iTunes, if files really were missing, iTunes would be much more likely to do a repair install of itself when you wen't to launch it, rather than returning the old-fashioned files-are-missing message.
    Download and install the free version of MalwareBytes AntiMalware. Update your MBAM definitions and run a full scan of the PC. (Takes about 2 hours on My Lenovo.)
    http://www.malwarebytes.org/mbam.php
    After the scan completes, find the log file for the scan, and paste the contents of the log into a reply here.

  • Adobe Reader 11.0.6 for Maverick cannot open the pdfs it has just created.

    Why will Adobe Reader 11.0.6 for Maverick cannot open the pdfs it has just created.

    Mac HD/Library/Internet Plug-ins
    Trash the AdobePDFViewer.plugin and AdobePDFViewerNPAPI.plugin files
    Mac HD/Applications
    Trash the Adobe Reader app
    [user]/Library/Preferences
    Trash the com.adobe.Reader.plist file
    To access the [user]/Library, hold the "Option" key and click "Go" from the FInder menu.
    Mac HD/Library/Application Support/Adobe
    Trash the Reader folder (the whole folder)
    Empty the Trash.
    Download the FULL installer here: http://get.adobe.com/reader/enterprise/
    Quit your browser and reinstall Reader.
    Launch it from the Applications folder and accept the license agreement.
    You should have no problems downloading PDFs with Safari.
    Unfortunately, ANY PDF that says it's damaged.... is. You'll have to trash them.

  • Error launching office client : Cannot run the macro 'RegisterEPMXIIFn'

    Error launching office client : Cannot run the macro 'RegisterEPMXIIFn'
    I've been receiving the above error since last week. I've adjusted the macro settings in excel and tried reinstalling the epm addin numerous times and up till now i haven't managed to get it resolved. Really need someone to help me on this. Whenever i check in excel, the epm add-in is already enabled. Please let me know how else can i get to resolve this.

    Dear Rudy,
    Indeed, could you please try the following suggestions:
    In the Internet Explorer, go to : Tools->Internet Options-> Security->Custom Level, in section “Download”, check if the option “Automatic prompting for file downloads“ is enabled
    In Excel, go to Excel Options-> Trust Center-> Trust Center Settings-> Macro Settings: check the
    options “Disable all macros except digitally signed macros” and "Trust access to the VBA project object model"
    Regards,
    Siwar

  • How to run the Main.kon file ?

    Hi
    I have Downloaded and Installed
    SAP Widget Foundation.
    I am trying to Create the HelloWorld Widget.
    I have Written the Main.kon file
    as described in the tutorial.
    But how to run the Main.kon file ?
    Regards
    Rajendra

    hi,
    check whether you have installed yahoo widget engine...
    Then right-click on the main.kon and choose run..
    thanks
    jaideep

  • My computer won't let me run the setup.exe file. I am an admin I've run as admin and I've downloaded many times. I just reformatted my computer and now it won't work.

    My computer won't let me run the setup.exe file. I am an admin I've run as admin and I've downloaded many times. I just reformatted my computer and now it won't work.

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased. http://support.apple.com/kb/ht1430http://support.apple.com/kb/ht1430
    If you can't update or restore your iOS device
    http://support.apple.com/kb/ht1808http://support.apple.com/kb/ht1808
     Cheers, Tom

  • Get these two error messages when I run the iTunes exe file:  Error 2 and Error 2 (Windows error 2).  Both say Apple Application Support is required.  Uninstalled and tried to install again several times.  Using Windows 7 64 bit on laptop.

    Trying to install iTunes on my Dell laptop with Windows 7 - 64 bit.  Get these two error messages when I run the iTunes exe file:  Error 2 and Error 2 (Windows error 2).  Both say Apple Application Support was not found.  Can anyone tell me why this is happening?

    See Troubleshooting issues with iTunes for Windows updates.
    tt2

  • Mac OS 10.9.4 cannot open the NEF/RAW files from the new Nikon D810 Camera

    I have a new Nikon D810 camera. My new iMac cannot open the NEF/RAW files from it...Anyone have any knowledge of this?

    If you will take the time to send Apple feedback, they will add RAW support - when I got my Canon, it wasn't supported either. I filed feedback and, two months, later, there was an update which included my camera model.
    http://www.apple.com/feedback/macosx.html

  • Struts Support: "Cannot  parse the struts configuration file" when using the Struts Portlet Wizard

    I'm currently trying to deploy the struts-example webapp from Struts 1.1 RC1 into
    Weblogic Portal 8.1 using the Struts Portlet wizard made available by the "JSR
    168 and Struts Support" patch.
    I select the struts module successfully "struts-example" and am prompted for the
    location of name mangled configuration file (i.e "struts-config.xml" for struts-example
    becomes "jpf-struts-config-struts-example.xml").
    As soon as I hit next, I am prompted with a dialog informing that me that [Workbench]
    "Cannot parse the struts configuration file."
    Given that this is a file supplied with the struts distro and that I can deploy
    the struts-example to Vanilla WLS 8.1 without problems I suspect this is a problem
    with my attempt to use the Struts Portlet.
    Can anyone please help?
    Thanks,
    --Andy Hull

    I'm currently trying to deploy the struts-example webapp from Struts 1.1 RC1 into
    Weblogic Portal 8.1 using the Struts Portlet wizard made available by the "JSR
    168 and Struts Support" patch.
    I select the struts module successfully "struts-example" and am prompted for the
    location of name mangled configuration file (i.e "struts-config.xml" for struts-example
    becomes "jpf-struts-config-struts-example.xml").
    As soon as I hit next, I am prompted with a dialog informing that me that [Workbench]
    "Cannot parse the struts configuration file."
    Given that this is a file supplied with the struts distro and that I can deploy
    the struts-example to Vanilla WLS 8.1 without problems I suspect this is a problem
    with my attempt to use the Struts Portlet.
    Can anyone please help?
    Thanks,
    --Andy Hull

Maybe you are looking for