Search found 262 matches
- Fri Nov 03, 2006 10:52 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Group By in DB2 Stage and Ref from hash File
- Replies: 4
- Views: 1600
An Example
A SQL Record F1# F2# F3# F4# 1 2 3 4 1 2 4 5 2 3 4 3 2 3 5 8 2 3 6 9 3 4 1 2 4 1 2 3 Hash File f1 f2 1 2 2 3 3 4 4 1 Output F1# F2# Max(F3#)Max(F4#) 1 2 4 5 2 3 6 9 3 4 1 2 4 1 2 3 Max values are found from the set of values returned by matching F1# with f1 and F2# with f2 .
- Fri Nov 03, 2006 10:50 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Max of the Data
- Replies: 11
- Views: 2340
This is an example, hope it expalins sth: A SQL Record (reference link) F1# F2# F3# F4# 1 2 3 4 1 2 4 5 2 3 4 3 2 3 5 8 2 3 6 9 3 4 1 2 4 1 2 3 Hash File (Source or Stream Link) f1 f2 1 2 2 3 3 4 4 1 for f1=1 and f2=3, from 'A' I get F1# F2# F3# F4# 1 2 3 4 1 2 4 5 So I want the below output for eac...
- Fri Nov 03, 2006 10:43 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Max of the Data
- Replies: 11
- Views: 2340
- Fri Nov 03, 2006 10:07 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Max of the Data
- Replies: 11
- Views: 2340
Max of the Data
Hi, In my Job, corresponding to values from a Seq File, my Database will return say 10 rows. Now i want to do gp by on these 10 rows. Similarly for the next row of data coming from the File, another set of some rows will be returned and a Gp by will be done on them too. I dont have to combine the Gp...
- Fri Nov 03, 2006 9:56 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Group By in DB2 Stage and Ref from hash File
- Replies: 4
- Views: 1600
In Server jobs use an Aggregator stage for grouping and aggregate functions. Sort the input data for best performance. ... Hi Ray, My reqmt is that I dont want to do a grp by on the complete data, I just wanna do a gp by on the set of data returned by the WHERE clause, and the values for comparison...
- Fri Nov 03, 2006 9:50 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Group By in DB2 Stage and Ref from hash File
- Replies: 4
- Views: 1600
Group By in DB2 Stage and Ref from hash File
Hi, I have a Hash File which contains 8 fields: {F1 #, F2 #,F3 #,F4 #} and another DB2 Rec, TAB1{f1#,f2#,f3#,f4#,f5#,F6#,f7,f8....} (Fn # and fn #represents Key Fields) Now my reqmt is output as of these queries: SELECT f1#,f2#,f3#,MAX(f4#),f5#,MAX(f6#) FROM TAB1 WHERE f1#=Value1 AND f2# = Value2 AN...
- Thu Nov 02, 2006 6:47 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Determining Update or Insert New
- Replies: 5
- Views: 2716
- Thu Nov 02, 2006 3:20 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Determining Update or Insert New
- Replies: 5
- Views: 2716
Determining Update or Insert New
Hi, My targt table has 2 fields: CREATED_EW_DTTM and LASTUPD_EW_DTTM. Now, I am using 'Update Existing or Insert New' action for writing to this table. So, my aim is: If the row is new then I ll assign CREATED_EW_DTTM = DSJobStartTimestamp and LASTUPD_EW_DTTM = DSJobStartTimestamp. Else if it is jus...
- Wed Nov 01, 2006 12:47 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Sort Stage
- Replies: 8
- Views: 4076
- Wed Nov 01, 2006 12:23 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Sort Stage
- Replies: 8
- Views: 4076
Sort Stage
Hi, I am using Sort Stage in my job. Its output is an input to an Aggregator stage. The Help of Sort Stage specifies: 1) Max Rows in Virtual Memory : The maximum number of rows (from 2 to 50,000) 2) Max Open Files . = 20. So in all I can sort just 50,000 * 20 = 1,000,000 rows. But I ahev more than t...
- Wed Nov 01, 2006 9:11 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Aggregator Stage
- Replies: 2
- Views: 526
- Wed Nov 01, 2006 8:48 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Aggregator Stage
- Replies: 2
- Views: 526
Aggregator Stage
I am getting the below error in my job:
J_JrnlFacts_v20..Aggregator1: Row out of sequence
At row 5, link "Err"
Row out of sequence
The job aborts immediately...Please xplain!
J_JrnlFacts_v20..Aggregator1: Row out of sequence
At row 5, link "Err"
Row out of sequence
The job aborts immediately...Please xplain!
- Wed Oct 25, 2006 12:46 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Viewing But Not Reading
- Replies: 10
- Views: 2343
PS_JRNL_HEADER - Sounds like a Peopleosft Functionality. Does your job has a input link and output link from the table (DRS) to a shared container? Are you viewing data on the output link from the DRS?? As far as i know the shared container which you are talking about should get only one rows (Max ...
- Wed Oct 25, 2006 11:49 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Viewing But Not Reading
- Replies: 10
- Views: 2343
Also copy paste the SQL in the SQL tool you have and run it and see if it returns any rows or not. When I run the SQl, I get the desired result. Also, when I do 'View Data' from the stage, I can see the desired rows being returned.... BUT When I run the job, 0 rows read from PS_JRNL_HEADER_Link (DB...
- Wed Oct 25, 2006 11:43 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Viewing But Not Reading
- Replies: 10
- Views: 2343
No WHERE clause in the DB2 stage? Please check the generated SQL (in the job log). ... Thsi is the FROM Clause: EPM1PA.PS_JRNL_HEADER H,EPM1PA.PS_JRNL_LN LN,EPM1PA.PS_MB_ASCNTLDTTM DT,EPM1PA.PS_MB_JRNL_LN_SIS SIS This is the WHERE clause.... DT.MB_ASCNTLJOBNAME ='#JOBNAME#' AND H.JRNL_HDR_STATUS = ...