Page 1 of 1

DataStage Job 2288 Phantom 16902

Posted: Sun Jun 26, 2005 3:11 am
by Prashantoncyber
Hi All,

I ran a job and got the phantom error mentioning

DataStage Job 2288 Phantom 16902
Program "JOB.969034386.DT.1369240453.TRANS1": Line 71, Nonnumeric data when numeric required. Zero used.
.
.
.
.
. <repeating as many times as rows in the source table>

in order to resolve this i went in the &PH& folder under that particular
Project and ran below cmd to locate the log file

$find . -type f -exec grep -l "DataStage Job 2288";

this command is not executed telling

find: -exec not terminated with `;`

Pls guide what correction is required to locate the file under &PH&

thanks

Posted: Sun Jun 26, 2005 4:49 am
by roy
Hi,

Code: Select all

man find
would get you on your way to learn you also need { } there and perhaps some more cahracters.
Your best freind in this should be your sys admin on the unix end.

IHTH,

Posted: Sun Jun 26, 2005 5:43 am
by elavenil
Go to projects folder and look for RT_BPnnn folder. You will find this piece of code there. Look at the line number that was caused the problem.

HTWH.

Regards
Saravanan

Posted: Sun Jun 26, 2005 7:24 am
by roy
Hi,
Just wanted to point this was covered before several times and that some times the row number is not 100% acurate so look around 71 .

IHTH,

Posted: Sun Jun 26, 2005 7:32 am
by chulett
There's no need to 'find' the phantom, you've got what you need to know from the log already. However, your -exec syntax should look like this:

Code: Select all

-exec grep -l "DataStage Job 2288" {} \; 
The curly braces mark where each found filename should go in the command.

Also wanted to add to what elavenil posted. The 'nnn' is the Job Number of the job you are having a problem with, in this case (as noted in your message) it would be 2288. You'll find a file called "JOB.969034386.DT.1369240453.TRANS1" in that directory and around line 71 you may be able to spot the problem.