"After" script in a Oracle Plugin

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
badhri
Participant
Posts: 42
Joined: Tue Mar 19, 2002 8:15 pm

"After" script in a Oracle Plugin

Post by badhri »

Greetings,

My mapping has a output OCI Plugin and I populate my target table there withe several source tables. In the "After SQL" tab I have a update script that updates one of my target columns to Zero if it NULL.

When I stop this job for some reason I find that the job comes to the "Aborted" state but the target table is getting locked. I am afraid it is bcoz of this After script.

Will DS release the table b4 it comes out of the thread. This is happening for lot of jobs. Kindly advice.

Is it advisable to have scripts is Before/After.

Thanks,
Badhri ...




Badhrinath Krishnamoorthy
www.cognizant.com
Post Reply