ODI 12c OdiOSCommand Returns "ODI-30038: OS command returned 1" and "UNC paths are not supported" Error When Using UNC Working Path

(Doc ID 2395762.1)

Last updated on MAY 17, 2018

Applies to:

Oracle Data Integrator - Version and later
Information in this document applies to any platform.


When attempting to use the OdiOSCommand tool from an Oracle Data Integrator (ODI) 12c Agent running on Windows, with a (Universal Naming Convention) UNC working path specified, the following error is returned:

com.sunopsis.dwg.function.SnpsFunctionBaseException: ODI-30038: OS command returned 1. Error details are ['\\WIN2012R2STD\workingdir'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported.  Defaulting to Windows directory.
File Not Found
   at com.sunopsis.dwg.tools.OSCommand.actionExecute(OSCommand.java:535)
   at com.sunopsis.dwg.function.SnpsFunctionBaseRepositoryConnected.execute(SnpsFunctionBaseRepositoryConnected.java:235)
   at oracle.odi.runtime.agent.execution.SessionTask.execIntegratedFunction(SessionTask.java:902)
   at oracle.odi.runtime.agent.execution.SessionTask.executeOdiCommand(SessionTask.java:583)
   at oracle.odi.runtime.agent.execution.cmd.OdiCommandExecutor.execute(OdiCommandExecutor.java:32)
   at oracle.odi.runtime.agent.execution.cmd.OdiCommandExecutor.execute(OdiCommandExecutor.java:18)

It is expected that the command with that working path would work on the Agent running on the Windows operating system.




Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms