Search found 136 matches

by boxtoby
Wed Feb 06, 2013 9:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequence number generation issue in target database
Replies: 18
Views: 10995

Hi Prasoon, The problem is that you have @INROWNUM in your key generation statement which always reflect the current record therefore you cannot restart the numbering for the reject table. What I would suggest is using inserting a transformer between the target table and the reject table like this: ...
by boxtoby
Wed Feb 06, 2013 5:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequence number generation issue in target database
Replies: 18
Views: 10995

That didn't really work, did it!

Hopefully, this will demonstrate what I was trying to say:

Input 1
TgtOra 1
RejOra

Input 2
TgtOra 2
RejOra

Input 3
TgtOra
RejOra 3

Input 4
TgtOra 4
RejOra


Cheers,
Bob.
by boxtoby
Wed Feb 06, 2013 5:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequence number generation issue in target database
Replies: 18
Views: 10995

Hi Prasoon,

Can you clarify what input and output you get from the pl/sql example and what DataStage is giving you so we can be clear as to what the problem is?

Something like:

Input TgtOra RejOra
1 1
2 2
3 3
4 4

Cheers,
Bob.
by boxtoby
Wed Jan 23, 2013 5:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: multiple columns to single column lookup
Replies: 1
Views: 1179

Hi Kannan, I would consider pivotting the data so you have it in the following format: 123,AB,StatusCode1 123,CD,StatusCode2 123,EF,StatusCode3 etc. Now your look up is simple. Send the success records down a link which performs a look up on the Id (123) back to the original data to determine if any...
by boxtoby
Thu Nov 01, 2012 6:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Generic Data validation
Replies: 6
Views: 5350

Hi there, You could try something like this: (I've never actually had the chance to implement it....) It's less sophisticated than using build ops but might be more supportable in the long term. Source data: File name InputF44.txt Key Name Dob Type 1 Fred 01/01/1982 AB45 2 Dave 01/02 1974 TY76 3 Joh...
by boxtoby
Tue Sep 25, 2012 10:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fail trying to re-initialize a surrogate key value
Replies: 3
Views: 2791

Hi there,

Have you tried launching a simple unix script to delete and recreate the surrogate key file?

Cheers,
Bob.
by boxtoby
Tue Sep 25, 2012 9:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fail trying to re-initialize a surrogate key value
Replies: 3
Views: 2791

Hi there,

Have you tried launching a simple unix script to delete and recreate the surrogate key file?

Cheers,
Bob.
by boxtoby
Tue Sep 27, 2011 10:32 am
Forum: General
Topic: Looping in Sequence with Startloop Actvy and Endloop Actvy
Replies: 3
Views: 3318

Hi John, It sounds to me like you wish to run a job where the end date is today and the start date is the end date from the previous run. I would store the end from each run in a table. Then when the job runs next time you can retrieve that value using a job which reads the table and writes it out t...
by boxtoby
Mon Sep 19, 2011 8:43 am
Forum: IBM QualityStage
Topic: Survivorship Stage Process
Replies: 1
Views: 2015

I don't know if you have fixed this one yet, but you could try something like this: (I assume that you have a database of 700m records to which you are trying add new records, but first check if they already exist and if they do, don't add them.) Firstly, you need to reduce the 700m records to a new...
by boxtoby
Tue Feb 16, 2010 12:05 pm
Forum: IBM QualityStage
Topic: QualityStage standardisation problem with utf8 character set
Replies: 5
Views: 3401

Hi Julio,

I tried setting the job to UTF-16 but the result was the same, unfortunately.

Bob.
by boxtoby
Tue Feb 16, 2010 9:09 am
Forum: IBM QualityStage
Topic: QualityStage standardisation problem with utf8 character set
Replies: 5
Views: 3401

Hi Julio,

All columns are set to unicode as they are throughout the whole application.

I can't really choose which columns to set to unicode or not.

It seems strange to me that QS doesn't appear to handle utf-8 when it uses that code page under the hood.


Bob.
by boxtoby
Mon Feb 15, 2010 9:14 am
Forum: IBM QualityStage
Topic: QualityStage standardisation problem with utf8 character set
Replies: 5
Views: 3401

QualityStage standardisation problem with utf8 character set

Guys, In order to process multi-national data our DS jobs are set to character set utf8 on the NLS settings tab for the job. I have recently changed the dsenv settings to reflect this as follows: NLS_LANG=AMERICAN_AMERICA.UTF8 export NLS_LANG # This entry can help with special characters LC_CTYPE=C....
by boxtoby
Thu Nov 26, 2009 2:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: xml repeating groups problem
Replies: 2
Views: 1616

Dear Mortals, Sorry if my first post wasn't clear, hope this helps! The output should look something like this, <Friends> <Owner> <Pr_Key> 1 </Pr_Key> <Name> Bob </Name> <Contacts> <Friend_Number> 1 </Friend_Number> <Friend_Name> Friend 1 </Friend_Name> <Friend_Number> 2 </Friend_Number> <Friend_Nam...
by boxtoby
Thu Nov 26, 2009 1:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: xml repeating groups problem
Replies: 2
Views: 1616

xml repeating groups problem

I am having a problem with repeating groups. I have read the various posts and the best practises document but I still cannot get it to work. I have reduced the exercise to a simple example whereby Friend_Name and Friend_Number are the repeating group for the name. The Friend_Number is defined as th...
by boxtoby
Mon Nov 09, 2009 11:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: NLS button in Administrator greyed out
Replies: 10
Views: 5423

NLS button in Administrator greyed out

Guys, I was wondering if anyone has seen this problem before? When I sign in to Administrator the NLS button is greyed out so I can't change the project default NLS setting. I have checked the credentials in SuiteAdmin and I am set up as DS and QS Administrator. I can change the job default NLS sett...