Search found 102 matches

by iq_etl
Thu Jul 28, 2016 7:36 am
Forum: General
Topic: Adding newlines to multiple files in stream
Replies: 1
Views: 1728

OK, I found a fix for the immediate problem. Instead of a sed command that looks for the end of the file and adds a newline, I've got it finding the closing tag of my xml and replacing it with that tag plus a linebreak. I've now got it taking multiple files, transforming them and writing the text ou...
by iq_etl
Wed Jul 27, 2016 1:17 pm
Forum: General
Topic: Adding newlines to multiple files in stream
Replies: 1
Views: 1728

Adding newlines to multiple files in stream

Hi, I've got a directory full of gz compressed xml files that I want to stream through an xml transformer to parse them to delimited text. The xml transformer needs to know where each file ends in order to accept them as valid xml. But the xml within the gz files, which originate in an external Web ...
by iq_etl
Thu Sep 10, 2015 3:24 pm
Forum: General
Topic: Parameter value file is apparently not being read
Replies: 6
Views: 3243

That is the issue I was referring to.
by iq_etl
Wed Sep 09, 2015 8:14 am
Forum: General
Topic: Parameter value file is apparently not being read
Replies: 6
Views: 3243

Ray,

I see. So is it the case that values read from file can not be changed during the same sequence?
by iq_etl
Tue Sep 08, 2015 2:15 pm
Forum: General
Topic: Parameter value file is apparently not being read
Replies: 6
Views: 3243

I may have found my solution. As I understand it, parameter values are set when a job is compiled and can't be changed while the job is running. However, I thought I had read that using a parameter value file was a way around that limitation. I created a new sequence to run the get_total_page_count ...
by iq_etl
Tue Sep 08, 2015 11:42 am
Forum: General
Topic: Parameter value file is apparently not being read
Replies: 6
Views: 3243

Parameter value file is apparently not being read

I'm storing a total page count from a Web service in a parameter value file, then attempting to access that value in a sequence loop in order to loop through that total number of pages. However, as long as I'm writing the parameter value file and calling it from the loop in the same sequence, the pa...
by iq_etl
Tue Sep 01, 2015 1:20 pm
Forum: General
Topic: How to handle multi-page Web Service requests
Replies: 15
Views: 7858

I've got my job working (mostly), so I'm going to mark this resolved. Ray, I was typing it in manually because it doesn't appear that user variables show up in the menu. I had not tried #s. However, Ernie, I went ahead and added in another stage to iterate the count in a job parameter. So inside my ...
by iq_etl
Mon Aug 31, 2015 11:03 am
Forum: General
Topic: How to handle multi-page Web Service requests
Replies: 15
Views: 7858

At the moment, I'm putting the activity variable, "start_page_loop.$Counter" (but no quotes) into the input argument in the Web Services Client stage in my job. Result: It appears to be using it literally and I'm getting an xml error for "start_page_loop.$Counter" being an invali...
by iq_etl
Fri Aug 28, 2015 3:19 pm
Forum: General
Topic: How to handle multi-page Web Service requests
Replies: 15
Views: 7858

Yep, I've got the parameter in my start loop, but now I'm trying to get the loop's counter from the sequence and into a job. I've found the User Variables Activity and have specified a "Count" variable there with the expression "start_page_loop.$Counter". Now how to get "Cou...
by iq_etl
Fri Aug 28, 2015 1:24 pm
Forum: General
Topic: How to handle multi-page Web Service requests
Replies: 15
Views: 7858

I'm back with a little progress using a sequence and loop stages. I've created a job that makes a Web service request for a row count and the corresponding total number of pages, then writes that total page value to a parameter set. Then in the sequence start loop stage I use that parameter as the l...
by iq_etl
Tue Aug 11, 2015 11:02 am
Forum: General
Topic: How to handle multi-page Web Service requests
Replies: 15
Views: 7858

I'm working on employee data at the moment, and might get as high as 50-60,000 rows, although I hope we'll ultimately just be calling for updated records and not the whole set. Future phases may involve transactional data that could theoretically be more. I don't think I'm constrained to EE jobs, bu...
by iq_etl
Mon Aug 10, 2015 1:11 pm
Forum: General
Topic: How to handle multi-page Web Service requests
Replies: 15
Views: 7858

What dictates this "maximum number per page"? That sounds like it is something that the author has put into the service? Yes, it's specified in the Web service. There are parameters for Page (which page to get) and Count (number of rows per page) So if I make a request for page 1 with cou...
by iq_etl
Mon Aug 10, 2015 11:18 am
Forum: General
Topic: How to handle multi-page Web Service requests
Replies: 15
Views: 7858

How to handle multi-page Web Service requests

I'm relatively new to both DataStage and Web services and would like some general direction for an integration task I'm working on. Our team is working with a new HR management system and attempting to pull data from it via Web services into our existing Oracle database. I've successfully done this ...
by iq_etl
Thu Jun 05, 2014 3:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: problem with change capture/apply stages and CLOB column
Replies: 0
Views: 1738

problem with change capture/apply stages and CLOB column

Hello, I've got another one for y'all. We have a job that reads in a dataset, does change capture against the Oracle table, and then applies the changes back to the Oracle table. It includes one column which is a CLOB in Oracle and a LongNVarChar in DataStage. It works fine, except that every time i...
by iq_etl
Mon Jun 02, 2014 3:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: row merger function in parallel edition?
Replies: 7
Views: 4063

Pivot Enterprise + Transformer worked. Thanks again!