Search found 88 matches

by mobashshar
Mon Mar 26, 2012 9:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: NZORCH tables not getting Dropped Post DS Job execution
Replies: 2
Views: 3394

Hi,
When you load NZ tables with Load Method = ET, then it creates External Tables which you have to clean manually. Please use Load Method - nzload and you will solve the issue.
M.
by mobashshar
Mon Mar 12, 2012 3:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date filter in DB2 Connector Stage
Replies: 3
Views: 1802

Have you tried single quotes as '2012-01-31' ?
by mobashshar
Sun Feb 19, 2012 10:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need to convert columns to rows
Replies: 29
Views: 12222

Good. But how will you control the data partitioning? The data will go on various nodes??
by mobashshar
Thu Feb 16, 2012 12:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issue with XML input
Replies: 5
Views: 3692

Please use URL/File path instead of XML Document in Input tab - XML Source. You are using ls command in external stage and giving the file path to your xml file... so you have to provide the file path to your sample.xml And.. also check your output tab -> transformation setting: if you have included...
by mobashshar
Tue Feb 14, 2012 8:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DTS Stage truncating SQL Reject message in RejectQ
Replies: 9
Views: 3636

Hi Ernie, Criag and Sura,
Thanks a lot for your replies. I am going to open a pmr today. It seems that I can view the whole message (formatted correctly) in DS Director Log but when DS Writes the RejectQ, its messing and missing the error log.
Thanks again.
Mobashshar
by mobashshar
Mon Feb 13, 2012 10:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DTS Stage truncating SQL Reject message in RejectQ
Replies: 9
Views: 3636

Hi Sura,
What do you mean? Please elaborate.
Thanks
by mobashshar
Thu Feb 09, 2012 8:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DTS Stage truncating SQL Reject message in RejectQ
Replies: 9
Views: 3636

DS Realtime Gurus.....
Please help
by mobashshar
Wed Feb 08, 2012 9:53 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DTS Stage truncating SQL Reject message in RejectQ
Replies: 9
Views: 3636

One thing I missed to mention.. DTS is writing message of length 615 only even after I increased the size of Q to 1 mb.
by mobashshar
Wed Feb 08, 2012 9:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Messages are deleting from Queue if job aborts
Replies: 5
Views: 3332

Why not move the data to WorkQ in source? It is required by DTS. Also you can choose the option to use a RejectQ, so the data will be cleared from WorkQ and written to rejectQ
by mobashshar
Wed Feb 08, 2012 10:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DTS Stage truncating SQL Reject message in RejectQ
Replies: 9
Views: 3636

DTS Stage truncating SQL Reject message in RejectQ

Hi, I am using DTS Stage to Insert/Delete in DB2. All the settings are correct in DTS such as Reject Failing Units = Yes and Prepend Rejects = Yes. When the row is rejected because of SQL error in DB2 like -803, the the DTS is not writing the full message in RejectQ. Its truncating the SQL error mes...
by mobashshar
Tue Dec 06, 2011 10:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: capture the reject record based on column length
Replies: 20
Views: 10916

Hi, One option I can think of is as follows: Make sure the input field are defined as Varchar. In Transformer create a extra column as flagcol for each input column. So it will be like flagcol1, flagcol2,.... etc. In transformer use this logic to set the flag flagcol1 = IF (Len(trimleadingtrailing(l...
by mobashshar
Wed Nov 02, 2011 10:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: replace | with |"
Replies: 6
Views: 2731

Or..
You can use Before Job Subroutine and use SED or AWK to replace the | with |"
by mobashshar
Fri Oct 14, 2011 9:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: stage to get the max time for each date
Replies: 11
Views: 6010

except

just make sure to hash partition and sort DATE field also with personnumber. Time field will be sort only.

rest is looking fine
by mobashshar
Thu Oct 13, 2011 9:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Link Ordering
Replies: 7
Views: 5748

Hi Craig, As far as I know.. you can use the link ordering in parallel transformer but it will not give you desired result.. During my previous project I had to redesign the job by splitting it into Upsert and Delete jobs because after using link ordering in transformer stage.. the delete was not ha...
by mobashshar
Thu Oct 13, 2011 9:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: stage to get the max time for each date
Replies: 11
Views: 6010

Sure.. Then what you do is strip out Date and Time from your input timestamp field using TimestampToDate and TimestampToTime function. Now you will have three fields as personnumber, date and time.. Now use Remove Duplicate Stage and keep the last row and SORT and PARTITION on PERSONNUMBER and DATE ...