.CSV - cannot view the data

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
PRIYARAJ
Participant
Posts: 41
Joined: Fri Jan 18, 2008 10:23 am

.CSV - cannot view the data

Post by PRIYARAJ »

HI,

Job is running fine without any errors/warning.The target is flatfile stored in .csv format. When I right click the file to view data it gives me error as

"No rows were returned from the view data server command.
would you like to view the commands output?.

If I click yes then it gives me "##E IIS-DSEE-TFOR-00089 08:51:51(026) <_ABORT_IDENT_,0> The runLocally() of the operator failed.
##E IIS-DSEE-TFOR-00089 08:51:51(028) <APT_CombinedOperatorController,0> The runLocally() of the operator failed.
##E IIS-DSEE-TFPM-00040 08:51:51(029) <APT_CombinedOperatorController,0> Operator terminated abnormally: runLocally() did not return APT_StatusOk
##E IIS-DSEE-TFSC-00011 08:51:57(000) <main_program> Step execution finished with status = FAILED."

please help me
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Is there any data in the underlying file ?

Does the metadata match ?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

I doubt it does. The job may be 'running fine' but is it processing any records? Are all the fields in your flat file defined as Varchar?

That or the file is empty. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
PRIYARAJ
Participant
Posts: 41
Joined: Fri Jan 18, 2008 10:23 am

Post by PRIYARAJ »

chulett wrote:I doubt it does. The job may be 'running fine' but is it processing any records? Are all the fields in your flat file defined as Varchar?

That or the file is empty. :wink: ...
Yes..there are records getting populated in the file. I see the warning message in log as "APT_CombinedOperatorController(1),0: Conversion error calling conversion routine decimal_from_string data may have been lost"

I have no idea about this warning !! :(
RAI ROUSES
Participant
Posts: 176
Joined: Wed Nov 15, 2006 5:48 am

Post by RAI ROUSES »

Try to use the decimal format.

8) Rai 8)
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You are converting a string to a decimal and your string can potentially hold more data than will fit in your decimal. It is alerting you to that fact.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Sreenivasulu
Premium Member
Premium Member
Posts: 892
Joined: Thu Oct 16, 2003 5:18 am

Post by Sreenivasulu »

Because of the warning you are not able to see the contents of the file.

Regards
Sreeni
PRIYARAJ
Participant
Posts: 41
Joined: Fri Jan 18, 2008 10:23 am

Thanks everyone :)

Post by PRIYARAJ »

Yes,I got the answer and I also set the Nullfield value for each coulmn in file thats when i was able to view the data.

Thanks a ton everybody !!!!!
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Please mark this topic as Resolved using the green button at top.

**Note: Topic Relocated by Content Editor **
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