runlocally()

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
bakul
Participant
Posts: 60
Joined: Wed Nov 10, 2004 2:12 am

runlocally()

Post by bakul »

I am using the 2 XML Output stages, 1 Merge stage and a final XML Output stage to generate an XML. The input file is around 2GB.
The job completes succesfully. However the entire XML is not generated. The job log shows the error,
XML_Output_14,0: Caught unknown exception from runLocally()
XML_Output_14,0: runLocally() did not reach EOF on its input dataset 0
Does anyone know the cause of this error? Can anything be done to avoid this ?

Regards,
Bakul
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Hi,
Just give a try. Make it to read n-1 rows and write it to the output.
if its working fine then there would be some issue with the nth record.

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

Post by ray.wurlod »

It may be - and I'm guessing here - that the XML stage you've used is limited to 2GB and the file is actually slightly larger. The error message indicates that the process failed to reach end-of-file. If, for example, the XML stage had been written with a signed 32-bit offset pointer, it could not read past 2GB.

Ask your support provider or post the question on ADN
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
bakul
Participant
Posts: 60
Joined: Wed Nov 10, 2004 2:12 am

Post by bakul »

Thanks for your inputs! :) I have posted the query on ADN.

Regards,
Bakul
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

ray.wurlod wrote:It may be - and I'm guessing here - that the XML stage you've used is limited to 2GB and the file is actually slightly larger.
Don't believe that that is the case as I'm using the XML Output stage to generate ~300MB XML files.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

2GB is much bigger than 300MB. 2GB is special, as it's the largest address that can be accessed using a signed 32-bit pointer.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Duh... sorry... I thought we were dealing with a little file, for some reason I read it as 2MB not 2GB. :oops:
-craig

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