My Oracle Support Banner

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 MARCH 24, 2021

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 ['\\<MACHINE_NAME>\<PATH>'
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.function.SnpsFunctionBaseRepositoryConnected.execute(
   at oracle.odi.runtime.agent.execution.SessionTask.execIntegratedFunction(
   at oracle.odi.runtime.agent.execution.SessionTask.executeOdiCommand(
   at oracle.odi.runtime.agent.execution.cmd.OdiCommandExecutor.execute(
   at oracle.odi.runtime.agent.execution.cmd.OdiCommandExecutor.execute(

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


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.