I am trying to resolve the 'Variable "CallerName" previously undefined. Empty String used.' errors that occurred. It looks to me as if the transformers in the job started. Can I tell if they finished before the error message was written?DataStage Job 91 Phantom 23365
[23385] Done : DSD.StageRun NewTransDai8. NewTransDai8.NEW_TRANSACTIONS 114 0/50
[23384] Done : DSD.StageRun NewTransDai8. NewTransDai8.DEFAULT_EMAIL_ADDR.IDENT1 114 0/50
Program "DSLogInfo": Line 60, Variable "CallerName" previously undefined. Empty string used.
Program "DSLogInfo": Line 60, Variable "CallerName" previously undefined. Empty string used.
DataStage Phantom Finished.
This job has Before Job and After Job routines. I suspect that the calls to DSLogInfo that cause the error are probably in the After Job routine because the Transformers appear to at least have started before the error is written. I have the following statement at the top of the After Job routine:
Code: Select all
JobName = DSGetJobInfo(DSJ.ME, DSJ.JOBNAME)
Code: Select all
Call DSLogInfo(Msg, JobName)
Thanks,
Tony