Page 1 of 1

Utility Abort To log Routine Description

Posted: Thu Sep 18, 2008 12:15 am
by Tej
Hi all,
can any one help in this routines, which generates an error when i tries to run the job sequence level
jobname..JobControl (fatal error from UtilityAbortToLog): USER INFO: Issue in Teradata Load. Please refer log for details JOB=> jobname STAGE=> JobControl LINK=> -8


This is the routines which generates the log

$include DSINCLUDE JOBCONTROL.H

Equate RoutineName To "UtilityAbortToLog"

Deffun DSRMessage(A1, A2, A3) Calling "*DataStage*DSR_MESSAGE"

InputMsg = Arg1

If Isnull(InputMsg) Then
InputMsg = " "
End
Message = DSRMessage("DSTAGE_TRX_E_0017", "USER INFO: %1 JOB=> %2 STAGE=> %3 LINK=> %4", InputMsg:@FM:DSJobName:@FM:DSStageName:@FM:DSLinkName)
Call DSLogFatal(Message, RoutineName)
Ans = 1

pls.. help
I need some descrption in the routine

Thank You,
In ADVANCE

Posted: Thu Sep 18, 2008 1:03 am
by ray.wurlod
USER_INFO is the text that you supply as the routine argument. JOB, STAGE and LINK are added by the code.

Source code for these SDK routines is supplied - you can inspect it in your Repository. The branch is sdk\Utility.

Posted: Thu Oct 21, 2010 10:56 pm
by samad40
ray.wurlod wrote:USER_INFO is the text that you supply as the routine argument. JOB, STAGE and LINK are added by the code.

Source code for these SDK routines is supplied - you can inspect it in your Repository. T ...


Hi .. i am aslo facing the same error ... but u said that we need to inspect it in repositiory ..
can you be a bit clear ... on this

Posted: Fri Oct 22, 2010 2:37 am
by ArndW
The source code for the routine is at " sdk\Utility" and can be examined in order to understand what it does.