Thanks Guys,
All working now,
David
Search found 11 matches
- Wed Oct 22, 2014 6:20 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Move .XML files to archive directory after processing
- Replies: 8
- Views: 5841
- Tue Oct 21, 2014 9:27 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Move .XML files to archive directory after processing
- Replies: 8
- Views: 5841
- Tue Oct 21, 2014 2:08 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Move .XML files to archive directory after processing
- Replies: 8
- Views: 5841
- Mon Oct 20, 2014 4:54 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Move .XML files to archive directory after processing
- Replies: 8
- Views: 5841
Move .XML files to archive directory after processing
Hi, I have a parallel job created that looks in a folder (using 'external source' stage) for any files like ".xml". The job then uses the XML stage to parse the XML and import the data into an SQL database. That's all working, but after that how can I move the processed XML file out of the...
- Wed Oct 15, 2014 1:54 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Parsing XML into two dB tables, creating keys
- Replies: 13
- Views: 4925
- Wed Oct 15, 2014 4:34 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Parsing XML into two dB tables, creating keys
- Replies: 13
- Views: 4925
- Tue Oct 14, 2014 5:13 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Parsing XML into two dB tables, creating keys
- Replies: 13
- Views: 4925
- Tue Oct 14, 2014 2:13 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Parsing XML into two dB tables, creating keys
- Replies: 13
- Views: 4925
Hi Ernie, No I'm definitely using the XML stage, it's reading an XML file (correctly) and importing two database tables...below is an example of the XML (it has an associated xsd also) <batch PO> --<PO Header> ------<PO number>...</PO number> ------<Customer>...</Customer> ------<Address>...</Addres...
- Mon Oct 13, 2014 1:27 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Parsing XML into two dB tables, creating keys
- Replies: 13
- Views: 4925
Thanks, but that's not what I see when I have imported the PO Header and PO Line information into two tables. e.g. the xml is presenting this (but in xml format) PO1, Customer1, Address1 POline-a, Qty-a, Product-a, Cost-a POline-b, Qty-b, Product-b, Cost-b PO2, Customer2, Address2 POline-c, Qty-c, P...
- Mon Oct 13, 2014 8:44 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Parsing XML into two dB tables, creating keys
- Replies: 13
- Views: 4925
Sure sorry, The XML file is roughly in the format of: <Purchase Order 1> <PO Line 1> <PO Line 2> <Purchase Order 2> <PO Line 1> <etc> I am bringing all the <Purchase Order> information into one dB table (i.e. date, customer, store, etc), and all the 'PO Line' information into a seperate dB table (i....
- Mon Oct 13, 2014 4:56 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Parsing XML into two dB tables, creating keys
- Replies: 13
- Views: 4925
Parsing XML into two dB tables, creating keys
Hi, I have an XML file with records that have a header, then multiple lines (repeated). I am creating a job to push this into two seperate database tables, header and detail. However, the data in the XML does not have any keys to link the detail lines to the header lines. Is there a way that Datasta...