Hello,
I am using the following code in ODI procedure
import os
scen='#V_GET_SCEN'
scen_name=scen[5:-7]
scen_ver=scen[-7:-4]
file_name='C:/ODI_SCEN_DMP/#V_GET_SCEN'
odiscen="C:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\agent\bin\startcmd.bat OdiExportScen -SCEN_NAME="+scen_name+" -SCEN_VERSION="+scen_ver+" -FILE_NAME="+file_name
if os.system(odiscen) <> 0:
raise odiscen
When I execute the procedure I am getting the error
org.apache.bsf.BSFException: exception from Jython:
SyntaxError: ("mismatched input '' expecting EOF", ('<string>', 2, 1, "\tscen='SCEN_AGENCY_SITE_LISTING001.XML'\n"))
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:322)
...
at java.lang.Thread.run(Thread.java:662)
Caused by: SyntaxError: ("mismatched input '' expecting EOF", ('<string>', 2, 1, "\tscen='SCEN_AGENCY_SITE_LISTING001.XML'\n"))
at org.python.core.PyException.fillInStackTrace(PyException.java:70)
at java.lang.Throwable.<init>(Throwable.java:181)
at java.lang.Exception.<init>(Exception.java:29)
... 1 more
Could you please anyone can help on this error.
Thanks,