Search found 75 matches
- Tue Apr 02, 2013 9:08 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: XML Stage with multiple lists at the same level
- Replies: 7
- Views: 4607
XML Stage with multiple lists at the same level
I'm able to figure out how to read, adjust some data, and reconstruct in the same format an XML using the new XML stage which has a repeating element(list) of values for a parent by mapping the lowest level which is <style> to the link and working my way up. Example of XML below: <promotions> <promo...
- Tue Jun 12, 2012 8:29 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Creating XML with same tag different attribute name
- Replies: 4
- Views: 1734
- Fri May 11, 2012 2:27 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Creating XML with same tag different attribute name
- Replies: 4
- Views: 1734
Creating XML with same tag different attribute name
I'm used to creating xml's with predefined tags for example <contact> <firstname>Joe</firstname> <lastname>Smith</lastname> </contact> but this latest is different. The tag is generic and uses and attribute or label so the above needs to be: <contact> <contactField name="firstname">Joe</co...
- Fri Feb 10, 2012 1:18 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: StringtoTimestamp using AM/PM not working
- Replies: 2
- Views: 1696
- Thu Feb 09, 2012 11:36 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: StringtoTimestamp using AM/PM not working
- Replies: 2
- Views: 1696
StringtoTimestamp using AM/PM not working
Running 8.5 on unix Input Strings coming in as: 1/1/2007 10:05:00 PM 12/10/2007 1:00:00 AM Running this: StringToTimestamp(DSLink2.timestamp,"%(m,s)/%(d,s)/%yyyy %(h,s):%nn:%ss") outputs the data as: 01/01/2007 10:05:00 12/10/2007 01:00:00 I'd like the first timestamp since PM to be 01/01/...
- Fri Jul 29, 2011 8:36 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: No hit on lookup with Ignoring duplicate error
- Replies: 3
- Views: 1855
So ray, in my example where I have a key which has multiple date ranges and I want to add the start and end date to the incoming records whose date comes in and must be within the range how would I go about this? Because of the dupes would you suggest breaking this out into two separate lookups? For...
- Fri Jul 29, 2011 12:35 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: No hit on lookup with Ignoring duplicate error
- Replies: 3
- Views: 1855
No hit on lookup with Ignoring duplicate error
This has me really confused and hopefully someone can explain the difference as I'm not sure if it's a parttion issue or something else. I have a Dataset as input with two fields (code, timestamp(key)). I have another Dataset going into a lookup stage with (code(key), start_timestamp, end_timestamp)...
- Thu May 05, 2011 2:55 pm
- Forum: General
- Topic: Version Control vs Information Server 8.5 functionality
- Replies: 4
- Views: 3209
Hi Ray, Can you expand on how you are using subversion and DataStage, partically in regards to are you doin gthe check in and check out through Information Server Manager or are you doing it outside of it where you are importing and exporting .dsx files? Assuming you use it via Information Server Ma...
- Fri Apr 29, 2011 7:13 am
- Forum: General
- Topic: Version Control Advice
- Replies: 1
- Views: 1792
Version Control Advice
Now that Version 8.1 does not have Version Control as the older versions of 7x have had I need to come up with a solution for Versioning jobs. I assume from what I have read that most people are exporting their .dsx files into some third party type software like clear case, cvs, vss, etc. I know the...
- Wed Apr 06, 2011 1:05 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: XML Chunks or Not
- Replies: 3
- Views: 3102
Hey Ernie, Yeah you are right the perils belong under the LOB. I really don't need a chunk here. The problem I was having was that after merging the two(LOB and Perils) when I created the XML I did not have the repeating eliminate in the Perils column marked as a key. I had it in the first column of...
- Tue Apr 05, 2011 8:31 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: XML Chunks or Not
- Replies: 3
- Views: 3102
XML Chunks or Not
I having a lot of issues trying to create a correct XML and hopefully someone can help me. The XML should look something like this. -<master> -<lineofbusiness> <field_one></field_one> <field_two></field_two> etc..... -<perils> <field_x></field_x> <field_y></field_y> etc.... </perils -<perils> <field...
- Mon Mar 28, 2011 3:01 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: If statement I never seen before
- Replies: 3
- Views: 1579
- Fri Mar 25, 2011 2:49 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: If statement I never seen before
- Replies: 3
- Views: 1579
If statement I never seen before
Just started a new job and looking over an IF statement that in my 7 years I've never seen before. Can someone explain to me what's going on in this statement. I never knew you can end an IF statment with a then and else then do another statement then else. I've always seen If then Else If then ... ...
- Fri Mar 04, 2011 8:58 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: IsValid using Date
- Replies: 7
- Views: 23343
so it looks like IsValid('Date',StringToDate(stgAcctDate, '%1950yy%mm%dd')) worked I just get the annoying warning: Conversion error calling conversion routine date_from_string data may have been lost: which I'll have to ignore in the message handler for each date that I have in the transformmer. Ot...
- Thu Mar 03, 2011 6:16 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: IsValid using Date
- Replies: 7
- Views: 23343
I'll try the latest two examples and let you guys know. regarding am I writing to a stage variable, no. You are correct in that you can't write a null to a stag variable. This code is simply using a stage variable in the calc to write to an output. In the stage variables I check for Null first, if i...