Search found 42189 matches

by chulett
Mon Dec 14, 2015 6:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Add Value from File
Replies: 9
Views: 4199

Is there only one record in the file? Then 'reading' it might be as simple as using an Execute Command stage to cat the file to standard out and then you would need to capture the $CommandOutput from the stage to send to the parameter, something the Sequence job would automate for you.
by chulett
Mon Dec 14, 2015 4:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Add Value from File
Replies: 9
Views: 4199

That would typically be handled via a Sequence job and there are a handful of current topics on that subject over in the General forum. This one as one example, there should be plenty more. Basically you need something to 'read' the file and then pass the result to the Job Parameter in the Job Activ...
by chulett
Mon Dec 14, 2015 2:11 pm
Forum: General
Topic: trying to dynamically schedule SEQ jobs in Data Stage
Replies: 8
Views: 2462

We just went through an acquisition of Control-M, you'd have to be willing to pay a goodly amount for the "and more" part. :wink:
by chulett
Mon Dec 14, 2015 12:14 pm
Forum: General
Topic: trying to dynamically schedule SEQ jobs in Data Stage
Replies: 8
Views: 2462

ep_datastage wrote:But the SEQ jobs should only run if the date/time values from the control table meet the run criteria.
Thanks. Can you clarify what 'meet the run criteria' means? I could make an assumption but I'd really rather not.
by chulett
Mon Dec 14, 2015 11:26 am
Forum: General
Topic: trying to dynamically schedule SEQ jobs in Data Stage
Replies: 8
Views: 2462

Was hoping for something more... detailed. So the 'values' are job names? Is there more to it than that, like a time to run it or is that literally all that is in the file? The more details you provide, the quicker we can get to an actual answer / solution. :wink:
by chulett
Mon Dec 14, 2015 10:29 am
Forum: General
Topic: trying to dynamically schedule SEQ jobs in Data Stage
Replies: 8
Views: 2462

There's no such thing out of the box but that doesn't mean you couldn't cobble something together. What kind of 'values' are in this table?
by chulett
Mon Dec 14, 2015 10:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading XML file using MQ Stage in Datastage 9.1
Replies: 8
Views: 6696

Re: Reading XML file using MQ Stage in Datastage 9.1

I tried to read the same XML file using External Source Stage and the file got parsed properly and data got loaded into the Seq file. So, it means that the XML file is correct and it conforms with the XSD Actually no, no it doesn't. Post your XML file or at least a representative snippet from its h...
by chulett
Mon Dec 14, 2015 8:25 am
Forum: General
Topic: UNIX Code Reading into a Transformer?
Replies: 10
Views: 2648

You clicked on it where? In what stage? Sounds like there was nothing connected 'upstream' from there. I meant for you to do it from the appropriate job parameter property in the Job Activity stage so it can help you pick what to put there. Pass the exit code directly to the parameter that needs it ...
by chulett
Mon Dec 14, 2015 7:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash file in server version
Replies: 8
Views: 5078

So... resolved?
by chulett
Mon Dec 14, 2015 7:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data Masking Stage Issue
Replies: 0
Views: 1696

While you wait, contact support if you haven't done so already. Not sure how much Data Masking experience there is out there in the wild...
by chulett
Mon Dec 14, 2015 7:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: datastage scenario
Replies: 5
Views: 3538

Yes, please - use your words, don't make people puzzle out your requirement from a made up example.
by chulett
Sat Dec 12, 2015 8:54 am
Forum: General
Topic: UNIX Code Reading into a Transformer?
Replies: 10
Views: 2648

You don't put parameters "within the stages themselves", all you need to do is add Job Parameter(s) to the job itself and then they will show up in the Job Activity stage that runs that job. Then any upstream stage can supply values to them. Best to click on the ellipsis (...) in the param...
by chulett
Fri Dec 11, 2015 1:47 pm
Forum: General
Topic: UNIX Code Reading into a Transformer?
Replies: 10
Views: 2648

As noted elsewhere, you need a Job Parameter to hold it to pass it into the job, then you can reference the #ParameterName# in a derivation. And the Sequence can easily pass the value from the Execute Command stage as input to that parameter in the Job Activity stage. #2 is just a trigger expression...
by chulett
Fri Dec 11, 2015 11:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Add Value from File
Replies: 9
Views: 4199

Create a job parameter to hold it and populate it using the file, then add the column in a transformer and reference the job parameter as the derivation.
by chulett
Fri Dec 11, 2015 10:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Get Date from a String
Replies: 4
Views: 1897

harikhk wrote:In case you need the output in the format you mentioned, your code would suffice.
No, not really. There's no "output format" in their posted code. You are correct about the date target part, however.