External Task not working from job

Hi,
I am trying to call a batch file which copied fdr files from one folder to another and runs sarmanalyzer to generate csv files in the edq landing area.
The batch file is working fine when called from command prompt or double clicked in the edq server, but does not work as expected when called from project or job.
I generated a log file which confirms that the log file is being executed by the job to the last line, but the file copying and sarmanalyzer commands simply do not work.
Any pointers are greatly appreciated.
Thanks,
Sid

Hi Nick,
Thanks for help!
My bat file runs without any errors from external tasks in EDQ.
The account has full control on all the shared folders i am using.
My script:
    set ss_temp_dir=D:\Datanomic\dnDirector\config\landingarea\EDQ_Notification
echo s1 > log.txt
    set srm_analyzer_path=\\<appsrvr4>\d$\sba81\siebsrvr\BIN
echo s2 >>log.txt
COPY /Y \\<appsrvr1>\d$\sba81\siebsrvr\BIN\*.fdr \\qssdvucmgtw301\siebfile\FDR
COPY /Y \\<appsrvr2>\d$\sba81\siebsrvr\BIN\*.fdr \\qssdvucmgtw301\siebfile\FDR
COPY /Y \\<appsrvr3>\d$\sba81\siebsrvr\BIN\*.fdr \\qssdvucmgtw301\siebfile\FDR
:: The above copy is not working from EDQ - no files copied - running the commands from cmd or double clicking the bat works fine for all commands.
echo s3 >>log.txt
::  log s1-s2-s3 created in commandarea.
setLocal DisableDelayedExpansion
pushd  \\<sharedloc>\siebfile\FDR\
setLocal EnableDelayedExpansion
echo s4 >>log.txt
for /f "tokens=* delims= " %%G in ('dir/b/od T*.fdr') do (set newest=%%G)
echo s5 >>log.txt
copy %newest% %ss_temp_dir%
echo s6 >>log.txt
:: log s4-s5-s6 created in   \\<sharedloc>\siebfile\FDR\
  pushd %ss_temp_dir%
echo s7 >>log.txt
  for %%F in (%ss_temp_dir%\*.fdr) do (
     ::set outfile=%ss_temp_dir%\%%~nF.csv &&
  %srm_analyzer_path%\sarmanalyzer.exe -o %ss_temp_dir%\Snapshot_Working_CSV.csv -x -f %%F
:: The above saqrm_analyzer is not working from EDQ - no files copied - running the commands from cmd or double clicking the bat works fine for all commands.
echo s8 >>log.txt
MOVE /Y %ss_temp_dir%\*.fdr %ss_temp_dir%\BU\
echo s9 >>log.txt
:: The above move is not working from EDQ - no files copied - running the commands from cmd or double clicking the bat works fine for all commands.
::Log s7-s8-s9 created in %ss_temp_dir%
Thanks,
Sid

Similar Messages

  • JDBC connection to external database not working from EP 6 SP2.

    We have Enetrprise Portal 6 Service Pack 2 installed. We are planning to install business content which gets the data from external database using JDBC driver.
    We are using standard JDBC driver, which comes with the Portal EP 6 SP2. Name of the class is com.sap.portals.jdbc.oracle.OracleDriver. 
    We defined the system as JDBC system. Alias is defined. When we try to run, we are getting following error on the server.
    <u>
    java.sql.SQLException: ID004110: Error occurred while trying to connect to DB: java.sql.SQLException: [SAP_Portals][SQLServer JDBC Driver]Error establishing socket. Operation timed out: connect
         at com.inqmy.services.dbpool.ConnectionPoolDataSourceImpl.getPooledConnection(ConnectionPoolDataSourceImpl.java:151)
         at com.inqmy.services.dbpool.ConnectionStorage.getPhysicalConnection(ConnectionStorage.java:342)
         at com.inqmy.services.dbpool.ConnectionStorage.getWriteLockConnection(ConnectionStorage.java:405)
         at com.inqmy.services.dbpool.QConnection.beforeOperation(QConnection.java:44)
         at com.inqmy.services.dbpool.XAQConnection.beforeOperation(XAQConnection.java:112)
         at com.inqmy.services.dbpool.XAQConnection.getAutoCommit(XAQConnection.java:139)
         at com.sap.security.core.persistence.datasource.imp.J2EEConnectionPool.getConnection(J2EEConnectionPool.java:194)
         at com.sap.security.core.persistence.datasource.imp.DataBasePersistence.doSearch(DataBasePersistence.java:3318)
         at com.sap.security.core.persistence.datasource.imp.DataBasePersistence.searchPrincipalDatabags(DataBasePersistence.java:2298)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.searchPrincipalDatabagsInternal(PrincipalDatabagFactory.java:3742)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.searchPrincipalDatabags(PrincipalDatabagFactory.java:3275)
         at com.sap.security.core.imp.PrincipalFactory.searchPrincipals(PrincipalFactory.java:1323)
         at com.sapportals.portal.license.LiKeyPersistence.getPersistenceObject(LiKeyPersistence.java:59)
         at com.sapportals.portal.license.LiKeyPersistence.getKey(LiKeyPersistence.java:119)
         at com.sap.security.core.server.likey.LicenseChecker.getValidityDate(LicenseChecker.java:666)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.sapportals.portal.prt.service.license.WAS620.LicenseChecker620.getValidityDate(LicenseChecker620.java:65)
         at com.sapportals.portal.prt.service.license.LicenseService.doTheCheck(LicenseService.java:483)
         at com.sapportals.portal.prt.service.license.LT.run(LT.java:43)
    </u>
    I appreciate any help.

    Please ignore the error mentioned in the original message. Actual error is as follows.
    <u>
    Component class : com.pacificorp.sap.portal.vantive.view.VantiveMetrics
    User : P04233
         at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:858)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:310)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:209)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:576)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:669)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:208)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:832)
         at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:666)
         at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:313)
         at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
         at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1288)
         at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
         at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
         at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
    Caused by: java.lang.NoSuchMethodError
         at com.pacificorp.sap.portal.vantive.model.JDBCVantiveModel.getDatabaseConnection(JDBCVantiveModel.java:601)
         at com.pacificorp.sap.portal.vantive.model.JDBCVantiveModel.loadMetricsSummary(JDBCVantiveModel.java:59)
         at com.pacificorp.sap.portal.vantive.helper.VantiveMetricsHelper.loadMetricsSummary(VantiveMetricsHelper.java:30)
         at com.pacificorp.sap.portal.vantive.view.VantiveMetrics$ContentDynPage.doProcessBeforeOutput(VantiveMetrics.java:129)
         at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:106)
         at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:135)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:209)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:576)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:300)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:190)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:669)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:208)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:832)
         at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:666)
         at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:313)
         at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
         at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1288)
         at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
         at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
         at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
    </u>

  • Some attachment buttons not working from external networks

    Hi guys,
    We have an eSourcing system that we access internally from server.internal.com . We also make this eSourcing system available to external vendors through www.external.com .
    The external access is done using a Citrix AGEE system (reverse proxy, etc.). As part of this, the AGEE has the ability to change the hostname in the URL so the real server is hidden from external vendors. For example, when eSourcing generates a webpage, the AGEE searches through and replaces all http://server.internal.com references to http://www.external.com , and vice-versa for incoming calls.
    This works for about 95% of the content, but there are a fer places where the links are not re-written correctly. One example is the File Attachment buttons when replying to a question. However, other file attachment buttons work correctly.
    1. Does anyone else have a similar situation, using a Citrix or other product for external vendors?
    2. Does anyone have a similar problem where certain links/buttons are not working from external networks?
    3. Does anyone have any suggestions as to how to fix this problem?
    4. Are there any settings that are specific to external access that may need to be set?
    Thanks guys for any help/insight.
    Michael.

    SAP has re-written some of their code to help rectify the problem. We have also been working with Citrix to provide additional fixes. If anyone else has these problems, apply the latest patch of eSourcing and contact Citrix support to get the AGEE changes needed to make it work.
    Michael

  • File- Print not working from SQL Developer 1.2.1 Build MAIN-32.13

    File->Print not working from SQL Developer 1.2.1 Build MAIN-32.13.
    I downloaded sqldeveloper-1.2.1.3213.ZIP and extract to a local directory. From the extracted directory I ran ..\sqldeveloper\sqldeveloper.exe from Windows XP sp2. The program itself seems to run just fine but File-Print doesn't do anything. In Help-About, Java Platform is reported as 1.5.0_06 and Oracle IDE is 1.2.1.3213. I'm not sure where to look for what is causing the problem.
    Thanks

    I hadn't tried CTRL-P before but I did today. On the first attempt, I saw a small jump in the memory usage for sqldeveloper.exe as reported in Windows Task Manager. Otherwise, there was no change. A second CTRL-P in the same session produced a further bump but subsequent attempts in the same session produced no further change in CPU or Memory Usage.
    Using Task Manager to monitor this further, I tried File->Print again and saw that sqldeveloper would periodically climb to 1 or 2 percent CPU and consume a little more memory. After a minute or so, though, all activity stops again.
    I do not get a print dialog box from SQLDeveloper using either CTRL-P or File->Print

  • Dashboard link is not working from BI Publisher

    Dashboard link is not working from BI Publisher. Please let me know How to fix this problem.

    Please somebody guide me.
    Dashboard link is working fine from the Apps Server Machine. But the link is not working from other machines. Do I need to setup machine.domain:<port_number> any where.
    Thanks,
    Vara

  • My mail is not working from my ipod i looked it up it says it trouble shooting but its not giving me anything to fix it can someone help me?

    My mail is not working from my iPod touch. I looked it up and it says it trouble shooting? But they are not giving me anything to fix it. I restored my iPod touch to see if that worked and it didnt. Can anyone help me?

    Can you access the account from another device?
    Without you telling use the email provider and type of account we can't really help you.

  • HP Pavilion dv6-6181TX. System Recovery is not working From HP Recovery Manager.

    HP Pavilion dv6-6181TX
    Product No. A3U49PA
    Genuine Windows 7 Home Premium 64
    (but i upgraded it to windows 7 ultimate)
    System Recovery is not working From HP Recovery Manager. so i cant restore my laptop to its original factory condition. (Genuine Windows 7 Home Premium).
    so when i restart my computer and press Esc and then choose F11 i get this message :
    "Windows failed to start. A recent hardware or software change might be the
    cause. To fix the problem:
    1. Insert your Windows installation disc and restart your computer.
    2. Choose your language settings, and then click "Next."
    3. Click "Repair your computer."
    If you do not have this disc, contact your system administrator or computer
    manufacturer for assistance.
    File: \Boot\BCD
    Status: 0xc0000225
    Info: An error occured while attempting to read the boot configuration data."
    i saw this from the forum
    http://h30434.www3.hp.com/t5/Notebook-Recovery/Hp-recovery-manager-problems/m-p/2395473/highlight/tr...
    Had the C partition been split/shrunk to form a new partition previously?
    Does disk management show the HDD as basic or dynamic? (Start>Right-click Computer>Manage>disk management on the left).
    If it has been switched to dynamic (Windows does this automatically when more than 4 partitions are present on the disk), then the F11 recovery partition won't function until it is restored to basic, but I would like to confirm that is the scenario before providing those steps.
    The Disk management shows that my HDD as Dynamic, what should i do then if this is the case and the possible solution to my problem?
    please help me & Thank you for your time,
    This question was solved.
    View Solution.

    If you have more than 4 partitions you will need to delete the extra partition/partitions, then convert the hdd back to Basic.
    Older versions of Partiton Wizard Free work: 
    http://www.sevenforums.com/tutorials/26829-convert-dynamic-disk-basic-disk.html
    ******Clicking the Thumbs-Up button is a way to say -Thanks!.******
    **Click Accept as Solution on a Reply that solves your issue to help others**

  • The file to download the app for Android is not working from my phone--it says that the file isn't there. However it does see the one for the Iphone (even though it can't use it). I'm very computer literate and am pretty sure the problem is on your end.

    The file to download the app for Android is not working from my phone--it says that the file isn't there. However it does see the one for the Iphone (even though it can't use it). I've tried it multiple times and continue to get the same message: "NOT FOUND The requested item could not be found". I also tried through the Market application on the phone but ended-up with the same result.
    I'm very computer literate and am pretty sure the problem is on your end. If this is the case then no one can download the app. I considered that perhaps because it's still in Beta that it was removed due to some other type of software issue. I would really like to use Firefox on my new Droid (2.0); when with this be available?

    Firefox will not appear in the Market for most phones with incompatible hardware. You can check if your phone is supported here:
    https://wiki.mozilla.org/Mobile/Platforms/Android
    Even on some supported devices, a bug in the Market software prevents Firefox from showing up. This may be related to the fairly recent Android Market app update. If you go to Settings/Applications/Market and choose "Uninstall" you can uninstall the update, and then search for and install Firefox from the marketplace.
    Or, if you have a supported phone, you can download the app directly by typing this address into your phone's browser: http://bit.ly/fxbeta3
    (Note: To download the app directly for an AT&T phone, you will have to search for instructions on "sideloading" the APK file, since AT&T disables the option to install from non-Market sources.)

  • My macbook pro external speaker not working! help please

    My macbook pro external speaker not working! help please

    1. Applications > Utilities > Audio MIDI Setup
        Audio Devices window
         Pllug in the speakers.
         Do they show up?
         Make sure that Mute is not enabled.
    2. Reset SMC.     http://support.apple.com/kb/HT3964
        Choose the method for:
        "Resetting SMC on portables with a battery you should not remove on your own".
    Best.

  • In 5s, personal hot spot does not work from time to time. Not detected

    In 5s, personal hot spot does not work from time to time. Iphone does not get detected on Wi-fi or bluetooth. Restarting or rebooting does not help.  

    Settings, general, reset and reset network settings. Clear out your network settings and set personal hotspot again.
    also avoid special characters making a password. hashtags or open brackets for example doesn't work too good.

  • File sharing is not working from pc to imac os x 10.9.2

    file sharing is not working from pc to imac os x 10.9.2

    Hello there Karen,
    It sounds like you are having to power cycle your modem to get internet back every single day. We can start by troubleshooting your Airport Express to help isolate the issue. I would first perform a Soft Reset, then test the issue again. If needed as a last resort I would then perform a Hard Reset:
    Soft reset
    Connect the device to power and wait for it to complete its start up process. To learn more about the start up process, please see All about Wi-Fi base station Status Lights (LED).
    Press and hold the reset button with a pen, pencil, or straightened paperclip for 1 full second, then release it. The light (LED) will begin flashing amber, indicating that the device is in soft reset mode.
    From the AirPort menu bar item, choose the network created by the device (the network name does not change).
    Open AirPort Utility from Applications > Utilities.
    Select the base station, then click Edit (The Edit window will indicate that the base station is in Soft Reset mode).
    Move through the tabs to make changes to your passwords or other settings as needed, and click Update and Continue as required
    Quit AirPort Utility.
    Hard reset
    Press and hold the reset button with a pen, pencil, or straightened paperclip until you see the status light (LED) start to flash amber rapidly, which should occur after about five seconds.
    Release the button and the device will reset.
    Wait about a minute for the base station to finish restarting, then open AirPort Utility from Applications > Utilities.
    Select the base station from Other Wi-Fi Devices, then click Edit.
    Select the Other Options button.
    Select "Restore previous settings" and click Next until you get to the final window.
    AirPort Utility will indicate that Setup is complete. Click Done.
    Quit AirPort Utility.
    Resetting an AirPort base station FAQ
    http://support.apple.com/kb/ht3728
    Thank you for using Apple Support Communities.
    Cheers,
    Sterling

  • Asm link not working from kolkata

    hi
    http://www.oracle.com/technology/tech/linux/asmlib/install.html
    this link is not working from india / kolkata.
    what to do?

    javadev991 wrote:
    Now working.
    What?
    Just cross check certain things
    - The servlet you specified in Form Action is correct
    - The Form Method must be POST not GET
    - The query string param you are specifying in URL which is classifiedsearchtype, You are trying to get the same param in the servlet. It is case sensitive.

  • My iPhoto dose not work from 0:00 Sunday. I was deleting and downloaded again but dosn't work! Why?

    My iPhoto '11 dose not work from 0:00 Sunday. I was deleting and downloaded againg but the problem is same.

    Sorry but we need more to go on thatn it does not work
    what happens? what does not happen? what error messages to you get? if it crashes post the first 50 lines of the carash report
    LN

  • Hey mine avg link scanner is not working from the day i installed firefox 4 ....how to fix it plz help ?

    hey mine avg link scanner(add-on) is not working from the day i installed firefox 4 ....how to fix it plz help ?
    it was working fine with firefox's previous version ? but i like the interface & looks of firefox 4.......so i didnt want to swicth to 3.6 help me ?

    if i reinstall that avg antivirus then is this will fix my problem

  • Recently Iam purchased a Iphone from U.S, but iam residing in India, so can any body tell me in india how can i get support as my phone charger is not working from where in india i can replace i

    Recently Iam purchased a Iphone from U.S, but iam residing in India, so can any body tell me in india how can i get support as my phone charger is not working from where in india i can replace it

    gosharma wrote:
    What if we have Applecare? Applecare is worldwide. Isnt it?
    Not on an iPhone.

Maybe you are looking for