merge

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
pandu80
Participant
Posts: 50
Joined: Fri Apr 08, 2005 5:56 pm

merge

Post by pandu80 »

Hi,

I am using the Merge stage.and i have set the 'pure inner join'.


Merge-------->Transformer---->seq_file.

when i run this job i got an error saying that 'FUNCTION get_next_output_row' failed.
[Input file : xyz.TXT] End of row termination characters expected.

where do i set these properties?.any help would be appreciated.

TIA
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Post by roy »

Hi,
usually it's in the output tab under the input files properties under first or second file format tab.
naturally the settings there must match to the actual ones of the file.
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
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Check whether there are more cols or chars in the file than mentioned in the properties.
elavenil
Premium Member
Premium Member
Posts: 467
Joined: Thu Jan 31, 2002 10:20 pm
Location: Singapore

Post by elavenil »

Save the metadata of those input files and load the metadata while specifying the metadata and specify the delimeter etc as mentioned while those files created.

HTWH.

Regards
Saravanan
vinaymanchinila
Premium Member
Premium Member
Posts: 353
Joined: Wed Apr 06, 2005 8:45 am

Post by vinaymanchinila »

Hi,
You should include all the columns from both the files in the output window even though they are same , and you can ignore them if you dont need once it is out of the stage, that way it doesnt give the error you are mentioning.
Good Luck
pandu80
Participant
Posts: 50
Joined: Fri Apr 08, 2005 5:56 pm

Post by pandu80 »

Hi,
Thanks for all for your input.But, still iam getting the error.
In the merge stage iam using pure inner join.If there is no key column matches merge stage raises error like " Function 'get_next_output_row' failed [Input file : xyz.TXT] End of row termination characters expected."

If key column matches it works fine.

what could be the reason?. any clues pls.


TIA.
pandu80
Participant
Posts: 50
Joined: Fri Apr 08, 2005 5:56 pm

Post by pandu80 »

Hi,
can i use the merge stage, if there is no matching key column in input files?


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

Post by ray.wurlod »

No
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