Search found 109 matches
- Wed Feb 21, 2007 1:08 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Weird problem with Sequential File Stage
- Replies: 26
- Views: 7199
- Wed Feb 21, 2007 11:35 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Weird problem with Sequential File Stage
- Replies: 26
- Views: 7199
- Wed Feb 21, 2007 10:43 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Weird problem with Sequential File Stage
- Replies: 26
- Views: 7199
Re: Weird problem with Sequential File Stage
awk -F'\t' '{if(<condition>) {print $0}}' #FileDirectory#/#Filename# Try awk -F'\t' '{if(<condition> && FILENAME != #FileDirectory#) {print $0} else {exit 1}}' thanks for taking the time off to reply robinson... I tried the above. But the following two issues arise: 1) The condition (which ...
- Wed Feb 21, 2007 1:48 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Weird problem with Sequential File Stage
- Replies: 26
- Views: 7199
- Wed Feb 21, 2007 12:31 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Weird problem with Sequential File Stage
- Replies: 26
- Views: 7199
Weird problem with Sequential File Stage
My job contains two parameters for the File directory - #FileDirectory# FileName- #Filename# The Sequential File stage contains a filter with some awk code in it to filter out some records with the two parameters at the end of the awk code line... Filter looks like this: awk -F'\t' '{if(<condition>)...
- Thu Feb 15, 2007 1:50 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Deriving different Levels
- Replies: 17
- Views: 6400
- Wed Feb 14, 2007 11:58 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Deriving different Levels
- Replies: 17
- Views: 6400
Hi, I thought i'd post this. I think I found a solution/workaround to the problem mentioned. Thought we can use a user-defined insert SQL in the Oracle Stage by leveraging the LEVEL pseudocolumn in the Oracle d/b. Its pretty handy.. syntax can be found here: http://www.psoug.org/reference/connectby....
- Thu Feb 08, 2007 2:26 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sparse Lookup query
- Replies: 3
- Views: 1232
Query in Sparse lookup will be executed every time when each row enters the stage. And hence you get the new sequence number generated. Increment of the sequence number is the job of Database not Datastage. Yeah, i got that ... but... on what are they doing the column matches? There is no key expre...
- Wed Feb 07, 2007 11:02 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sparse Lookup query
- Replies: 3
- Views: 1232
Sparse Lookup query
In the DataStage Parallel Job Developer's Guide, they mention that when we have a user generated SQL query, we have to use sparse lookups. Is there a reason why they suggest this ? On what basis does the lookup happen when the mode is Sparse Lookup. In my job, there are no key column matches in my L...
- Tue Feb 06, 2007 1:19 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sequence or Unique identifer across tables in PX ?
- Replies: 13
- Views: 4582
Create a dummy column along with the Nextval, say with the constant value '1' and lookup on that. If you MINVALUE starts with negative, there is a possibility to get 0's, else no. ... Thanks ArndW and Kumar, this approach works. :) I get your point about the performance overhead but right now there...
- Sun Feb 04, 2007 9:17 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sequence or Unique identifer across tables in PX ?
- Replies: 13
- Views: 4582
...Using a reference lookup to a unique Oracle sequence is another option, but it will severely impact performance... Havoc - this is a solution Hey Arnd, Just tried out the above method. But got a question..On what key can we join the input data with the Oracle sequence to get the nextval? Tried t...
- Sun Feb 04, 2007 7:44 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sequence or Unique identifer across tables in PX ?
- Replies: 13
- Views: 4582
- Fri Feb 02, 2007 9:08 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sequence or Unique identifer across tables in PX ?
- Replies: 13
- Views: 4582
I think using job name is better - since the JOBNO for a job may change (re-import to another project, saving of a copy, etc.). Are you looking at something like an Oracle Sequence, but driven from DataStage? Well that is the point but we have to load this same sequence number for three other jobs....
- Fri Feb 02, 2007 7:52 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sequence or Unique identifer across tables in PX ?
- Replies: 13
- Views: 4582
Why not use JOBNO? This is stored in DS_JOBS. You can easily look it up based on the job name. How can we leverage the JOBNO to create a unique identifier? One more query is this JOBNO dynamic or static? Basically there are multiple jobs and we have to avoid clashes when generating this unique iden...
- Fri Feb 02, 2007 3:00 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sequence or Unique identifer across tables in PX ?
- Replies: 13
- Views: 4582
Sequence or Unique identifer across tables in PX ?
Hi , I have a scenario in which a unique identifier or a sequence number must be generated across jobs i.e. there are multiple jobs inserting on the same table and should insert the next sequence number/unique identifier per job. This unique identifier should then be passed and be inserted in TWO ot...