Search found 42189 matches

by chulett
Mon Nov 25, 2013 8:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: TimeStamp with Microsecond
Replies: 6
Views: 2788

Request you to plz help.. I'm curious what you think was going on here? Helping. And on a Sunday for me no less. :? I'm assuming you're already getting the string into a Timestamp. There are various functions you can look into to help here: MicroSecondsFromTime to get the part you need to test. Tim...
by chulett
Sun Nov 24, 2013 3:48 pm
Forum: General
Topic: Extract of log file using DSGetLogEntry not working
Replies: 31
Views: 7284

Tell me about it, we've tried... all four of us on this project came from a DataStage background and have worked together off and on around town on DS projects, funny we all ended up here doing Informatica. "Do you know any good ETL developers?" "Why yes, yes I do. <cough>" :wink...
by chulett
Sun Nov 24, 2013 3:22 pm
Forum: General
Topic: Check status of a file then run sequence
Replies: 6
Views: 1459

Or just use the -s approach. :wink:
by chulett
Sun Nov 24, 2013 11:58 am
Forum: General
Topic: Change the IP address & Host Name?
Replies: 2
Views: 2297

Split your question out to its own post rather than in the 5 year old 7.5 era post that you picked as lots of things have changed since those days. We really need to know your version of DataStage and the O/S it is installed on to be able to help... and the topology , what components you have instal...
by chulett
Sun Nov 24, 2013 9:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: TimeStamp with Microsecond
Replies: 6
Views: 2788

What are your source and target? What are the actual data types involved? Mostly wondering if these are actually Timestamps or strings or some mixture of the two. I'd also be curious if you tried anything and what issues you've seen attempting to fulfill this requirement.
by chulett
Sat Nov 23, 2013 6:44 pm
Forum: General
Topic: Check status of a file then run sequence
Replies: 6
Views: 1459

Show us what you tried.
by chulett
Sat Nov 23, 2013 4:53 pm
Forum: General
Topic: Check status of a file then run sequence
Replies: 6
Views: 1459

Why not simplify things and use the -s test option directly? True if file is non-empty, false if zero bytes. No need for head -1 or other extra steps.
by chulett
Sat Nov 23, 2013 9:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to do a change capture for a Slowly Changing Dimension
Replies: 12
Views: 2702

ray.wurlod wrote:In earlier versions you have to do all the coding yourself
It's not really all that hard. You dang kids with your fancy smancy SCD stage, get off my lawn! :P
by chulett
Sat Nov 23, 2013 8:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sub-string syntax for date generation
Replies: 3
Views: 1103

All of your substring lengths should be 2 based on your requirement:

mm=[6,2]
dd=[9,2]
yy=[3,2]
by chulett
Fri Nov 22, 2013 10:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sub-string syntax for date generation
Replies: 3
Views: 1103

You seem to think that substring syntax is [start,end] when in fact it is [start,length]. Correcting that should help. :wink:
by chulett
Fri Nov 22, 2013 3:01 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Testing for empty file condition in Server Job
Replies: 16
Views: 7449

On Windows? Hmm... UNIX would be trivial but it's harder in a batch file. Try googling for something like "DOS test file size" and code samples should turn up. As Ray noted, all you'd have to do is pass back a non-zero exit code from the batch in that case for the job to notice and abort.
by chulett
Fri Nov 22, 2013 2:54 pm
Forum: General
Topic: Extract of log file using DSGetLogEntry not working
Replies: 31
Views: 7284

Moved over to the Dark Side... doing Informatica for the DoD now. :wink:
by chulett
Fri Nov 22, 2013 9:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Testing for empty file condition in Server Job
Replies: 16
Views: 7449

Why can't it test the size of the file after it 'extracts' it?
by chulett
Fri Nov 22, 2013 9:10 am
Forum: General
Topic: Extract of log file using DSGetLogEntry not working
Replies: 31
Views: 7284

Added that to your example code, Mark. Thanks for the assist, in my fourth year of living DataStage-less so no ability to test a darn thing.
by chulett
Fri Nov 22, 2013 8:24 am
Forum: General
Topic: Passing parameter with spaces to Execute Command Stage
Replies: 12
Views: 5023

We really need to get past "doesn't work" to what the actual problem is and where it is happening. As noted, let's start with showing us what actually gets logged when the job starts as all parameters in play are logged in one of the first messages. After that, if it looks ok, would be to ...