Search found 336 matches

by Raftsman
Tue Jan 09, 2007 1:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Key Change - Increment Value
Replies: 13
Views: 3796

Key Change - Increment Value

I am trying to code the following logic in DataStage Transformer; Field A Field B Value 1 A 1 1 A 2 1 A 3 1 B 1 1 B 2 2 C 1 2 C 2 As you see once the key value changes, I recommence the value. I tried writing an if then else but I believe that there must be a more efficient way. Isn't there a system...
by Raftsman
Thu Dec 21, 2006 11:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Deleting Datasets - Windows
Replies: 9
Views: 5617

Thanks for the Data Management answer. It has resolved the problem
by Raftsman
Thu Dec 21, 2006 11:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Deleting Datasets - Windows
Replies: 9
Views: 5617

Yes, we are a Windows OS. The answer someone gave me was Unix. I am looking for the Windows answer.
by Raftsman
Thu Dec 21, 2006 10:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Deleting Datasets - Windows
Replies: 9
Views: 5617

I thought this was a Unix command.
by Raftsman
Thu Dec 21, 2006 9:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: installing visual studio c++
Replies: 6
Views: 1927

We had the same problem. De-install DS and install the C++ compiler first. Then install DS. It will find the C++ compiler and set it up during the install.
by Raftsman
Thu Dec 21, 2006 9:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: NLS installation for parallel jobs
Replies: 1
Views: 1298

I am not 100% sure but when we installed DS on our Windows server, the install doc told us that NLS for PX was not available. I would check with your IBM tech contact.
by Raftsman
Thu Dec 21, 2006 8:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Deleting Datasets - Windows
Replies: 9
Views: 5617

Deleting Datasets - Windows

Can someone please tell me the command I could use to cleanly delete datasets.

Thanks.
by Raftsman
Tue Dec 19, 2006 8:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: TimeStamp Difference
Replies: 11
Views: 5610

Also, no I can't get the microseconds from the system clock. I spoke with IBM and they said there may be a fix somewhere down the road. Hopefully, a simpler solution is created.
by Raftsman
Tue Dec 19, 2006 8:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: TimeStamp Difference
Replies: 11
Views: 5610

The input comes from DB2 mainframe. I modified the field attributes with extended equal to microseconds. I can get the microseconds from DB2. What I was hoping to accomplish was write a routine or BuildOp that would take the start and end timestamps and provide the difference in seconds. I started t...
by Raftsman
Tue Dec 19, 2006 3:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: TimeStamp Difference
Replies: 11
Views: 5610

TimeStamp Difference

Hi all, I searched the forum for an answer and still I have not found one. My problem is, I want to find the difference (right down to the microsecond) between two timestamps. I can see the timestamp and microseconds from the input but I can't seem to find a function that will allow me to do this. I...
by Raftsman
Fri Dec 01, 2006 9:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Update DB2 file
Replies: 3
Views: 1278

Yes. When entering the DB2 File Stage, we don't know what the original count is. Normally, update will replace the original value and not accumulate it. Can I manually code the update where Update ....Where... Set Count = Count + Previous_stage.count
by Raftsman
Fri Dec 01, 2006 8:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Update DB2 file
Replies: 3
Views: 1278

Update DB2 file

When updating a DB2 file, is there a way to accumulate a count for a field in place of updating the count. i.e. Key 1 Count = 2 Update Key 1 Count = 5 Updated record Key 1 Count = 7 Is there a quick way to do this without reading the DB2 file, doing a lookup, if it exist, calculate the new value and...
by Raftsman
Mon Nov 27, 2006 9:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential File Stage
Replies: 6
Views: 3540

Sorry. I followed the previous post instructions and loaded a sequential file layout from the input data and everything worked fine. I didn't follow up on the post because I assume the previous posters answer solve my problem. I will follow up on future posts.

Thanks
by Raftsman
Mon Nov 27, 2006 12:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential File Stage
Replies: 6
Views: 3540

The data looks like this,

9999,1,2006-11-24 00:00:00,"Person",2000-04-01-00.00.00.0000002,9999-12-31-00.00.00.000000,"Person","Person","Person","Person","JXS166",2006-11-24-00.00.00.000000,"I","JXS166"
by Raftsman
Mon Nov 27, 2006 12:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential File Stage
Replies: 6
Views: 3540

Yes, I searched for comma delimited, DOS linefeed etc. I am not trying to bash the Parallel DS. I am frustrated because I created a sequential comma delimited file, enter my schema representation and voila, I could view and work with it in the server world. I tried to do the same in the parallel wor...