Search found 13 matches
- Thu Nov 04, 2004 2:06 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Merging rows into a string
- Replies: 3
- Views: 2456
I did like this: I declared two stage variables...mergedRow, i, and totalRecCount mergedRow = If @INROWNUM = i Then InputLink.col1 else mergedRow: InputLink.col1 i = i+1 (i has initial value 0) Now, in the output link from the transformer, I put a constraint @INROWNUM = totalRecCount I am getting to...
- Wed Nov 03, 2004 10:02 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Merging rows into a string
- Replies: 3
- Views: 2456
Merging rows into a string
I have data in a sequential file. My data look like this:
25UB|23435
25XZ|89435
25MB|46377
25MD|38204
25YN|32048
I want to convert this data to:
25UB|23435|25XZ|89435|25MB|46377|25MD|38204|25YN|32048
Thanks
25UB|23435
25XZ|89435
25MB|46377
25MD|38204
25YN|32048
I want to convert this data to:
25UB|23435|25XZ|89435|25MB|46377|25MD|38204|25YN|32048
Thanks
- Wed Nov 03, 2004 9:33 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Vertical Pivot
- Replies: 7
- Views: 9668
- Wed Nov 03, 2004 8:03 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Vertical Pivot
- Replies: 7
- Views: 9668
- Mon Mar 08, 2004 12:39 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Pass value between jobs
- Replies: 7
- Views: 4450
There is no abort messages...job1 is finished with status OK. job2 is not executed at all and job0 'is running'. Even if I stop job0, it's not stopping. job0 is reset when I compile it again. How would I put logging statements to check errors? Is there any command like 'printout', or 'cout (C++'s)' ...
- Fri Mar 05, 2004 3:06 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Pass value between jobs
- Replies: 7
- Views: 4450
- Wed Mar 03, 2004 6:38 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Pass value between jobs
- Replies: 7
- Views: 4450
Pass value between jobs
Hi:
I have two jobs (Job1 and Job2). I want to pass a value from Job1 to Job2 using parameter. Job1 finds a max(column1) and this max value has to be passed to Job2's parameter. How do I do this? Thanks for your help.
I have two jobs (Job1 and Job2). I want to pass a value from Job1 to Job2 using parameter. Job1 finds a max(column1) and this max value has to be passed to Job2's parameter. How do I do this? Thanks for your help.
- Mon Mar 01, 2004 8:24 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Insert rows in more than one tables
- Replies: 8
- Views: 7805
- Thu Feb 26, 2004 9:55 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Insert rows in more than one tables
- Replies: 8
- Views: 7805
- Thu Feb 26, 2004 9:51 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Insert rows in more than one tables
- Replies: 8
- Views: 7805
- Thu Feb 26, 2004 10:39 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Insert rows in more than one tables
- Replies: 8
- Views: 7805
Insert rows in more than one tables
Is it possible to insert rows in more than one table in a single database connection? I have a target stage as Oracle(9i) and it has three tables. What I want to do is that I want to connect to this target Oracle stage only once and insert rows in all three table. Please let me know how I can do thi...
- Wed Feb 25, 2004 7:46 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Warning message about nullable source
- Replies: 9
- Views: 4876
- Tue Feb 24, 2004 6:59 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Warning message about nullable source
- Replies: 9
- Views: 4876
Hi, I tried to extract data from a table (Oracle 9i) which has null values in Coulmn3. My job is like this: Oracle Stage --> Transformer --> Seq. File. When I run this job, I get error like this :'cannot export null field with out null handle'. I incorporated 'If then else' in transformer to check f...