Reading excel file using Unstructured data stage

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
Pravenai
Participant
Posts: 49
Joined: Mon Apr 06, 2009 1:32 am
Location: USA

Reading excel file using Unstructured data stage

Post by Pravenai »

Hi All,
I used "Unstructured Data" stage to read from an excel file. It ran perfectly fine for the first time. I got another file to load and when I ran the same job, it hangs everytime after loading 30,000 records (this file has a little more than 32K records).

I tried to debug the problem but could not identify the issue. File does not seem to have any issues, as I could load this file successfully into my table.

My job just loads data from excel into a table.

Any help on what could be possible problem or how to debug it will be really helpful.

Thanks in advance.

Regards,
PR
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Are there any warnings in the job log?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Pravenai
Participant
Posts: 49
Joined: Mon Apr 06, 2009 1:32 am
Location: USA

Post by Pravenai »

No warnings. I have to kill the job in the end. Everytime it only loads 30K records.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You may also want to involve your DBA when it 'hangs' to see if there are any issues on the database side, blocking locks and the like. Does it still hang if you run it on a single node? Assuming there are multiple nodes (>1) at the moment.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Pravenai
Participant
Posts: 49
Joined: Mon Apr 06, 2009 1:32 am
Location: USA

Post by Pravenai »

Just to ensure it is not DB related issue, I removed Oracle stage (target) and replaced it with a dataset. Still I face the same issue.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Okay... how about the nodes question?
-craig

"You can never have too many knives" -- Logan Nine Fingers
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

I recall having had issues with large data volumes and the Unstructured data stage. The Java engine uses a lot of memory, you might try setting the environment variable:

Code: Select all

CC_UNST_JAVA_HEAP=512
to increase the heap to 512 from the default 256. If the job still hangs in the same place after this change you can be sure that isn't due to Java space; but I have a suspicion that it might be cause.
Pravenai
Participant
Posts: 49
Joined: Mon Apr 06, 2009 1:32 am
Location: USA

Post by Pravenai »

Tried running my job on one node and also tried to run it after adding the environmental parameter but still it is stuck at the same place.
Do you think if there are any ways to debug this job and see where it is stuck?
Regards,
PR
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

If you haven't already, involve your official support provider as well.
-craig

"You can never have too many knives" -- Logan Nine Fingers
SURA
Premium Member
Premium Member
Posts: 1229
Joined: Sat Jul 14, 2007 5:16 am
Location: Sydney

Post by SURA »

chulett wrote:Okay... how about the nodes question?
I don't have 9.1, though my thought is also about the nodes. Rather than change the nodes, if that stage have the option to make is as Sequential change it, may help some time!

Try to read using server job will also give some idea.
Thanks
Ram
----------------------------------
Revealing your ignorance is fine, because you get a chance to learn.
Pravenai
Participant
Posts: 49
Joined: Mon Apr 06, 2009 1:32 am
Location: USA

Post by Pravenai »

Thanks everyone. I will check with the support.

Regards,
PR
Post Reply