Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ODI Job not ending

WAQ28Jan 2 2017 — edited Jan 11 2017

Hi,

I have simple mapping in which I have source file as source and Teradata table as target. I am using ODI built-in "LKM File to Teradata (TTU)" KM.

My issue is that when I run the mapping. it always stuck at step "Load to staging area". It neither failing nor going in waiting state rather it keeps on running without any functionality performed. The code for this step is:

import os

logname    = r"C:\SRC_FILES_DEV/C_0EMP.log"

scriptname    = r"C:\SRC_FILES_DEV/C_0EMP.script"

options = r""

utility    = r"""fastload %s < "%s" > "%s" """

loadcmd = utility % (options, scriptname, logname)

if os.system(loadcmd) <> 0 :

    raise OdiKMException("ODIKM-STDKM-10011", "ODIKM-STDKM-10011: Load Error. See {0} for details",[logname])

Any help would be great. 

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 8 2017
Added on Jan 2 2017
42 comments
3,611 views