Search found 263 matches
- Fri Jun 08, 2007 3:41 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: one to many relationship in joins
- Replies: 8
- Views: 3141
one to many relationship in joins
Hi I have table ABC and need to join on DEF. relation ship on ABC and DEF is one to many. if my key column for join is COLUMN_TEST. suppose COLUMN_TEST in ABC table has a value 123 and same COLUMN_TEST in DEF may have multiple records with value 123. Can some please let me know how to acomplish this...
- Tue May 29, 2007 7:47 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date conversion
- Replies: 3
- Views: 1280
Date conversion
I am having Date as "MMDDYY" format.
I have to convert this one as "YYMMDD" and also concatenate '20' to year.
Please send me the solution for this.
I have to convert this one as "YYMMDD" and also concatenate '20' to year.
Please send me the solution for this.
- Sun May 20, 2007 10:07 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Load multiple tables
- Replies: 11
- Views: 3772
- Sun May 20, 2007 6:40 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Load multiple tables
- Replies: 11
- Views: 3772
Hi All, Thanks a lot for all your suggestions. I'm using the multiple instance job to load multiple dimensions. Now I need to extract data from source using parameter table to get the MAX_DATE and MAX_SEQ_NO. Extract SQL looks like below: SELECT * FROM #$SCHEMA_NAME#.#SrcTblNm# WHERE ATTRIBUTE_NAME ...
- Thu May 10, 2007 9:12 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Adavantages of using db2 query or data stage??????
- Replies: 8
- Views: 4283
For 8-10 million rows
In ideal world, it would be better to use a lookup stage in such scenario.
But based on how your database/table is loaded, you can also code it in the SQL statement.
However do not use a transformer as it has no specific advantage over a lookup.
But based on how your database/table is loaded, you can also code it in the SQL statement.
However do not use a transformer as it has no specific advantage over a lookup.
- Tue May 08, 2007 8:35 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Warning message in Oracle EE stage
- Replies: 4
- Views: 1739
Few tests on SQL's
thank you every one for the reply, The actual issue is, I requested IBM for a patch since the CAST when used with Union-all is removing the precision. IBM has replied it is more related to do with the UNION operation which is removing the precision but not the CAST field. Could you please run the fo...
- Mon May 07, 2007 4:10 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Warning message in Oracle EE stage
- Replies: 4
- Views: 1739
Warning message in Oracle EE stage
Column_A is defined as Decimal(31,11) in the Oracle stage(column definition) In the SQL query, I have SELECT CAST( Column_A as NUMBER(31,11)) Column_A, Column_B From Table_X Union All SELECT CAST( Column_A as NUMBER(31,11)) Column_A, Column_B From Table_X When I run the job by putting this query in ...
- Wed Apr 25, 2007 2:16 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Load multiple tables
- Replies: 11
- Views: 3772
Load multiple tables
Hi All, I have a dataset which looks like the following Name Value A 1 B 2 A 45 A 23 C 17 B 12 C 32 A 21 C 65 I need to load A,B and C table. This three table has the same structure. Please find the A table structure with the data. Sno Value create_dt end_dt current_flag 1 1 1/31/2005 1/1/9999 Y 2 4...
- Fri Apr 20, 2007 12:19 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Warning in when using Remove duplicate and sort stage
- Replies: 7
- Views: 4235
- Fri Apr 20, 2007 11:43 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: dimension and fact build
- Replies: 6
- Views: 2022
dimension and fact build
Hi All, I need to create 100 dimensions for one of our data mart, source data is SAP and each dimension represents one attribute. All the 100 dimensions have the same source (one table) and have the same target structure (100 attribute dimension). I thought of creating a multiple instance job and pa...
- Fri Apr 20, 2007 8:37 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Trailing Spaces in Unix
- Replies: 7
- Views: 3740
Re: Trailing Spaces in Unix
Hi Purush, I had similer kind of issue, the following script helped me out to remove the carriage return. if [ $UNAME = "SunOS" ] then dos2unix ${SRC_PATHNM}/$FILENM ${INT_PATHNM} $FILENM.dos2unix grep -v "^$" ${INT_PATHNM}/$FILENM.dos2unix > ${INT_PATHNM}/$FILENM rm -f ${INT_PAT...
- Wed Apr 18, 2007 10:22 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Warning in when using Remove duplicate and sort stage
- Replies: 7
- Views: 4235
Warning in when using Remove duplicate and sort stage
Hi, I'm reading a sequential file and passing it to transformer to do hash partition. data from trnsformer is passed to Sort stage where I'm doing Sorting on natural key in ascending and timestamp in descending to get the latest record at the top then it is passed to remove duplicate stage to retain...
- Fri Apr 13, 2007 8:21 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: passing parameters from table.
- Replies: 3
- Views: 736
- Fri Apr 13, 2007 5:42 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: passing parameters from table.
- Replies: 3
- Views: 736
passing parameters from table.
Hi guru's,
I have to pass set of parameter values to a job sequence from tables.I acheived it through writing to a file and the read it as parameter file.Is there any other way to perform this?Thanks.
I have to pass set of parameter values to a job sequence from tables.I acheived it through writing to a file and the read it as parameter file.Is there any other way to perform this?Thanks.
- Wed Apr 11, 2007 3:31 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Reading parameter file
- Replies: 6
- Views: 2699