Difference in SQL Output

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
vikibemech
Participant
Posts: 46
Joined: Fri May 02, 2008 1:11 am
Location: Chennai

Difference in SQL Output

Post by vikibemech »

There is a difference in SQL output between first 2 runs. First time it says as 30 records as output but when job ran again it throws 4 rows as output. Job design is odbc stage - > Transformer - > Seq File. couple of joins in the SQL. I am getting same results which I get in 2nd run if I run 10 times in a day. Not sure why I am getting wrong results in 1st run. Any help will be helpful.
Vignesh Kumar N
jerome_rajan
Premium Member
Premium Member
Posts: 376
Joined: Sat Jan 07, 2012 12:25 pm
Location: Piscataway

Post by jerome_rajan »

Different schemas maybe? Can't think of anything else
Jerome
Data Integration Consultant at AWS
Connect With Me On LinkedIn

Life is really simple, but we insist on making it complicated.
vikibemech
Participant
Posts: 46
Joined: Fri May 02, 2008 1:11 am
Location: Chennai

Difference in SQL Output

Post by vikibemech »

No change in schema. Also checked parameters and no issues seen.
Vignesh Kumar N
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post by priyadarshikunal »

Or the data in database is changed by someone else in your team?
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
vikibemech
Participant
Posts: 46
Joined: Fri May 02, 2008 1:11 am
Location: Chennai

Difference in SQL Output

Post by vikibemech »

No one change any. Sorry
Vignesh Kumar N
pnpmarques
Participant
Posts: 35
Joined: Wed Jun 15, 2005 9:27 am

Post by pnpmarques »

When you run the select statement in an another application how many records do you get?
Do you have any filters in transformer?
How do you actually see the records loaded into the file, through Monitor or do you open the file?
Try to split the job into pieces to locate the problem.

Regards,
Pedro.
Post Reply