Record count mismatch in DS and UNIX

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
nynali
Participant
Posts: 31
Joined: Thu May 03, 2007 11:52 pm
Location: Hyderabad

Record count mismatch in DS and UNIX

Post by nynali »

Hi,
I have DS job which does a LEFT OUTER JOIN b/w 2 sequential files.
This job reads the files NDMed to UNIX in Binary mode and does a sort of both files on KEYS and does a join.The job went fine and it showed the output file(SEQUENTIAL STAGE) count as same as the left input file which should happen in our case.
The output file RECORD options were given as
FINAL DELIMITER=UNIX new line
RECORD LENGTH = FIXED.
DELIMITER = NONE.
But when I do a wc -l in UNIX on the same output file the record count is more(not double).I have NDMed the same file onto Mainframes and came to to know that some of the records in between are written in two lines instead of one.
Please suggest on this.
nynali
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The obvious thing to check for is newline characters in your data.
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