3 Replies Latest reply on Apr 1, 2016 2:14 PM by HimanshuP

    OS command returned 7

    HimanshuP

      Hi,

       

      I am facing below error while executing my step.

      com.sunopsis.dwg.function.SnpsFunctionBaseException: ODI-30038: OS command returned 7.

        at com.sunopsis.dwg.tools.OSCommand.actionExecute(OSCommand.java:294)

        at com.sunopsis.dwg.function.SnpsFunctionBase.execute(SnpsFunctionBase.java:276)

        at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execIntegratedFunction(SnpSessTaskSql.java:3450)

        at com.sunopsis.dwg.dbobj.SnpSessTaskSql.executeOdiCommand(SnpSessTaskSql.java:1511)

        at oracle.odi.runtime.agent.execution.cmd.OdiCommandExecutor.execute(OdiCommandExecutor.java:44)

        at oracle.odi.runtime.agent.execution.cmd.OdiCommandExecutor.execute(OdiCommandExecutor.java:1)

        at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)

        at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2926)

        at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2638)

        at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)

        at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)

        at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2078)

        at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1874)

        at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$2.doAction(StartScenRequestProcessor.java:581)

        at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)

        at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor.doProcessStartScenTask(StartScenRequestProcessor.java:514)

        at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$StartScenTask.doExecute(StartScenRequestProcessor.java:1076)

        at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)

        at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:85)

        at java.lang.Thread.run(Thread.java:744)

       

      Code :

      OdiOSCommand "-ERR_FILE=#PCODE.V_LOCAL_DIR/error.log" "-FILE_APPEND=YES" "-WORKING_DIR=#PCODE.V_LOCAL_DIR" "-SYNCHRONOUS=YES"

      #PCODE.V_LOCAL_DIR/OdiFtpPut.sh -HOST #PCODE.V_HOST -USER #PCODE.V_USER -PASSWORD '#PCODE.V_PASSWORD' -LOCAL_DIR #PCODE.V_LOCAL_DIR -LOCAL_FILE #PCODE.V_Filename -REMOTE_FILE #PCODE.V_FileDone -PASSIVE_MODE YES

       

      Could someone help.

       

      Thanks