DataStage Job 2288 Phantom 16902

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
Prashantoncyber
Participant
Posts: 108
Joined: Wed Jul 28, 2004 7:15 am

DataStage Job 2288 Phantom 16902

Post 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
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Post 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,
Roy R.
Time is money but when you don't have money time is all you can afford.

Search before posting:)

Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Image
elavenil
Premium Member
Premium Member
Posts: 467
Joined: Thu Jan 31, 2002 10:20 pm
Location: Singapore

Post 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
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Post 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,
Roy R.
Time is money but when you don't have money time is all you can afford.

Search before posting:)

Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Image
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post 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.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply