Getting Error-12

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
shivadas
Participant
Posts: 48
Joined: Tue Jun 12, 2007 12:10 am

Getting Error-12

Post by shivadas »

Hi All,

I have written an After job routine.... After that routine is executed i am getting an error as follows:

After-job routine returned error: Error -12 returned from AFTER routine DSU

In this after job routine, i am trying to catch the Stages names and linkvalues ie now of rowcount outputed from that stage...

Can any one help me in solving this...

Shiva
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

you set your ErrorCode to that value somewhere in your after-job routine.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Error -12 is DSJE_BADNAME as in a job name is wrong. Without seeing your code, I'm assuming you are not using DSJ.ME for the 'current job' but rather an explicit name, and you've gotten it wrong.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Please post the code of your After-Job subroutine.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply